hi there, just wanted to get some feedback for this tiny patch and if people think it makes sense.
cheers. alex -- a13x
Index: sys/sys/signal.h =================================================================== --- sys/sys/signal.h (revision 211114) +++ sys/sys/signal.h (working copy) @@ -47,6 +47,14 @@ /* * System defined signals. + * + * Unlike previous signal facilities, the handler will not be reset when caught + * and remains installed after a signal has been delivered. + * + * With the exception of the SIGKILL and SIGSTOP signals, all other signals can + * be caught, be ignored, or generate an interrupt. Any attempt to ignore or + * supply a handler for SIGKILL or SIGSTOP will fail with error EINVAL and no + * action will take place. */ #if __POSIX_VISIBLE || __XSI_VISIBLE #define SIGHUP 1 /* hangup */ @@ -55,9 +63,9 @@ #if __POSIX_VISIBLE || __XSI_VISIBLE #define SIGQUIT 3 /* quit */ #endif -#define SIGILL 4 /* illegal instr. (not reset when caught) */ +#define SIGILL 4 /* illegal instruction */ #if __XSI_VISIBLE -#define SIGTRAP 5 /* trace trap (not reset when caught) */ +#define SIGTRAP 5 /* trace trap */ #endif #define SIGABRT 6 /* abort() */ #if __BSD_VISIBLE @@ -66,7 +74,7 @@ #endif #define SIGFPE 8 /* floating point exception */ #if __POSIX_VISIBLE || __XSI_VISIBLE -#define SIGKILL 9 /* kill (cannot be caught or ignored) */ +#define SIGKILL 9 /* kill */ #endif #if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE #define SIGBUS 10 /* bus error */
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

