freebsd-skq/sys
Peter Wemm 8a5d815aa0 Make setgroups(0, xxx) behave as it does on SYSV, namely clear the groups
vector except for the egid in groups[0].  There is a risk that programs
that come from SYSV/Linux that expect this to work and don't check for
error returns may accidently pass root's groups on to child processes.

We now do what is least suprising (to non BSD programs/programmers) in
this scenario, and nothing is changed for programs written with BSD groups
rules in mind.

Reviewed by: ache
1997-03-31 13:21:37 +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 Make setgroups(0, xxx) behave as it does on SYSV, namely clear the groups 1997-03-31 13:21:37 +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