NetBSD/sys/kern
sommerfeld c3ddfa524d Fix bug observed by Perry and myself: when emacs was shut down
uncleanly due to a lost connection, it would hang in closef() waiting
for the usecount to go back to 1.

An audit of FILE_USE() vs FILE_UNUSE() usage led me to discover some
incorrect error-path code..

In sys_fcntl(), avoid leaking a file descriptor usecount in an error
case of F_SETFL; don't return, instead go to "out" to clean up.  I
suspect that the F_SETFL would fail because vop_fcntl is not
implemented in deadfs.
1999-12-08 18:53:56 +00:00
..
exec_aout.c
exec_conf.c Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
exec_ecoff.c
exec_elf32.c Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
exec_elf64.c
exec_elf_common.c
exec_script.c
exec_subr.c Handle misalignment in vmcmd_map_readvn and vmcmd_map_zero correctly. 1999-07-07 20:23:45 +00:00
genassym.awk
genassym.sh
init_main.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
init_sysent.c Regen. 1999-08-25 05:06:31 +00:00
kern_acct.c
kern_allocsys.c Revert order of formula to calculate the number of buffer pages if the 1999-12-05 17:12:43 +00:00
kern_clock.c If using kernel PLL (for NTP), initialize "fixtick" to a reasonable 1999-09-06 20:44:02 +00:00
kern_descrip.c Fix bug observed by Perry and myself: when emacs was shut down 1999-12-08 18:53:56 +00:00
kern_exec.c Call the machine dependent code to do d-cache/i-cache synchronization, for 1999-11-21 17:04:05 +00:00
kern_exit.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_fork.c Add a read/write lock to the proclists and PID hash table. Use the 1999-07-22 21:08:30 +00:00
kern_kthread.c Make the kthread API a bit more friendly to loadable kernel modules. 1999-07-06 21:44:09 +00:00
kern_ktrace.c don't log an error for ktrace if it's EPIPE - an error that should be 1999-07-25 13:59:08 +00:00
kern_lkm.c LMREADY: kill the DEBUG message "LKM: try ready" 1999-09-03 17:07:52 +00:00
kern_lock.c Make it possible to direct LOCKDEBUG messages to syslog only. 1999-08-27 01:14:38 +00:00
kern_malloc.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
kern_ntptime.c
kern_physio.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
kern_proc.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_prot.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_resource.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_sig.c Remplace kern.shortcorename sysctl with a more flexible sheme, 1999-09-28 14:47:00 +00:00
kern_subr.c Add powerhooks, i.e., the ability to register a function that will be 1999-06-26 08:25:25 +00:00
kern_synch.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
kern_sysctl.c - strings handled by the common functions sysctl_string() and sysctl_rdstring() 1999-11-17 23:24:54 +00:00
kern_time.c If time delta is larger than thresh. Use 10* adj factor. Make this 1999-10-10 18:41:53 +00:00
kern_xxx.c
kgdb_stub.c
Make.tags.inc
Makefile
makesyscalls.sh Clean up some whitespace issues in the generated syscallargs.h file. 1999-08-20 19:07:31 +00:00
subr_autoconf.c First step toward network boot. 1999-09-23 15:14:57 +00:00
subr_disk.c
subr_extent.c Detect if kmem is up, and if not, ignore EX_MALLOCOK. 1999-10-11 22:57:17 +00:00
subr_log.c
subr_pool.c In _pool_put(), panic if we're put'ing with nout == 0. This will help us 1999-08-29 00:26:01 +00:00
subr_prf.c Implement vlog() (varargs version of log()). 1999-08-27 01:14:15 +00:00
subr_prof.c
subr_rmap.c
subr_xxx.c
sys_generic.c
sys_process.c
sys_socket.c Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl 1999-08-03 20:19:16 +00:00
syscalls.c Regen. 1999-08-25 05:06:31 +00:00
syscalls.conf Add COMPAT_14. 1999-08-25 04:55:53 +00:00
syscalls.master Overhaul of the SVID IPC facilities, primarily to use the types specified 1999-08-25 05:05:48 +00:00
sysv_ipc.c
sysv_msg.c Overhaul of the SVID IPC facilities, primarily to use the types specified 1999-08-25 05:05:48 +00:00
sysv_sem.c Overhaul of the SVID IPC facilities, primarily to use the types specified 1999-08-25 05:05:48 +00:00
sysv_shm.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
tty_conf.c
tty_pty.c
tty_subr.c
tty_tb.c
tty_tty.c
tty.c Fix NULL pointer access. Patch supplied by Dave Huang in PR kern/8055. 1999-07-24 15:10:02 +00:00
uipc_domain.c Implement arp_drain(), which frees packets tied up in the arp cache if 1999-08-05 04:04:28 +00:00
uipc_mbuf2.c bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch 1999-11-30 13:34:47 +00:00
uipc_mbuf.c add mbuf deep-copy fnudtion, m_dup(). 1999-10-27 14:23:26 +00:00
uipc_proto.c add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
uipc_socket2.c The old compaction test had an off-by-one error that caused it to not compact 1999-08-04 22:33:20 +00:00
uipc_socket.c In sosend(), if so_error is set, clear it before returning the error to 1999-06-08 02:39:57 +00:00
uipc_syscalls.c Fix recent bug in sys_accept(): we must remove the file descriptor from the 1999-11-05 11:48:57 +00:00
uipc_usrreq.c Um, hi, let's initialize pointers before we use them. 1999-06-17 23:17:45 +00:00
vfs_bio.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
vfs_cache.c Obey negative cache entries for intermediate directories during a create. 1999-09-10 23:24:23 +00:00
vfs_cluster.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
vfs_getcwd.c Fix kern/7944: getcwd permission checking was overly restrictive. 1999-07-11 09:27:23 +00:00
vfs_init.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
vfs_lockf.c
vfs_lookup.c Modify how lookup walks up mount points. As suggested by Konrad 1999-08-03 18:17:24 +00:00
vfs_subr.c Be more careful to block bio interrupts for some data structures. There 1999-11-23 23:52:40 +00:00
vfs_syscalls.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
vfs_vnops.c Add a new flag, used by vn_open() which prevent symlinks from being followed 1999-08-31 12:30:35 +00:00
vnode_if.c Regen. 1999-12-07 23:58:27 +00:00
vnode_if.sh Update syntax to support WILLUNLOCK and WILLPUT syntax. Change calls which 1999-07-07 23:32:50 +00:00
vnode_if.src Remove duplicate vop_balloc definition accidentally added in rev 1.21. 1999-12-07 23:57:49 +00:00