freebsd-skq/sys/kern
David Greenman e47bda0730 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>
1997-02-19 03:51:34 +00:00
..
imgact_aout.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
imgact_elf.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
imgact_gzip.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
imgact_shell.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
inflate.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
init_main.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
init_sysent.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
init_sysvec.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_acct.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_clock.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_conf.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_descrip.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_exec.c Fix from PR #2757: 1997-02-19 03:51:34 +00:00
kern_exit.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_fork.c Pass P_SUGID on to the child of a fork(). It was possible to get rlogin 1997-02-17 10:58:46 +00:00
kern_ktrace.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_lkm.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_lockf.c Added some ufs #includes so that this compiles with option LOCKF_DEBUG. 1997-02-18 14:37:26 +00:00
kern_malloc.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_mib.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_ntptime.c Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
kern_opt.c Fix spelling of net.inet.ip.forwarding. 1997-02-10 19:19:16 +00:00
kern_physio.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_proc.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_prot.c Fix off by one error in setlogin() syscall. 1997-02-10 06:18:20 +00:00
kern_random.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_resource.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_shutdown.c Reduced #include spam in <sys/sysproto.h> and fixed things that depended 1997-01-16 15:58:32 +00:00
kern_sig.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_subr.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_synch.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_sysctl.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
kern_tc.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_time.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_timeout.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
kern_xxx.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
Make.tags.inc Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
Makefile Remove bogus architectures to allow make tags to work. 1996-03-31 18:53:43 +00:00
makesyscalls.sh Reduced #include spam in <sys/sysproto.h> and fixed things that depended 1997-01-16 15:58:32 +00:00
md5c.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_autoconf.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_clist.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_disklabel.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_diskmbr.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_diskslice.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
subr_dkbad.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_log.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_param.c Removed option EXTRAVNODES. All versions of FreeBSD-2.x have a sysctl 1997-01-16 13:16:10 +00:00
subr_prf.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_prof.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_rlist.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
subr_trap.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
subr_xxx.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
sys_generic.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
sys_pipe.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
sys_process.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
sys_socket.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
syscalls.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
syscalls.master This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
sysv_ipc.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
sysv_msg.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
sysv_sem.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
sysv_shm.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
tty_compat.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
tty_conf.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
tty_cons.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
tty_pty.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
tty_snoop.c Switched from using devfs_add_devsw() to devfs_add_devswf() 1996-03-28 14:31:42 +00:00
tty_subr.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
tty_tb.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
tty_tty.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
tty.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
uipc_domain.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
uipc_mbuf.c uipc_mbuf.c: do a better job of counting how often we have to wait 1997-02-18 20:43:07 +00:00
uipc_proto.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
uipc_sockbuf.c uipc_mbuf.c: do a better job of counting how often we have to wait 1997-02-18 20:43:07 +00:00
uipc_socket2.c uipc_mbuf.c: do a better job of counting how often we have to wait 1997-02-18 20:43:07 +00:00
uipc_socket.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
uipc_syscalls.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
uipc_usrreq.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vfs_bio.c Removed redundant spl0()'s from kernel processes. They were work-arounds 1997-01-15 19:05:08 +00:00
vfs_cache.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vfs_cluster.c Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
vfs_conf.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vfs_export.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vfs_extattr.c Don't depend on FIFO being defined to enable mkfifo. 1997-02-12 16:55:32 +00:00
vfs_init.c Changed #ifdef COMPAT_PRELITE2' to #ifndef NO_COMPAT_PRELITE2' so that 1997-02-18 04:58:11 +00:00
vfs_lookup.c Fixed namei caching for LOOKUPs. It was broken for lstat() and olstat(). 1997-02-18 06:46:41 +00:00
vfs_mount.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vfs_subr.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vfs_syscalls.c Don't depend on FIFO being defined to enable mkfifo. 1997-02-12 16:55:32 +00:00
vfs_vnops.c This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00
vnode_if.pl Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
vnode_if.sh Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
vnode_if.src This is the kernel Lite/2 commit. There are some requisite userland 1997-02-10 02:22:35 +00:00