freebsd-dev/sys/kern
Don Lewis 2b77864f1e Add a somewhat redundant check on the len arguement to getsockaddr() to
avoid relying on the minimum memory allocation size to avoid problems.
The check is somewhat redundant because the consumers of the returned
structure will check that sa_len is a protocol-specific larger size.

Submitted by:	Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by:	nectar
MFC after:	30 days
2004-01-10 08:28:54 +00:00
..
bus_if.m
clock_if.m
device_if.m
genassym.sh
imgact_aout.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Add an additional field to the elf brandinfo structure to support 2003-12-23 02:42:39 +00:00
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c
init_sysent.c Regen - this should be essentially a NOP, except for rcsid changes. 2003-12-23 03:52:14 +00:00
kern_acct.c
kern_acl.c
kern_alq.c
kern_clock.c Catch a few places where NULL (pointer) was used where 0 (integer) was 2003-12-23 02:36:43 +00:00
kern_condvar.c
kern_conf.c
kern_context.c
kern_descrip.c Plug a leak of open files that happens when you exec a suid program 2003-12-28 19:27:14 +00:00
kern_environment.c
kern_event.c Don't TAILQ_INIT kq_head twice, once is enough. 2003-12-25 23:42:36 +00:00
kern_exec.c Fixed some style bugs (mainly, try to always use explicit comparisons with 2003-12-28 04:37:59 +00:00
kern_exit.c
kern_fork.c Prevent a race condition between fork1() and whatever changes the pgrp by 2004-01-09 23:42:36 +00:00
kern_idle.c
kern_intr.c
kern_jail.c
kern_kse.c Don't use NULL (pointer) when we mean 0 (integer) for the number of ticks 2003-12-23 02:28:42 +00:00
kern_kthread.c
kern_ktr.c
kern_ktrace.c
kern_linker.c
kern_lock.c Add pid to the info printed in lockmgr_printinfo. This makes VFS 2004-01-06 04:34:13 +00:00
kern_lockf.c
kern_mac.c
kern_malloc.c
kern_mib.c
kern_module.c
kern_mtxpool.c
kern_mutex.c - Allow mtx_trylock() to recurse on a recursive mutex. Attempts to recurse 2004-01-05 23:09:51 +00:00
kern_ntptime.c
kern_physio.c
kern_poll.c
kern_proc.c
kern_prot.c
kern_resource.c
kern_sema.c
kern_shutdown.c
kern_sig.c Drop the sigacts mutex around calls to stopevent() to avoid sleeping 2004-01-08 22:44:54 +00:00
kern_subr.c Add __restrict qualifiers to copyinfrom, copyinstrfrom, copystr, copyinstr, 2003-12-26 05:54:35 +00:00
kern_switch.c
kern_sx.c
kern_synch.c
kern_syscalls.c
kern_sysctl.c
kern_tc.c
kern_thr.c
kern_thread.c Don't use NULL (pointer) when we mean 0 (integer) for the number of ticks 2003-12-23 02:28:42 +00:00
kern_time.c
kern_timeout.c
kern_umtx.c
kern_uuid.c
kern_xxx.c
ksched.c
link_elf_obj.c
link_elf.c
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh Remove the namespace column from the syscalls tables. We don't actually 2003-12-23 03:50:43 +00:00
md4c.c
md5c.c
p1003_1b.c
posix4_mib.c
sched_4bsd.c Create a separate kthread that executes sched_cpu() once a second. Because 2003-12-26 17:07:29 +00:00
sched_ule.c - Make our transfer decisions based on load and not transferable load. A 2003-12-20 22:35:20 +00:00
subr_acl_posix1e.c
subr_autoconf.c
subr_blist.c
subr_bus.c
subr_clist.c
subr_clock.c
subr_devstat.c
subr_disk.c
subr_eventhandler.c
subr_hints.c
subr_kobj.c
subr_log.c
subr_mbpool.c
subr_mbuf.c Track current and peak sfbuf usage, export the values via sysctl. 2003-12-27 07:52:47 +00:00
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_power.c Move the kernel power change printf under bootverbose since the 2004-01-02 18:24:13 +00:00
subr_prf.c
subr_prof.c
subr_rman.c
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_smp.c Introduce mp_maxcpus which can be used by libkvm utils to find out 2003-12-23 13:54:16 +00:00
subr_taskqueue.c Various style fixes. 2003-12-17 21:13:04 +00:00
subr_trap.c
subr_turnstile.c
subr_witness.c
sys_generic.c
sys_pipe.c Fix the maxpipekva warning message so that it points to the correct 2003-12-28 01:19:58 +00:00
sys_process.c
sys_socket.c
syscalls.c Regen - this should be essentially a NOP, except for rcsid changes. 2003-12-23 03:52:14 +00:00
syscalls.master Put restrict back in, the compilation failure was my fault when I 2003-12-26 05:58:16 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c Reduce the overhead of semop() by using the kernel stack instead of 2003-12-19 13:07:17 +00:00
sysv_shm.c
tty_compat.c
tty_conf.c
tty_cons.c
tty_pty.c
tty_subr.c
tty_tty.c
tty.c Improve the expressiveness of ttyinfo (^T) when dealing with threads 2004-01-08 22:49:23 +00:00
uipc_accf.c
uipc_cow.c
uipc_domain.c
uipc_jumbo.c
uipc_mbuf2.c m_tag fixups in preparation for heavier use: 2004-01-02 17:27:39 +00:00
uipc_mbuf.c Fix another 0 / NULL mixup. 2003-12-25 01:17:27 +00:00
uipc_proto.c
uipc_sem.c
uipc_sockbuf.c
uipc_socket2.c
uipc_socket.c
uipc_syscalls.c Add a somewhat redundant check on the len arguement to getsockaddr() to 2004-01-10 08:28:54 +00:00
uipc_usrreq.c
vfs_acl.c
vfs_aio.c
vfs_bio.c Remove a variable that has been initialized but otherwise unused since 2003-12-20 19:46:21 +00:00
vfs_cache.c
vfs_cluster.c
vfs_default.c
vfs_export.c
vfs_extattr.c Document that when we are addressing an open()/close() race, the reason 2003-12-24 17:13:01 +00:00
vfs_init.c
vfs_lookup.c
vfs_mount.c
vfs_subr.c More style fixes. 2004-01-05 23:40:46 +00:00
vfs_syscalls.c Document that when we are addressing an open()/close() race, the reason 2003-12-24 17:13:01 +00:00
vfs_vnops.c v_vxproc was a bogus name for a thread (pointer). 2003-12-28 09:12:56 +00:00
vnode_if.src