NetBSD/sys/kern
wrstuden 716d3ae08f In vcount(), when getting rid of unused aliases, don't vgone one which
has VXLOCK set - it's already being vgoned, most likely by one of our
callers. If we call vgone, we can end up sleeping against ourself
with VXLOCK set - we'll start the race for root.

Pointed out by Love <lha@stacken.kth.se> on tech-kern. Analysis from
Artur Grabowski <art@openbsd.org> via Love.

Should resolve PR kern/13077
2001-06-26 15:51:06 +00:00
..
cnmagic.c
exec_aout.c
exec_conf.c Do not include the ELF 'catch all' entry in execsw[] by default, which 2001-06-19 17:58:41 +00:00
exec_ecoff.c
exec_elf32.c In the check_header() function, bump the number of allowed section headers 2001-05-07 17:09:13 +00:00
exec_elf64.c
exec_elf_common.c
exec_script.c In check_exec(), don't bother checking P_TRACED along with 2001-06-15 17:24:19 +00:00
exec_subr.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
genassym.awk
genassym.sh when executing args in the ccode=0 case, send output to a tmp file and 2001-03-06 02:20:18 +00:00
genlintstub.awk Add a /* LINTSTUB: include <foo.h> */ mechanism. 2001-05-16 04:17:04 +00:00
init_main.c Add port of high performance pipe implementation written by John S. Dyson 2001-06-16 12:00:02 +00:00
init_sysent.c regen for whitespace cleanup 2001-05-24 06:44:30 +00:00
kern_acct.c
kern_allocsys.c Really only need uvm_extern.h. From Chuck Cranor. 2001-06-25 22:08:52 +00:00
kern_clock.c Declare schedhz. 2001-05-06 13:46:34 +00:00
kern_descrip.c Add DTYPE_PIPE (to be used by new pipe implementation) and handle 2001-06-16 08:28:39 +00:00
kern_exec.c Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
kern_exit.c Avoid spinning forever when hardclock() wants to grab the kernel lock 2001-03-05 20:38:21 +00:00
kern_fork.c minor KNF 2001-02-26 21:09:57 +00:00
kern_kthread.c
kern_ktrace.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
kern_lkm.c add a DEBUG for why the lkm entry point failed. 2001-06-05 12:36:08 +00:00
kern_lock.c Add a simple_lock_only_held() LOCKDEBUG routine, which allows code 2001-06-05 04:38:08 +00:00
kern_malloc.c Assert that no locks are held if we're called with M_WAITOK. 2001-06-05 04:39:02 +00:00
kern_ntptime.c
kern_physio.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
kern_proc.c When freeing a session, remove the reference to it from the associated tty. 2001-02-04 22:32:24 +00:00
kern_prot.c Remove an splimp() that really has no purpose in life. 2001-04-12 03:08:42 +00:00
kern_resource.c Move maxdmap and maxsmap where they belong and make them big enough. 2001-02-06 19:54:43 +00:00
kern_sig.c The trace_req() function is a no-op; garbage collect it. 2001-06-13 16:06:27 +00:00
kern_subr.c Make "reboot" an option at the root device/filesystem prompt (we 2001-05-27 01:29:50 +00:00
kern_synch.c don't define bpendtsleep in profiling kernels since it confuses gprof. 2001-05-28 22:20:03 +00:00
kern_sysctl.c Move prototype of sysctl_dopipe() from <sys/sysctl.h> to <sys/pipe.h> 2001-06-21 19:08:36 +00:00
kern_time.c Lower interrupt priortiy properly if setting the setting the kernel time 2001-06-11 07:07:12 +00:00
kern_xxx.c
kgdb_stub.c
Make.tags.inc use ${.CURDIR:H:H} instead of ../.. for default setting of SYSDIR, 2001-04-18 11:21:24 +00:00
Makefile SYSDIR should be relative here, too. 2001-04-05 19:49:40 +00:00
makesyscalls.sh use _KERNEL_OPT not _KERNEL&&|_LKM 2001-05-30 11:27:46 +00:00
subr_autoconf.c Statically-initialize `allevents' so that events can be registered 2001-05-28 16:40:31 +00:00
subr_disk.c
subr_extent.c Assert that no locks are held if we're called with EX_WAITSPACE. 2001-06-05 04:39:56 +00:00
subr_log.c
subr_pool.c Do the reentrancy checking if POOL_DIAGNOSTIC, not DIAGNOSTIC. Prevents 2001-06-05 18:51:03 +00:00
subr_prf.c add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
subr_prof.c Before allowing kgmon to do anything, check that we managed to allocate the 2001-04-28 12:56:00 +00:00
subr_rmap.c
subr_xxx.c
sys_generic.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
sys_pipe.c Don't include opt_new_pipe.h, it's not needed here 2001-06-21 18:59:51 +00:00
sys_process.c The trace_req() function is a no-op; garbage collect it. 2001-06-13 16:06:27 +00:00
sys_socket.c Use SB_ASYNC in struct sockbuf sb_flags field instead of SS_ASYNC in 2001-06-16 21:29:32 +00:00
syscalls.c regen. 2001-05-30 11:48:07 +00:00
syscalls.conf
syscalls.master Slight indentation nit. 2001-04-10 11:03:56 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
tty_conf.c Removed an incorrect use of __CONCAT when formatting panic messages. 2001-05-24 10:33:08 +00:00
tty_pty.c Add l_poll' to struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
tty_subr.c
tty_tb.c Remove unnecessary test of tp->t_linesw against NULL; they are results 2001-03-31 00:35:21 +00:00
tty_tty.c
tty.c Add l_poll' to struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
uipc_domain.c add pfctlinput2() (pfctlinput() with args). 2001-02-11 06:38:45 +00:00
uipc_mbuf2.c make sure we do not return shared M_EXT mbuf. it will avoid possible mbuf 2001-02-14 17:09:19 +00:00
uipc_mbuf.c
uipc_proto.c
uipc_socket2.c Use SB_ASYNC in struct sockbuf sb_flags field instead of SS_ASYNC in 2001-06-16 21:29:32 +00:00
uipc_socket.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
uipc_syscalls.c Back off the sendit()/recvit() change, some have problems with it 2001-06-25 20:46:11 +00:00
uipc_usrreq.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vfs_bio.c in bwrite(), when deciding whether to convert sync writes into delayed writes, 2001-04-01 16:16:56 +00:00
vfs_cache.c Depending on the NAMECACHE_ENTER_REVERSE option, always enter reverse 2001-03-29 22:39:23 +00:00
vfs_cluster.c
vfs_getcwd.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c
vfs_subr.c In vcount(), when getting rid of unused aliases, don't vgone one which 2001-06-26 15:51:06 +00:00
vfs_syscalls.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vfs_vnops.c Change the first arg to fileops fo_stat routine to struct file *, adjust 2001-04-09 10:22:00 +00:00
vnode_if.c regen. 2001-05-26 21:34:04 +00:00
vnode_if.sh delint: vop_default_desc was declared const but not defined const. 2001-05-07 08:46:02 +00:00
vnode_if.src replace vm_page_t with struct vm_page *. 2001-05-26 21:33:11 +00:00