NetBSD/sys/kern
christos 23c15f1578 Don't set P_SUGID if the calls to set{e,}{u,g}id(), setreuid(),
setgroups() did not result in actual changes. This has the nice
side effect that we don't needlesly allocate new credential and
resource limit data structures.

This is so that non setuid programs that call seteuid(getuid()),
don't end up setting P_SUGID, resulting in broken behavior [i.e.
non setuid ssh, doesn't read ~/.hostaliases...].

This is a good candidate for a pullup, if someone reviews it.
2000-10-17 20:53:45 +00:00
..
Make.tags.inc
Makefile Use 2000-08-30 23:51:46 +00:00
exec_aout.c ANSI'ify. 2000-08-01 04:57:28 +00:00
exec_conf.c PE/COFF (Win32) compatible binary support (experimental). 2000-06-09 22:38:56 +00:00
exec_ecoff.c ANSI'ify. 2000-08-01 04:57:28 +00:00
exec_elf32.c ANSI'ify. 2000-08-01 04:57:28 +00:00
exec_elf64.c
exec_elf_common.c Add support for variable end of user stacks needed to support COMPAT_NETBSD32: 2000-09-28 19:05:06 +00:00
exec_script.c Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
exec_subr.c Add an align argument to uvm_map() and some callers of that 2000-09-13 15:00:15 +00:00
genassym.awk
genassym.sh
init_main.c Add an align argument to uvm_map() and some callers of that 2000-09-13 15:00:15 +00:00
init_sysent.c update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
kern_acct.c Don't reset file size limit to infinity on exit. Instead, temporarily 2000-05-08 19:06:36 +00:00
kern_allocsys.c Include "uvm/uvm_param.h" to get definition of "VM_MAX_KERNEL_BUF" as 2000-07-23 10:41:35 +00:00
kern_clock.c On second thought.. pass cpu_info * to roundrobin() explicitly. 2000-08-26 04:01:16 +00:00
kern_descrip.c Fix omission in previous. 2000-08-15 17:54:59 +00:00
kern_exec.c Add support for variable end of user stacks needed to support COMPAT_NETBSD32: 2000-09-28 19:05:06 +00:00
kern_exit.c Define the MI parts of the "big kernel lock" perimeter. From 2000-08-22 17:28:28 +00:00
kern_fork.c Lock scheduler before putting new proc on run queues. 2000-09-06 14:06:42 +00:00
kern_kthread.c ANSI'ify. 2000-07-14 07:14:33 +00:00
kern_ktrace.c ANSI'ify. 2000-08-01 04:57:28 +00:00
kern_lkm.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
kern_lock.c Fix !LOCKDEBUG && !DIAGNOSTIC case 2000-08-28 21:07:52 +00:00
kern_malloc.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
kern_ntptime.c Second phase of changes to remove ntp_adjtime(2) from the kernel entirely if 2000-08-07 18:10:20 +00:00
kern_physio.c (*minphys)() musn't return zero. 2000-09-29 13:27:12 +00:00
kern_proc.c If maniuplating a read lock on the proc list, we no longer need 2000-08-17 14:37:54 +00:00
kern_prot.c Don't set P_SUGID if the calls to set{e,}{u,g}id(), setreuid(), 2000-10-17 20:53:45 +00:00
kern_resource.c Add a lock around the scheduler, and use it as necessary, including 2000-08-20 21:50:06 +00:00
kern_sig.c Pathname of length 1023 (MAXPATHLEN - 1) should be valid as corename. 2000-09-23 00:48:29 +00:00
kern_subr.c Run power hooks in reverse installation order when powering down and 2000-07-26 12:24:52 +00:00
kern_synch.c Stop runnable but swapped out user processes also in suspendsched(). 2000-09-23 01:00:35 +00:00
kern_sysctl.c PHOLD/PRELE around uvm_io() to user address space is unnecessary. There 2000-09-26 23:59:23 +00:00
kern_time.c Extend NFS_V2_ONLY to remove NQNFS lease support as well. Saves another 10k. 2000-09-19 23:26:25 +00:00
kern_xxx.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
kgdb_stub.c Same change in the kgdb code as was done in ddb: 2000-07-18 21:49:08 +00:00
makesyscalls.sh tweak white space around generated NetBSD rcs ids 2000-08-18 19:33:30 +00:00
subr_autoconf.c Format paranoia 2000-07-08 18:11:02 +00:00
subr_disk.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_extent.c Define ltsleep() in the case of _EXTENT_TESTING so regressions testing 2000-08-12 23:56:50 +00:00
subr_log.c brain-oh in last. test logsoftc.sc_pgid, not p. 2000-05-28 18:31:13 +00:00
subr_pool.c Use ltsleep instead of simple_unlock/tsleep/simple_lock 2000-08-12 16:28:30 +00:00
subr_prf.c Strip %b and DDB formats out of kprintf, as they are no longer supported. 2000-08-09 10:22:31 +00:00
subr_prof.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
subr_rmap.c
subr_xxx.c
sys_generic.c splsched() is appropriate for select()/poll(). 2000-08-21 06:27:59 +00:00
sys_process.c Prevent ptrace on system processes. Avoids panic when attempting to ptrace pid 0, which has no parent. 2000-09-24 07:31:28 +00:00
sys_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
syscalls.c update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
syscalls.conf
syscalls.master Changes to syscalls.master to exclude ntp_adjtime(2) entirely if NTP is not 2000-08-07 17:59:33 +00:00
sysv_ipc.c
sysv_msg.c Delete a couple of <uvm/uvm_extern.h> includes that were for 2000-07-22 16:11:02 +00:00
sysv_sem.c Delete a couple of <uvm/uvm_extern.h> includes that were for 2000-07-22 16:11:02 +00:00
sysv_shm.c Add an align argument to uvm_map() and some callers of that 2000-09-13 15:00:15 +00:00
tty.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
tty_conf.c Fix unbalanced #endif. 2000-09-22 01:37:27 +00:00
tty_pty.c make compile #if LOCKDEBUG is on. 2000-09-11 13:51:29 +00:00
tty_subr.c MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-02 20:53:07 +00:00
tty_tb.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_tty.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_domain.c attach ARP domain only if INET is compiled into the kernel. 2000-10-02 04:27:21 +00:00
uipc_mbuf.c repair m_dup(). specifically, now it is safe against non-MCLBYTES cluster 2000-08-18 16:19:22 +00:00
uipc_mbuf2.c remove m_pulldown statistics code. it is highly experimental and belong 2000-07-13 05:34:21 +00:00
uipc_proto.c
uipc_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_socket2.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_syscalls.c MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-02 20:53:07 +00:00
uipc_usrreq.c Oops, missed a couple of places where CMSG_*() should be used. No 2000-06-05 16:29:45 +00:00
vfs_bio.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
vfs_cache.c change "nextvnodeid" from a global in namei.h to a static in 2000-04-16 21:41:49 +00:00
vfs_cluster.c remove include of <vm/vm.h> 2000-06-27 17:41:07 +00:00
vfs_getcwd.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
vfs_init.c Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
vfs_lockf.c change the lf_advlock() arguments from 2000-07-22 15:26:11 +00:00
vfs_lookup.c Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
vfs_subr.c Adapt for VOP_FSYNC parameter change. 2000-09-19 22:00:01 +00:00
vfs_syscalls.c Factor out common code to manupilate file flags into separate function 2000-09-28 06:43:20 +00:00
vfs_vnops.c Use ltsleep(...,PNORELOCK..) instead of simple_unlock()/tsleep() 2000-08-12 16:43:00 +00:00
vnode_if.c Regen. 2000-09-19 21:58:01 +00:00
vnode_if.sh If building an LKM, always cause it to use the non-inline version 2000-09-13 16:09:27 +00:00
vnode_if.src Add start and end parameters to the fsync VOP, giving a range of the 2000-09-19 21:57:14 +00:00