Re: connect() access bytes after socket address

2013-02-27 Thread Tanaka Akira
so describes similar. "An Advanced 4.4BSD Interprocess Communication Tutorial" http://docs.freebsd.org/44doc/psd/21.ipc/paper.pdf sizeof (addr.sun_len) is added for 4.4BSD but the description about null bytes is not changed. POSIX is different, though. -- Tanaka Akira

connect() access bytes after socket address

2013-02-26 Thread Tanaka Akira
<--119(pid565)->dir_link ( 136<--135(pid565) "AB" 1) = 0 92<--119(pid565)->dir_lookup ("AB" 0 0) = 0 1 ""136<--137(pid565) 92<--119(pid565)->dir_lookup ("ABCD" 0 0) = 0x4002 (No such file or directory) % -- Tanaka Akira