NetBSD/sys/kern
dyoung 2d89489416 In sysctl_create(), the first character of sysctl_name is
sysctl_name[0], so write that instead of sysctl_name[sz] (where sz
just happened to be set to 0 in the previous line).

Also in sysctl_create(), give the length of the sysctl_name its
own variable, nsz, and reserve sz for expressing the size of the
node's value.

No functional change intended.
2009-08-24 20:53:00 +00:00
..
bufq_disksort.c malloc -> kmem_alloc 2009-01-19 14:54:28 +00:00
bufq_fcfs.c malloc -> kmem_alloc 2009-01-19 14:54:28 +00:00
bufq_priocscan.c malloc -> kmem_alloc 2009-01-19 14:54:28 +00:00
bufq_readprio.c malloc -> kmem_alloc 2009-01-19 14:54:28 +00:00
cnmagic.c
core_elf32.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
core_elf64.c
core_netbsd.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
exec_aout.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
exec_ecoff.c make this compile 2008-11-19 21:29:32 +00:00
exec_elf32.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
exec_elf64.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
exec_elf.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
exec_macho.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
exec_script.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
exec_subr.c - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
genlintstub.awk
init_main.c Do not attach gpiosim(4) at root, but make it a pseudo device. 2009-07-27 17:40:57 +00:00
init_sysctl.c provide compatibility for the older variant of kern.consdev, which used 2009-08-16 20:28:19 +00:00
init_sysent.c Regen. 2009-07-19 02:54:21 +00:00
kern_acct.c s/NOFOLLOW/FOLLOW/ in NDINIT so that it matches actual behavior 2009-02-11 00:32:45 +00:00
kern_auth.c kauth_cred_free: add an assertion. 2009-08-16 11:01:12 +00:00
kern_cctr.c remove extra semicolons. 2009-01-03 03:31:23 +00:00
kern_clock.c hardclock() itself doesn't schedule callout softintrs any more, 2008-10-05 21:57:20 +00:00
kern_condvar.c Make condvars really opaque -- hide the wait message member from consumers 2008-12-19 07:57:28 +00:00
kern_core.c merge christos-time_t 2009-01-11 02:45:45 +00:00
kern_cpu.c cpuctl: 2009-04-19 14:11:36 +00:00
kern_descrip.c assertion 2009-08-16 11:00:20 +00:00
kern_drvctl.c Remove extraneous parentheses. Fix spelling/grammar. No functional 2009-04-30 20:39:08 +00:00
kern_event.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
kern_exec.c ktrace the arguments to script interpreters that come from the script. 2009-08-06 21:33:54 +00:00
kern_exit.c wrap a long line. 2009-06-28 11:42:07 +00:00
kern_fileassoc.c - Convert hashinit() to use kmem_alloc(). The hash tables can be large 2008-05-05 17:11:16 +00:00
kern_fork.c use kauth instead of uid != 0 2009-03-24 21:00:05 +00:00
kern_idle.c set LP_RUNNING when starting lwp0 and idle lwps. 2009-07-19 10:11:55 +00:00
kern_ksyms.c ansify function definitions 2009-03-15 17:14:40 +00:00
kern_kthread.c Fix a tyop in the previous commit 2009-01-30 04:09:35 +00:00
kern_ktrace.c Fix ktrace of data from iovec based system calls. 2009-08-05 19:53:42 +00:00
kern_lock.c Fix spelling: situatations -> situations. 2009-07-17 22:17:37 +00:00
kern_lwp.c In lwp_create(), take a reference to l2's filedesc_t instead of 2009-07-10 23:07:54 +00:00
kern_malloc_debug.c Pages mapped by debug_malloc are PMAP_KMPAGE so tell the pmap that. 2008-08-07 01:40:21 +00:00
kern_malloc_stdtype.c M_IOV is used all over the place, so stuff it in with malloc_stdtypes 2008-10-14 14:17:49 +00:00
kern_malloc.c Missed realloc in previous. Ride 5.99.6 bump. 2009-01-07 21:06:31 +00:00
kern_module.c Make kobj_stat() return ENOSYS instead of panicking ("not modular") 2009-06-17 21:04:25 +00:00
kern_mutex.c mutex_vector_enter: few predictions. 2009-01-25 04:45:14 +00:00
kern_ntptime.c remove !NTP stub. 2009-01-11 21:00:11 +00:00
kern_pax.c Fix broken enable test; fixes random coredumps. 2008-06-04 12:26:20 +00:00
kern_physio.c PR kern/39536: bufq related problem when writing DVDR and DVDRWs. 2009-05-26 14:59:31 +00:00
kern_pmf.c pmf_event_inject(9) may be called from interrupt context, so we 2009-07-08 18:53:36 +00:00
kern_proc.c Make descriptor access and file allocation cheaper in many cases, 2009-05-23 18:28:05 +00:00
kern_prot.c - Rearrange pg_delete() and pg_remove() (renamed pg_free), thus 2009-04-25 15:06:31 +00:00
kern_ras.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_rate.c Split rate-checking routines into their own module for easier reuse. 2008-09-25 17:17:10 +00:00
kern_resource.c PR/41489: Stathis Kamperis: etpriority(2) returns EACCES instead of EPERM 2009-05-26 06:57:38 +00:00
kern_runq.c If DEBUG is enabled, drop kpreempt_pri to zero. It means that every 2009-03-02 21:17:29 +00:00
kern_rwlock.c rw_vector_exit: remove a redundant condition. 2009-05-16 08:36:32 +00:00
kern_sig.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
kern_sleepq.c Allocate sleep queue locks with mutex_obj_alloc. Reduces memory usage 2009-03-21 13:11:14 +00:00
kern_softint.c set LP_RUNNING when starting lwp0 and idle lwps. 2009-07-19 10:11:55 +00:00
kern_ssp.c If sys/param.h is not included, the kernel compile fails on some platforms 2009-02-26 05:50:54 +00:00
kern_stub.c Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
kern_subr.c In humanize_number(), avoid an integer overflow if the buffer 2009-04-02 17:25:24 +00:00
kern_synch.c set LP_RUNNING when starting lwp0 and idle lwps. 2009-07-19 10:11:55 +00:00
kern_sysctl.c In sysctl_create(), the first character of sysctl_name is 2009-08-24 20:53:00 +00:00
kern_tc.c Make PPS work with fast time counters (> 2GHz) 2009-06-14 13:16:32 +00:00
kern_time.c Move the internal poll/select related API's to use timespec instead 2009-03-29 19:21:19 +00:00
kern_timeout.c Allocate sleep queue locks with mutex_obj_alloc. Reduces memory usage 2009-03-21 13:11:14 +00:00
kern_todr.c Fix 'boot -z' bogons. 2009-03-21 15:01:56 +00:00
kern_turnstile.c Allocate sleep queue locks with mutex_obj_alloc. Reduces memory usage 2009-03-21 13:11:14 +00:00
kern_uidinfo.c uid_init: maxproc -> maxcpus 2009-03-22 00:49:13 +00:00
kern_uuid.c Make uuidgen available for the kernel. 2008-11-18 14:01:03 +00:00
kern_verifiedexec.c Convert 67 namei call sites to use namei_simple, in these functions: 2009-06-29 05:08:15 +00:00
kern_xxx.c Remove unneeded playing about with kernel_lock. 2008-04-25 11:23:42 +00:00
kgdb_stub.c make kgdb_dev a dev_t 2009-01-11 10:20:53 +00:00
Make.tags.inc A definition in aic79xxvar.h somehow shadows pci_attach_args (ctags 2009-07-16 23:53:10 +00:00
Makefile Use ${TOOL_SED} instead of plain "sed" in "!=" assignments. 2008-10-25 22:35:36 +00:00
makesyscalls.sh Use argname PAD to signal that an argument is used only for padding 2009-05-15 15:51:27 +00:00
sched_4bsd.c sched_pstats_hook: fix estcpu decay. 2009-05-31 04:13:33 +00:00
sched_m2.c Remove unused include. 2009-07-06 12:37:17 +00:00
subr_autoconf.c Add a workaround for some traditional ports (amiga and atari): 2009-07-14 13:24:00 +00:00
subr_blist.c
subr_bufq.c malloc -> kmem_alloc 2009-01-19 14:54:28 +00:00
subr_callback.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
subr_debug.c Disable the freecheck stuff atomically so we only get one warning about 2008-04-30 20:20:53 +00:00
subr_devsw.c whitespace fixes. no functional changes. 2009-08-18 02:43:49 +00:00
subr_disk_mbr.c opt for _KERNEL_OPT 2009-06-03 15:07:30 +00:00
subr_disk.c On second thought, let's call disk_predetach() disk_begindetach(). 2009-05-20 03:26:21 +00:00
subr_evcnt.c protect allevents list with a mutex 2009-03-29 18:21:06 +00:00
subr_exec_fd.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
subr_extent.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_hash.c - Convert hashinit() to use kmem_alloc(). The hash tables can be large 2008-05-05 17:11:16 +00:00
subr_iostat.c Add disk_isbusy(), iostat_isbusy(). 2009-04-04 07:30:09 +00:00
subr_kmem.c add KASSERT(p != NULL); to kmem_free() 2009-06-03 22:54:51 +00:00
subr_kobj.c Make kobj_stat() return ENOSYS instead of panicking ("not modular") 2009-06-17 21:04:25 +00:00
subr_lockdebug.c buildfix: use PRIxPTR rather %lx. 2008-11-07 19:50:00 +00:00
subr_log.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_once.c ansify function definitions 2009-03-15 17:14:40 +00:00
subr_optstr.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_pcq.c - Optimise by avoiding few memory barriers, when atomic operations 2008-11-11 21:45:33 +00:00
subr_percpu.c Start percpu allocation at (ALIGNBYTES + 1) to avoid problem with importing 2008-12-15 11:59:22 +00:00
subr_pool.c pool_cache_put_paddr: add an assertion. 2009-04-15 11:45:18 +00:00
subr_prf.c panic: use MI cpu_index(), instead of cpu_number(), which could be sparse. 2009-06-28 15:30:30 +00:00
subr_prof.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
subr_specificdata.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_syscall_stats.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
subr_tftproot.c Back out previous change: do not skip the test on rootspec, but make it 2009-08-23 12:10:50 +00:00
subr_time.c Use more timespecs internally. From Alexander Shishkin and me. 2008-07-15 16:18:08 +00:00
subr_userconf.c
subr_vmem.c Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
subr_workqueue.c struct lwp -> lwp_t for consistency 2009-08-16 10:59:25 +00:00
subr_xcall.c xc_lowpri: don't truncate `where' from uint64_t to u_int. 2009-03-05 13:18:51 +00:00
sys_aio.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
sys_descrip.c do_posix_fadvise: 2009-06-10 23:48:10 +00:00
sys_generic.c Allow undescribed, direct ioctls as used by Unix. This capability was removed in BSD, presumably because nothing used it any more. 2009-08-13 08:57:43 +00:00
sys_lwp.c _lwp_setprivate: provide the value to MD code if a hook is present. 2009-03-29 09:24:52 +00:00
sys_module.c copyin the modctl_load_t for the non-x86 world. Fixes PR/41294. 2009-04-28 17:57:00 +00:00
sys_mqueue.c Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
sys_pipe.c Revert previous: disable direct I/O on pipe, it cought a problem with emap. 2009-07-15 21:09:41 +00:00
sys_pmc.c Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE. 2008-04-21 12:56:30 +00:00
sys_process.c wrap a long line. 2009-06-28 11:42:07 +00:00
sys_pset.c lwp_create: fix the locking bugs on affinity ingerition path (mea culpa). 2009-03-03 21:55:06 +00:00
sys_sched.c lwp_create: fix the locking bugs on affinity ingerition path (mea culpa). 2009-03-03 21:55:06 +00:00
sys_select.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
sys_sig.c - use itimespecfix to detect invalid timespecs 2009-03-29 17:54:12 +00:00
sys_socket.c soo_ioctl: 2009-04-08 21:02:09 +00:00
sys_syscall.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
syscalls.c Regen. 2009-07-19 02:54:21 +00:00
syscalls.conf Use rump/include/rump as the rump_syscalls.h directory. 2008-11-17 08:46:42 +00:00
syscalls.master +fhopen, +fhstatvfs1 RUMP 2009-07-21 23:59:00 +00:00
sysv_ipc.c Replace malloc with kmem(9). 2009-04-16 14:55:44 +00:00
sysv_msg.c Do not call put_type() but use copyout() when returning the message 2009-01-28 00:59:03 +00:00
sysv_sem.c merge christos-time_t 2009-01-11 02:45:45 +00:00
sysv_shm.c Remove SHMMAXPGS from all kernel configs. Dynamically compute the 2009-03-06 20:31:46 +00:00
tty_bsdpty.c malloc -> kmem_alloc 2009-01-22 14:38:34 +00:00
tty_conf.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_ptm.c malloc -> kmem_alloc 2009-01-22 14:38:34 +00:00
tty_pty.c Writes on the controlling tty were not being awoken from blocks, 2009-06-12 09:26:50 +00:00
tty_subr.c KNF. ANSI'fy. 2009-03-09 16:19:22 +00:00
tty_tty.c Network protocol interrupts can now block on locks, so merge the globals 2008-04-24 15:35:27 +00:00
tty.c Don't return EWOULDBLOCK on an O_NONBLOCK tty file descriptor that has vmin > 0 2009-08-01 23:07:05 +00:00
uipc_accf.c Autoload accept filter modules. 2008-11-20 10:00:54 +00:00
uipc_domain.c Make domaininit() take an argument which determines if it should 2009-05-27 23:44:35 +00:00
uipc_mbuf2.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
uipc_mbuf.c m_split0(): If the newly allocated mbuf holds only the header, 2009-04-05 16:31:21 +00:00
uipc_proto.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
uipc_sem.c Replace semid_t with intptr_t. No function change. This is a libc/kernel 2008-11-14 15:49:20 +00:00
uipc_socket2.c check return code from soreserve() (Sean Boudreau) 2009-07-24 01:09:49 +00:00
uipc_socket.c PR kern/41311: Mutex error: mutex_vector_enter: locking against myself 2009-04-30 20:41:33 +00:00
uipc_syscalls.c Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
uipc_usrreq.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
vfs_bio.c like KERN_FILE2: *do* update "needed" when there is no count. we want 2009-03-11 05:55:22 +00:00
vfs_cache.c cache_lookup_entry: add an assertion. 2009-02-18 13:36:11 +00:00
vfs_cwd.c cwd is logically a vfs concept, so take it out from the bosom of 2008-11-18 11:36:58 +00:00
vfs_dirhash.c Previous code ususally works since compiler won't put gap between 2009-02-06 23:56:26 +00:00
vfs_getcwd.c malloc -> kmem_alloc. 2009-01-17 07:02:35 +00:00
vfs_hooks.c ansify function definitions 2009-03-15 17:14:40 +00:00
vfs_init.c Move dovfsusermount to secmodel_bsd44, where it really belongs. 2009-05-03 21:25:44 +00:00
vfs_lockf.c lockf() passes its arguments through to fcntl() but is supposed to 2009-08-05 19:39:50 +00:00
vfs_lookup.c Begin splitting lookup() into more tractable pieces too. 2009-08-09 07:27:54 +00:00
vfs_subr.c Cosmetic: remove #if 1 / #endif. 2009-06-26 18:58:14 +00:00
vfs_syscalls.c Add enum uio_seg argument to do_sys_mknod and do_sys_mkdir so these functions 2009-08-09 22:49:00 +00:00
vfs_trans.c don't forget to skip marker processes. 2009-05-12 11:42:12 +00:00
vfs_vnops.c remove FILE_LOCK and FILE_UNLOCK. 2009-05-17 05:54:42 +00:00
vfs_wapbl.c Convert free text inside #ifdef to a proper comment. 2009-07-14 20:59:00 +00:00
vfs_xattr.c Convert 67 namei call sites to use namei_simple, in these functions: 2009-06-29 05:08:15 +00:00
vnode_if.c reregen to get those most important rcsids right 2008-11-17 08:59:33 +00:00
vnode_if.sh Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer 2008-11-19 14:10:48 +00:00
vnode_if.src vpp is not logically passed in IN with lookup, so INOUT -> OUT. 2008-11-15 19:08:12 +00:00