From: Urs T. <ur...@is...> - 2004-02-27 13:30:30
|
strace-4.5.x shows incorrect output for a call to exit_group(2) on Linux-2.4/i686. When calling _exit(2) the current glibc-2.3.2 tries to call exit_group(2) and when that fails, the syscall _exit(2). Linux-2.4 does not have exit_group(2) implemented so it returns with ENOSYS. strace-4.5.x however shows # strace-4.5.1 rm execve("/bin/rm", ["rm"], [/* 28 vars */]) = 0 ... write(2, "Try `rm --help\' for more informa"..., 38Try `rm --help' for more information. ) = 38 exit_group(1) = ? # i.e. strace seems not to see that exit_group(2) fails and returns ENOSYS and then _exit(2) is called. urs |