Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 1997 05:36:48 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/kern kern_prot.c
Message-ID:  <199703311336.FAA17766@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       97/03/31 05:36:47

  Modified:    sys/kern  kern_prot.c
  Log:
  Fully implement the clause in Appendix B.4.2.2 from Posix 1003.1
  that allows traditional BSD setuid/setgid behavior.
  
  The only visible difference should be that a non-root setuid program
  (eg: inn's "rnews" program) that is setuid to news, can completely
  "become" uid news. (ie: setuid(geteuid())  This was allowed in
  traditional 4.2/4.3BSD and is now "blessed" by Posix as a special
  case of "appropriate privilige".
  
  Also, be much more careful with the P_SUGID flag so that we can use it
  for issetugid() - only set it if something changed.
  
  Reviewed by: ache
  
  Revision  Changes    Path
  1.28      +132 -31   src/sys/kern/kern_prot.c



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