knu
fa8314227c
Properly copy the P_ALTSTACK flag in struct proc::p_flag to the child
...
process on fork(2).
It is the supposed behavior stated in the manpage of sigaction(2), and
Solaris, NetBSD and FreeBSD 3-STABLE correctly do so.
The previous fix against libc_r/uthread/uthread_fork.c fixed the
problem only for the programs linked with libc_r, so back it out and
fix fork(2) itself to help those not linked with libc_r as well.
PR: kern/26705
Submitted by: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp>
Tested by: knu, GOTOU Yuuzou <gotoyuzo@notwork.org>,
and some other people
Not objected by: hackers
MFC in: 3 days
2001-05-07 18:07:29 +00:00
..
2001-04-04 18:17:28 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-01-24 13:03:38 +00:00
2001-05-07 18:07:29 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:22:24 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-05-01 09:32:34 +00:00
2001-04-10 04:19:21 +00:00
2001-05-04 20:37:07 +00:00
2001-04-10 04:19:21 +00:00
2001-04-03 22:25:39 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-18 12:42:11 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-01-24 13:03:38 +00:00
2001-04-04 18:10:25 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-01-24 13:03:38 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-05-04 20:37:07 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-01-24 13:03:38 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00
2001-04-10 04:19:21 +00:00