Re: Fixed strace [ was Re: ls -l is broken ]
> On Sun, Apr 06, 2008 at 07:09:59PM -0400, John David Anglin wrote:
> > > If you strace it, what syscall returns -EOPNOTSUPP?
> > strace is broken and quits before the relevant syscall. Think I
> > mentioned this before is a different context.
> Fixed & updated strace available at
strace is either broken again or debian didn't pick up your fix. The link
to your updated version is broken.
This happens when tracing sshd during a connection attempt with -f option:
strace -f -p 2390
Process 2390 attached - interrupt to quit
_newselect(7, [3 4], NULL, NULL, NULL
[pid 5627] open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
upeek: ptrace(PTRACE_PEEKUSER,5627,4294967292,0): Input/output error
Process 5627 detached
<... _newselect resumed> ) = 1 (in )
Trying to figure out why sshd sometimes does wierd stuff.
J. David Anglin firstname.lastname@example.org
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)