Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 10/18/2000 06:41:42
Module Name:	syssrc
Committed By:	tv
Date:		Wed Oct 18 03:41:41 UTC 2000

Modified Files:
	syssrc/sys/kern [netbsd-1-5]: kern_prot.c

Log Message:
Pullup 1.59 and 1.60 [christos]:
Don't set P_SUGID if the calls to set{e,}{u,g}id(), setreuid(),
setgroups() did not result in actual changes. This has the nice
side effect that we don't needlesly allocate new credential and
resource limit data structures.

[releng: this is needed for proper operation of issetugid()]


To generate a diff of this commit:
cvs rdiff -r1.58 -r1.58.4.1 syssrc/sys/kern/kern_prot.c

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