NetBSD/sys/arch/sun2/sun2
thorpej 68723a995b * Shuffle some data structures so, and add a flags word to ksiginfo_t.
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.
2003-10-08 00:28:40 +00:00
..
buserr.h Added. 2001-04-06 15:05:55 +00:00
clock.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
control.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
control.h Now get the prototypes from the common sun68k/sun68k/control.h. 2001-06-14 16:36:46 +00:00
db_machdep.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
db_memrw.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
enable.h Added. 2001-04-06 15:05:55 +00:00
fc.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
genassym.cf SA_SIGINFO support for m68k (port specific changes) 2003-09-22 14:26:57 +00:00
idprom.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
leds.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
locore2.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
locore.s make compile 2003-09-21 14:41:33 +00:00
machdep.c Cast through (void *) to appease gcc3. 2003-09-27 20:01:58 +00:00
machdep.h SA_SIGINFO support for m68k (port specific changes) 2003-09-22 14:26:57 +00:00
mbio.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
mbio.h Now define MBIO_SIZE and MBMEM_SIZE in header files, 2001-05-03 03:13:03 +00:00
mbmem.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
mbmem.h Now define MBIO_SIZE and MBMEM_SIZE in header files, 2001-05-03 03:13:03 +00:00
mem.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
obio.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
obmem.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
pmap.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
procfs_machdep.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
promlib.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
sys_machdep.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tod.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tod.h Now use hand-defined macros instead of relying 2001-06-11 21:33:47 +00:00
trap.c * Shuffle some data structures so, and add a flags word to ksiginfo_t. 2003-10-08 00:28:40 +00:00