sigsuspend gets interrupted by ptrace

Michiel Boland michiel at
Sat Jun 30 14:30:47 UTC 2007

Consider this simple program:

#include <unistd.h>

int main(void)
          return 0;

$ ./a.out &
$ truss -p `pgrep a.out`
process exit, rval = 0
[1]   Done                    ./a.out

Surely this must be wrong. The program should have just continued running after 
truss was attached to it.

(PR Filed under kern/114155)


More information about the freebsd-current mailing list