Subject: CVS commit: [netbsd-3] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 10/31/2005 13:25:31
Module Name:	src
Committed By:	tron
Date:		Mon Oct 31 13:25:31 UTC 2005

Modified Files:
	src/sys/kern [netbsd-3]: kern_exec.c

Log Message:
Apply patch (requested by dan in ticket #922):
Don't clear unconditionally P_SUGID when we exec. Clear it only when
the real and effective user and group ids match. From Tavis Ormandy.


To generate a diff of this commit:
cvs rdiff -r1.194.4.10 -r1.194.4.11 src/sys/kern/kern_exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.