Index: kern/kern_sig.c =================================================================== RCS file: /home/dcvs/src/sys/kern/kern_sig.c,v retrieving revision 1.20 diff -r1.20 kern_sig.c 138a139,140 > #define SA_CKPT 0x80 /* checkpoint process */ > 171a174,207 > SA_IGNORE, /* SIGTHR */ > SA_CKPT, /* SIGCKPT */ > SA_KILL|SA_CKPT, /* SIGCKPTEXIT */ > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > SA_IGNORE, > 885a922,936 > /* > * temporary hack to allow checkpoint code to continue to > * be in a module for the moment > */ > typedef void (proc_func) (struct proc *); > static proc_func *ckpt_func = NULL; > proc_func *register_ckpt_func(proc_func *); > > proc_func *register_ckpt_func(proc_func *cf) > { > proc_func *cftmp = ckpt_func; > ckpt_func = cf; > return cftmp; > } > 935a987 > 949a1002,1009 > > if (prop & SA_CKPT && action == SIG_DFL) { > SIGDELSET(p->p_siglist, sig); > if (ckpt_func) > ckpt_func(p); > if (prop & SA_KILL) > SIGADDSET(p->p_siglist, SIGKILL); > } Index: sys/signal.h =================================================================== RCS file: /home/dcvs/src/sys/sys/signal.h,v retrieving revision 1.3 diff -r1.3 signal.h 105a106,110 > #if __BSD_VISIBLE > #define SIGTHR 32 /* Thread interrupt (FreeBSD-5 reserved) */ > #define SIGCKPT 33 /* checkpoint and continue */ > #define SIGCKPTEXIT 34 /* checkpoint and exit */ > #endif 217c222 < #define NSIG 32 /* number of old signals (counting 0) */ --- > #define NSIG 64 /* size of sigptbl */