Subject: CVS commit: [netbsd-2] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 10/31/2005 21:01:45
Module Name: src
Committed By: tron
Date: Mon Oct 31 21:01:45 UTC 2005
src/sys/kern [netbsd-2]: kern_exec.c
Apply patch (requested by dan in ticket #5955):
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 -r18.104.22.168 -r22.214.171.124.2.1 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.