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. |
||
---|---|---|
.. | ||
arm32_machdep.c | ||
atomic.S | ||
bcopy_page.S | ||
bus_dma.c | ||
cpu.c | ||
cpuswitch.S | ||
db_interface.c | ||
db_machdep.c | ||
exception.S | ||
fault.c | ||
fusu.S | ||
genassym.cf | ||
intr.c | ||
irq_dispatch.S | ||
kgdb_machdep.c | ||
locore.S | ||
mem.c | ||
pmap.c | ||
setcpsr.S | ||
setstack.S | ||
spl.S | ||
stubs.c | ||
sys_machdep.c | ||
vm_machdep.c |