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. |
||
---|---|---|
.. | ||
buserr.h | ||
clock.c | ||
control.c | ||
control.h | ||
db_machdep.c | ||
db_memrw.c | ||
enable.h | ||
fc.h | ||
genassym.cf | ||
idprom.c | ||
leds.c | ||
locore2.c | ||
locore.s | ||
machdep.c | ||
machdep.h | ||
mbio.c | ||
mbio.h | ||
mbmem.c | ||
mbmem.h | ||
mem.c | ||
obio.c | ||
obmem.c | ||
pmap.c | ||
procfs_machdep.c | ||
promlib.c | ||
sys_machdep.c | ||
tod.c | ||
tod.h | ||
trap.c |