[sudo-users] 1.7.0rc1 interesting tests

Todd C. Miller Todd.Miller at courtesan.com
Sun Jun 15 08:16:15 EDT 2008


In message <4852812A.3000608 at mayo.edu>
	so spake Patrick Spinler (spinler.patrick):

That doesn't appear to match up with the code path in the child
process prior to running the editor.  Can you send me the entire
trace?

 - todd

> clone(Process 21840 attached (waiting for parent)
> Process 21840 resumed (parent 21839 ready)
> child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0xb7fde718) = 21840
> [pid 21839] waitpid(21840, Process 21839 suspended
> ~ <unfinished ...>
> [pid 21840] getsockname(7, {sa_family=AF_INET, sin_port=htons(34188),
> sin_addr=inet_addr("129.176.174.192")}, [16]) = 0
> [pid 21840] getpeername(7, {sa_family=AF_INET, sin_port=htons(389),
> sin_addr=inet_addr("129.176.112.149")}, [16]) = 0
> [pid 21840] fcntl64(7, F_GETFD)         = 0x1 (flags FD_CLOEXEC)
> [pid 21840] dup(7)                      = 3
> [pid 21840] fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> [pid 21840] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
> [pid 21840] close(7)                    = 0
> [pid 21840] fcntl64(4, F_GETFD)         = 0
> [pid 21840] dup2(4, 7)                  = 7
> [pid 21840] fcntl64(7, F_SETFD, 0)      = 0
> [pid 21840] close(4)                    = 0
> [pid 21840] write(7, "\25\3\1\0
> \f\341\276\276<\253C]\301\376\356x\227\253ef/\300Dl\27^\364`\2338\247"...,
> 37) = -1 EPIPE (Broken pipe)
> [pid 21840] --- SIGPIPE (Broken pipe) @ 0 (0) ---
> Process 21839 resumed
> Process 21840 detached
> <... waitpid resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE}],
> WSTOPPED) = 21840
> - --- SIGCHLD (Child exited) @ 0 (0) ---



More information about the sudo-users mailing list