Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 1997 19:51:36 -0800 (PST)
From:      David Greenman <davidg>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/kern kern_exec.c
Message-ID:  <199702190351.TAA28693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidg      97/02/18 19:51:35

  Modified:    sys/kern  kern_exec.c
  Log:
  Fix from PR #2757:
  
  execve() clears the P_SUGID process flag in execve() if the binary
  executed does not have suid or sgid permission bits set.
  
  This also happens when the effective uid is different from the real
  uid or the effective gid is different from the real gid. Under
  these circumstances, the process still has set id privileges and
  the P_SUGID flag should not be cleared.
  
  Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
  
  Revision  Changes    Path
  1.51      +3 -1      src/sys/kern/kern_exec.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702190351.TAA28693>