Date: Mon, 7 May 2001 11:07:29 -0700 (PDT) From: Akinori MUSHA <knu@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_fork.c src/sys/kern kern_fork.c kern_sig.c Message-ID: <200105071807.f47I7TB61684@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
knu 2001/05/07 11:07:29 PDT Modified files: lib/libc_r/uthread uthread_fork.c sys/kern kern_fork.c kern_sig.c Log: 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 Revision Changes Path 1.25 +2 -12 src/lib/libc_r/uthread/uthread_fork.c 1.111 +2 -2 src/sys/kern/kern_fork.c 1.118 +2 -1 src/sys/kern/kern_sig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105071807.f47I7TB61684>