freebsd-dev/sys/pc98
Marcel Moolenaar d034d459da Don't use p->p_sigstk.ss_flags to keep state of whether the
process is on the alternate stack or not. For compatibility
with sigstack(2) state is being updated if such is needed.

We now determine whether the process is on the alternate
stack by looking at its stack pointer. This allows a process
to siglongjmp from a signal handler on the alternate stack
to the place of the sigsetjmp on the normal stack. When
maintaining state, this would have invalidated the state
information and causing a subsequent signal to be delivered
on the normal stack instead of the alternate stack.

PR: 22286
2000-11-30 05:23:49 +00:00
..
cbus Make diskerr() always log with printf. 2000-11-26 19:29:15 +00:00
conf Merged from the following changes. 2000-11-05 14:31:19 +00:00
i386 Don't use p->p_sigstk.ss_flags to keep state of whether the 2000-11-30 05:23:49 +00:00
pc98 Don't use p->p_sigstk.ss_flags to keep state of whether the 2000-11-30 05:23:49 +00:00