K 10 svn:author V 5 peter K 8 svn:date V 27 1997-03-31T13:36:46.000000Z K 7 svn:log V 559 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 END