68723a995b
Right now the only flag is used to indicate if a ksiginfo_t is a result of a trap. Add a predicate macro to test for this flag. * Add initialization macros for ksiginfo_t's. * Add accssor macro for ksi_trap. Expands to 0 if the ksiginfo_t was not the result of a trap. This matches the sigcontext trapcode semantics. * In kpsendsig(), use KSI_TRAP_P() to select the lwp that gets the signal. Inspired by Matthias Drochner's fix to kpsendsig(), but correctly handles the case of non-trap-generated signals that have a > 0 si_code. This patch fixes a signal delivery problem with threaded programs noted by Matthias Drochner on tech-kern. As discussed on tech-kern. Reviewed and OK's by Christos. |
||
---|---|---|
.. | ||
dev | ||
openbios | ||
pci | ||
4xx_locore.S | ||
4xx_trap_subr.S | ||
clock.c | ||
copyinstr.c | ||
copyoutstr.c | ||
cpu.c | ||
genassym.cf | ||
ibm4xxgpx_autoconf.c | ||
ibm40x_machdep.c | ||
intr.c | ||
pmap.c | ||
trap_subr.S | ||
trap.c |