From owner-cvs-sys Mon Feb 17 02:58:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA08283 for cvs-sys-outgoing; Mon, 17 Feb 1997 02:58:52 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA08276; Mon, 17 Feb 1997 02:58:49 -0800 (PST) Date: Mon, 17 Feb 1997 02:58:49 -0800 (PST) From: David Greenman Message-Id: <199702171058.CAA08276@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_fork.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/02/17 02:58:48 Modified: sys/kern kern_fork.c Log: Pass P_SUGID on to the child of a fork(). It was possible to get rlogin to coredump previously since it (somewhat uniquely) is setuid and forks without execing, and thus without passing P_SUGID the child could coredump and possibly divulge sensitive information (such as encrypted passwords from the passwd database). Revision Changes Path 1.31 +4 -0 src/sys/kern/kern_fork.c