freebsd-src/sys
Peter Wemm a08f4bf601 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
1997-03-31 13:36:46 +00:00
..
alpha Be consistant with the other syscall makefile's handling of the default 1997-03-29 11:17:26 +00:00
amd64 Changed the way that the exec image header is read to be filesystem- 1997-03-31 11:11:26 +00:00
compat/linux Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
compile
conf Sanitize APM a bit. Convert various #ifdef to id_flags instead. 1997-03-29 11:07:12 +00:00
ddb Added a setjmp() so that an initial pc that points to unmapped memory 1997-03-28 12:39:43 +00:00
dev Interim patch/kludge for keyboard lock-up when `kbdcontrol' tries to 1997-03-28 10:11:24 +00:00
fs Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
geom Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
gnu Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
i386 Changed the way that the exec image header is read to be filesystem- 1997-03-31 11:11:26 +00:00
isa Interim patch/kludge for keyboard lock-up when `kbdcontrol' tries to 1997-03-28 10:11:24 +00:00
isofs/cd9660 Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
kern Fully implement the clause in Appendix B.4.2.2 from Posix 1003.1 1997-03-31 13:36:46 +00:00
libkern Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
miscfs Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
modules Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
msdosfs Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined. 1997-03-23 03:37:54 +00:00
net Don't include <sys/ioctl.h> in the kernel. Stage 6: include 1997-03-24 12:12:36 +00:00
netatalk Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
netinet Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
netipx Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nfs Removed #include of <ufs/ufs/dir.h>. Nfs no longer depends on any ufs 1997-03-29 12:40:20 +00:00
nfsclient Removed #include of <ufs/ufs/dir.h>. Nfs no longer depends on any ufs 1997-03-29 12:40:20 +00:00
nfsserver Removed #include of <ufs/ufs/dir.h>. Nfs no longer depends on any ufs 1997-03-29 12:40:20 +00:00
pc98 Changed the way that the exec image header is read to be filesystem- 1997-03-31 11:11:26 +00:00
pccard Argh, this time get the parentheses right. This hasn't been a good day for me. 1997-02-21 05:46:57 +00:00
pci Don't break the nice symmetry of these messages with undue '>' chars. 1997-03-28 18:40:24 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
scsi Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
sys Regenerate 1997-03-31 12:17:45 +00:00
tools Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ufs Treat symlinks as first class citizens with their own uid/gid rather than 1997-03-31 12:02:53 +00:00
vm Changed the way that the exec image header is read to be filesystem- 1997-03-31 11:11:26 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00