freebsd-dev/sys/compat
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
..
linprocfs Add bogomips to cpuinfo (set it equal to the CPU frequency, which is bogus 2000-11-27 11:10:03 +00:00
linux Use callout_reset instead of timeout(9). Most callouts are statically 2000-11-27 22:52:31 +00:00
netbsd
svr4 Don't use p->p_sigstk.ss_flags to keep state of whether the 2000-11-30 05:23:49 +00:00