NetBSD/sys/kern
lukem 8a931fcdd8 Ensure that you can only bind a more specific address when it is done by the
same uid or by root.

This code is from FreeBSD. (Whilst it was originally obtained from OpenBSD,
FreeBSD fixed it to work with multicast. To quote the commit message:
    - Don't bother checking for conflicting sockets if we're binding to a
      multicast address.
    - Don't return an error if we're binding to INADDR_ANY, the conflicting
      socket is bound to INADDR_ANY, and the conflicting socket has
      SO_REUSEPORT set.
)
1999-03-23 10:45:37 +00:00
..
exec_aout.c
exec_conf.c Defopt COMPAT_M68K4K. 1999-03-09 21:02:38 +00:00
exec_ecoff.c clean up a comment (in code derived from the a.out code, where i cleaned 1996-09-27 03:38:27 +00:00
exec_elf32.c
exec_elf64.c add support and reorganize for 64-bit ELF, included by EXEC_ELF64 1996-09-26 20:51:03 +00:00
exec_elf_common.c
exec_script.c Modify VOP_CLOSE vnode op to always take a locked vnode. Change vn_close 1999-02-26 23:38:55 +00:00
exec_subr.c Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. 1998-08-04 04:03:10 +00:00
genassym.awk
genassym.sh new command "config" to set type (for c), constraint and printmodifier. 1998-04-25 19:48:27 +00:00
init_main.c This is sort of gratuitous, but... 1999-03-05 07:26:21 +00:00
init_sysent.c Regen files based on changes to syscalls.master, vnode_if.src (latter 1999-03-22 17:13:34 +00:00
kern_acct.c Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. 1998-08-04 04:03:10 +00:00
kern_clock.c schedclk() -> schedclock(), for consistency with hardclock(), statclock(), ... 1999-02-28 18:14:57 +00:00
kern_descrip.c bug fix to fdavail: be consistent about taking per-process descriptor 1999-03-22 17:39:44 +00:00
kern_exec.c Modify VOP_CLOSE vnode op to always take a locked vnode. Change vn_close 1999-02-26 23:38:55 +00:00
kern_exit.c Replace the recent scheduler mods with calls to scheduler_{fork,wait}_hook(), 1999-02-23 02:57:18 +00:00
kern_fork.c Replace the recent scheduler mods with calls to scheduler_{fork,wait}_hook(), 1999-02-23 02:57:18 +00:00
kern_fthread.c whoops! undo GC, these are still used by OLDVM. 1998-02-07 16:23:35 +00:00
kern_kthread.c
kern_ktrace.c
kern_lkm.c Fix format mismatch which only turns up when building with DEBUG 1999-01-15 22:02:59 +00:00
kern_lock.c Recursive locks were previously only available with LK_CANRECURSE. This 1999-02-28 14:09:15 +00:00
kern_malloc.c
kern_ntptime.c
kern_physio.c
kern_proc.c - Add a new proclist, deadproc, which holds dead-but-not-yet-zombie 1998-09-08 23:47:49 +00:00
kern_prot.c
kern_resource.c
kern_sig.c Don't forget to lower the spl in the error case of sigprocmask 1999-02-13 15:25:51 +00:00
kern_subr.c
kern_synch.c schedclk() -> schedclock(), for consistency with hardclock(), statclock(), ... 1999-02-28 18:14:57 +00:00
kern_sysctl.c
kern_time.c Add some braces to make egcs happy (ambiguous else warning). 1998-08-18 06:27:01 +00:00
kern_xxx.c
kgdb_stub.c Fix a few comment tyops, kill an inaccurate comment, and 1998-08-30 20:30:57 +00:00
Make.tags.inc Protect the COMM variable with an '.ifmake tags' to stop the long delay 1999-02-12 19:52:30 +00:00
Makefile
makesyscalls.sh Now that shell has been fixed so that ". filename" does not look at . if . 1999-02-17 18:17:10 +00:00
subr_autoconf.c
subr_disk.c PR kern/7033 (Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>): use 1999-02-22 16:00:01 +00:00
subr_extent.c Fix a thinko in the previous. 1999-02-18 18:52:29 +00:00
subr_log.c Add some braces to make egcs happy (ambiguous else warning). 1998-08-18 06:27:01 +00:00
subr_pool.c Fix the order of arguments to roundup(). 1999-03-23 02:49:03 +00:00
subr_prf.c
subr_prof.c Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. 1998-08-04 04:03:10 +00:00
subr_rmap.c Back out previous. 1998-08-18 18:16:30 +00:00
subr_xxx.c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
sys_generic.c
sys_process.c
sys_socket.c
syscalls.c Regen files based on changes to syscalls.master, vnode_if.src (latter 1999-03-22 17:13:34 +00:00
syscalls.conf Add compat_13. 1997-11-25 19:02:50 +00:00
syscalls.master Change namei cache to record vnode->(parent,name) entries (for directories). 1999-03-22 17:01:55 +00:00
sysv_ipc.c Make copyrights consistent; fix weird/trailing spaces add missing (c) etc. 1998-09-12 17:20:02 +00:00
sysv_msg.c No need to get definition of "SYSV..." from "opt_sysv.h" because they 1998-10-21 22:24:28 +00:00
sysv_sem.c
sysv_shm.c No need to get definition of "SYSV..." from "opt_sysv.h" because they 1998-10-21 22:24:28 +00:00
tty_conf.c
tty_pty.c Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
tty_subr.c Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. 1998-08-04 04:03:10 +00:00
tty_tb.c
tty_tty.c
tty.c
uipc_domain.c
uipc_mbuf.c Set the high water mark on the mbuf cluster pool to NMBCLUSTERS. 1999-03-23 02:51:27 +00:00
uipc_proto.c use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
uipc_socket2.c Ensure that you can only bind a more specific address when it is done by the 1999-03-23 10:45:37 +00:00
uipc_socket.c Ensure that you can only bind a more specific address when it is done by the 1999-03-23 10:45:37 +00:00
uipc_syscalls.c * Due to addition and use of socklen_t, make the socket option and address 1999-02-10 18:02:28 +00:00
uipc_usrreq.c Disallow descriptor-passing of descriptors which are open on 1999-03-22 17:54:38 +00:00
vfs_bio.c
vfs_cache.c Change namei cache to record vnode->(parent,name) entries (for directories). 1999-03-22 17:01:55 +00:00
vfs_cluster.c Rework cluster_rbuild() to use buffers with the file system block size. 1998-11-08 18:18:31 +00:00
vfs_getcwd.c Change namei cache to record vnode->(parent,name) entries (for directories). 1999-03-22 17:01:55 +00:00
vfs_init.c
vfs_lockf.c Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. 1998-08-04 04:03:10 +00:00
vfs_lookup.c
vfs_subr.c vinvalbuf, called from vclean, could cause a locking-against-self 1999-03-22 17:24:19 +00:00
vfs_syscalls.c Regen files based on changes to syscalls.master, vnode_if.src (latter 1999-03-22 17:13:34 +00:00
vfs_vnops.c Modify VOP_CLOSE vnode op to always take a locked vnode. Change vn_close 1999-02-26 23:38:55 +00:00
vnode_if.c Regen files based on changes to syscalls.master, vnode_if.src (latter 1999-03-22 17:13:34 +00:00
vnode_if.sh
vnode_if.src Include some comments with more details on the VOP_LOOKUP locking protocol 1999-03-22 16:57:37 +00:00