> fcntl(0,F_SETOWN,p); > s = fcntl(0,F_GETFL,0); > fcntl(0,F_SETFL,s|O_ASYNC); > printf("Sending SIGIO - press enter.\n"); > getchar(); > fcntl(0,F_SETFL,s&~O_ASYNC); > printf("SIGIO send attempted.\n"); > return 0; > } Well, that looks like one of the class of security problems described by www.openbsd.org/advisories/signals. Hasn't anyone else fixed those problems yet?
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:01:18 PDT