coredump from linux binaries?

Rahul Siddharthan rsidd at online.fr
Mon Mar 8 23:58:50 PST 2004


When I do a ktrace on a coredumping linux binary as suggested 
by Kip Macy (ktrace /compat/linux/bin/sh), I get

 82769 bash     CALL  ioctl(0xff,0x5410 ,0xbfbff6d4)
 82769 bash     RET   ioctl 0
 82769 bash     CALL  #175(0x2,0xbfbff6f0,0,0x8)
 82769 bash     RET   #175 0
 82769 bash     CALL  symlink(0,0x14351)
 82769 bash     RET   symlink 0
 82769 bash     CALL  openbsd_poll
 82769 bash     PSIG  SIGSYS SIG_DFL
 82769 bash     NAMI  "bash.core"

The same CALL openbsd_poll just before SIGSYS when I ktrace
/compat/linux/bin/ls, etc.  Is that syscall number (252) clashing
with something in linux?  

Hm, looking into sys/syscall.h in linux (which references
asm/unistd.h), #252 is __NR_exit_group

Any ideas?

Rahul





More information about the Kernel mailing list