NetBSD/sys/kern
tls 9d8dce6eca Fix hardware RNGs -- accept their entropy estimates *rather than* using
timestamps to estimate the entropy of their input.  I'd accidentally
made it so no entropy was ever counted from them at all.
2012-10-27 01:29:02 +00:00
..
Make.tags.inc
Makefile Add a target, subr_vmem, for building the vmem(9) test program. 2011-09-02 22:15:16 +00:00
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c BUFQ_PRIOCSCAN: 2012-02-17 08:45:11 +00:00
bufq_readprio.c
cnmagic.c Apply the better patch in the PR. 2011-11-19 17:34:41 +00:00
core_elf32.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
core_elf64.c
core_netbsd.c
exec_aout.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
exec_ecoff.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
exec_elf.c back out elf note changes and use EF_ARM_ABIVERS to determine EABI usage. 2012-08-05 01:43:58 +00:00
exec_elf32.c
exec_elf64.c
exec_script.c
exec_subr.c Bounds process's stack size with max_stack_size so that 32bit 2011-08-08 06:30:43 +00:00
genlintstub.awk
init_main.c Do not call setroot() from MD code and from MI code, which has 2012-07-29 18:05:39 +00:00
init_sysctl.c put all kern socket sysctls in the same place 2012-10-08 19:20:45 +00:00
init_sysctl_base.c
init_sysent.c regen 2012-10-02 01:46:20 +00:00
kern_acct.c Make sure that we initialize all accounting bytes. 2011-09-03 14:09:03 +00:00
kern_auth.c PR/46973: Dr. Wolfgang Stukenbrock: kauth_authorize_action_internal() returns 2012-09-16 14:35:26 +00:00
kern_cctr.c
kern_cfglock.c
kern_clock.c Back out previous; this should not be done in statclock but when the 2011-10-30 01:57:40 +00:00
kern_condvar.c These don't need uvm/uvm_extern.h. 2011-07-27 14:35:33 +00:00
kern_core.c Don't dump core on an existing core file we don't own. From OpenBSD, suggested 2011-09-24 22:53:50 +00:00
kern_cpu.c put binary compatibility support for the old AMD-only CPU microcode 2012-10-17 20:19:55 +00:00
kern_ctf.c
kern_descrip.c As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE 2012-01-25 00:28:35 +00:00
kern_drvctl.c NULL does not need a cast 2011-08-31 18:31:02 +00:00
kern_event.c Remove an unused variable 2012-06-02 15:54:02 +00:00
kern_exec.c remove KERN_USRSTACK 2012-10-14 20:56:55 +00:00
kern_exit.c exit_lwps, lwp_wait: fix a race condition by re-trying if p_lock was dropped 2012-09-27 20:43:15 +00:00
kern_fileassoc.c fileassoc_file_delete: pre-check whether fileassoc was used and thus avoid 2012-01-22 03:48:51 +00:00
kern_fork.c revert racy vfork() parent-blocking-before-child-execs-or-exits code. 2012-07-27 20:52:49 +00:00
kern_history.c move and rename the uvm history code out of uvm_stat to "kernhist". 2011-05-17 04:18:05 +00:00
kern_hook.c
kern_idle.c - Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there. 2012-01-29 22:55:40 +00:00
kern_ksyms.c close the comment, there is a draft. 2011-12-05 21:30:48 +00:00
kern_kthread.c Add a __HAVE_CPU_UAREA_IDLELWP hook so that the MD code can allocate 2012-09-01 00:26:37 +00:00
kern_ktrace.c Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +00:00
kern_lock.c Use __cacheline_aligned 2012-08-30 02:23:14 +00:00
kern_lwp.c exit_lwps, lwp_wait: fix a race condition by re-trying if p_lock was dropped 2012-09-27 20:43:15 +00:00
kern_malloc.c - Replace some malloc(9) uses with kmem(9). 2012-04-30 22:51:27 +00:00
kern_module.c Implement the register/deregister/evaluation API for secmodel(9). It 2011-12-04 19:24:58 +00:00
kern_module_vfs.c - don't if then else the same thing. print a more meaningful message 2011-09-14 12:30:20 +00:00
kern_mutex.c {mutex,rw}_vector_enter: use macro versions to disable/enable preemption. 2012-02-25 22:32:44 +00:00
kern_mutex_obj.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
kern_ntptime.c
kern_pax.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_physio.c
kern_pmf.c Don't directly call sys_sync() from random bits of code, instead 2011-06-05 09:04:22 +00:00
kern_proc.c Add a new resource to limit the number of lwps per user, RLIMIT_NTHR. There 2012-06-09 02:31:14 +00:00
kern_prot.c Remove debugging. 2012-06-09 02:55:32 +00:00
kern_ras.c Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +00:00
kern_rate.c
kern_resource.c Add a new resource to limit the number of lwps per user, RLIMIT_NTHR. There 2012-06-09 02:31:14 +00:00
kern_rndpool.c Address multiple problems with rnd(4)/cprng(9): 2012-04-17 02:50:38 +00:00
kern_rndq.c Fix hardware RNGs -- accept their entropy estimates *rather than* using 2012-10-27 01:29:02 +00:00
kern_runq.c Change KASSERT to KASSERTMSG 2012-08-30 02:25:35 +00:00
kern_rwlock.c {mutex,rw}_vector_enter: use macro versions to disable/enable preemption. 2012-02-25 22:32:44 +00:00
kern_rwlock_obj.c Sprinkle __cacheline_aligned and __read_mostly. 2011-05-13 22:16:43 +00:00
kern_sdt.c
kern_sig.c Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +00:00
kern_sleepq.c Remove safepri and use IPL_SAFEPRI instead. This may be defined in a MD 2012-07-27 05:36:09 +00:00
kern_softint.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
kern_ssp.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_stub.c Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +00:00
kern_subr.c Make detection of root on wedges (dk(4)) machine independent. Remove 2012-06-10 17:05:18 +00:00
kern_synch.c The field ci_curlwp is only defined for MULTIPROCESSOR kernels. 2012-09-02 16:00:00 +00:00
kern_syscall.c Add a new type of syscall "EXTERN" which is meant for modules that live 2012-05-05 19:37:37 +00:00
kern_sysctl.c Make sure va_end is used even when errors are encountered. 2012-06-06 05:10:54 +00:00
kern_tc.c Make time_second and time_uptime volatile, so the compiler knows they 2012-02-21 15:41:24 +00:00
kern_time.c kernel portion of clock_nanosleep() 2012-10-02 01:44:27 +00:00
kern_timeout.c
kern_todr.c
kern_turnstile.c comments and assertions. 2012-06-15 13:51:40 +00:00
kern_uidinfo.c Remove debugging. 2012-06-09 02:55:32 +00:00
kern_uuid.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_verifiedexec.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
kern_xxx.c Print syscall name on syscall exit (when using SYSCALL_DEBUG). 2011-09-01 18:25:44 +00:00
kgdb_stub.c Fix -fno-common found by building i386/conf/ALL 2012-07-28 00:43:22 +00:00
makesyscalls.sh alias rump_sysent to sysent, since the linux compat code wants to 2012-09-20 17:46:21 +00:00
sched_4bsd.c update a comment 2011-12-02 12:29:35 +00:00
sched_m2.c This is no place to attach the primary cpu. Things go wrong from here because 2011-09-16 01:03:52 +00:00
subr_autoconf.c Give config thread more descriptive names. 2012-08-30 02:24:20 +00:00
subr_blist.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
subr_bufq.c
subr_callback.c
subr_copy.c
subr_cprng.c Fix a bug that kmem_alloc() is called from the interrupt context. 2012-09-08 02:58:13 +00:00
subr_cpufreq.c Revert the revision 1.5 in cpufreq(9). Instead, document that the KPI can 2011-10-27 05:25:07 +00:00
subr_debug.c
subr_device.c
subr_devsw.c add an XXX comment i meant to include with the original change. 2012-02-18 06:29:10 +00:00
subr_disk.c
subr_disk_mbr.c No longer determine availability of ISO and UDF partitions, we default 2012-10-03 07:05:51 +00:00
subr_disk_open.c unsigned -> unsigned int 2012-07-07 16:15:20 +00:00
subr_evcnt.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
subr_exec_fd.c kern/42030 - tracking of file descriptors by ktrace/kdump 2011-06-01 21:24:59 +00:00
subr_extent.c remove left over macro after kmem_map is gone 2012-01-29 11:14:49 +00:00
subr_hash.c Add hash_list_size() and simplify slightly. 2012-06-05 20:51:36 +00:00
subr_humanize.c
subr_iostat.c
subr_kcpuset.c Rename kcpuset_copybits() to kcpuset_export_u32() and thus be more specific 2012-09-16 22:09:33 +00:00
subr_kmem.c split allocation lookup table to decrease overall memory used 2012-07-21 11:45:04 +00:00
subr_kobj.c Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
subr_kobj_vfs.c Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
subr_lockdebug.c - fix typo in comment 2012-08-04 12:38:20 +00:00
subr_log.c
subr_lwp_specificdata.c
subr_once.c
subr_optstr.c
subr_pcq.c Revert to more readable but non-standard use of offsetof to calculate 2012-01-31 20:40:09 +00:00
subr_pcu.c KASSERT -> KASSERTMSG 2012-08-30 02:24:48 +00:00
subr_percpu.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
subr_pool.c proper locking for DEBUG 2012-08-28 15:52:19 +00:00
subr_prf.c Repeated typo/varargs anachronism in comments. 2012-03-12 19:21:07 +00:00
subr_prof.c
subr_pserialize.c - Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there. 2012-01-29 22:55:40 +00:00
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c
subr_time.c Fix monotonic interval timers. 2011-12-18 22:30:25 +00:00
subr_userconf.c modify parsing of device names so that it can deal with names which 2011-08-01 10:33:26 +00:00
subr_vmem.c Don't use const foo const as type, one const is enough. 2012-09-13 21:44:49 +00:00
subr_workqueue.c If the workqueue is using a prio less than PRI_KERNEL, make sure KTHREAD_TS 2012-10-07 22:16:21 +00:00
subr_xcall.c Sprinkle __cacheline_aligned and __read_mostly. 2011-05-13 22:16:43 +00:00
sys_aio.c
sys_descrip.c Force sys_close not to restart by returning ERESTART. 2012-08-05 04:26:10 +00:00
sys_generic.c As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE 2012-01-25 00:28:35 +00:00
sys_lwp.c exit_lwps, lwp_wait: fix a race condition by re-trying if p_lock was dropped 2012-09-27 20:43:15 +00:00
sys_module.c Add -A, -a, and -e options to modstat(8) along with kernel 2012-08-07 01:19:05 +00:00
sys_mqueue.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
sys_pipe.c Make sure we can deliver two file descriptors for pipe2() before we set 2012-05-16 09:41:11 +00:00
sys_pmc.c
sys_process.c PR# kern/45330: ptrace: signals can alter syscall return values 2011-09-06 11:22:42 +00:00
sys_pset.c Remove LW_AFFINITY flag and fix some bugs affinity mask handling. 2011-08-07 21:13:05 +00:00
sys_sched.c - Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use 2012-04-20 22:23:24 +00:00
sys_select.c Add kern.direct_select sysctl. Default to 0 for now. 2011-08-29 00:39:16 +00:00
sys_sig.c From Roger Pau Monne: kill(2) called for a zombie process should return 0, 2012-07-18 20:30:07 +00:00
sys_socket.c - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state. 2011-12-20 23:56:28 +00:00
sys_syscall.c use sy_call() so that l->l_sysent gets set, so that we can autoload modules 2012-05-05 19:44:02 +00:00
syscalls.c regen 2012-10-02 01:46:20 +00:00
syscalls.conf Forgot this one from previous commit. It too is needed for syscallargs.h 2012-08-03 12:41:13 +00:00
syscalls.master kernel portion of clock_nanosleep() 2012-10-02 01:44:27 +00:00
sysv_ipc.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
sysv_msg.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
sysv_sem.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
sysv_shm.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
tty.c Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls. 2012-10-19 16:55:22 +00:00
tty_bsdpty.c
tty_conf.c
tty_ptm.c Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls. 2012-10-19 16:55:22 +00:00
tty_pty.c Set tp->t_dev to the correct dev_t value in both ptmopen and ptsopen. 2012-10-20 00:21:10 +00:00
tty_subr.c - Introduce a sysctl to control the default tty queue size kern.tty.qsize, 2011-09-24 00:05:38 +00:00
tty_tty.c
uipc_accf.c
uipc_domain.c Use PR_SLOWHZ, PR_FASTHZ defines in a couple spots. 2011-10-27 21:10:55 +00:00
uipc_mbuf.c bring comment up to reality 2012-10-18 19:33:38 +00:00
uipc_mbuf2.c Miscellaneous mbuf changes: 2011-08-08 19:10:33 +00:00
uipc_proto.c Add SOCK_SEQPACKET to PL_LOCAL sockets. Based on patch from Jesse Off, 2011-05-29 03:32:46 +00:00
uipc_sem.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
uipc_socket.c put all kern socket sysctls in the same place 2012-10-08 19:20:45 +00:00
uipc_socket2.c - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state. 2011-12-20 23:56:28 +00:00
uipc_syscalls.c Avoid kmem_alloc KASSERT for 0 byte allocation, when tracing processes 2012-07-17 14:22:42 +00:00
uipc_usrreq.c Avoid crash dereferencing a NULL fp in fd_affix() in unp_externalize 2012-10-06 22:58:08 +00:00
vfs_bio.c Use separate temporaries for the 'int' percentage and the 'long' 2012-06-03 16:23:44 +00:00
vfs_cache.c Move some the test for MAKEENTRY into the cache_enter(9). Make some 2012-07-22 00:53:18 +00:00
vfs_cwd.c
vfs_dirhash.c
vfs_getcwd.c
vfs_hooks.c
vfs_init.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
vfs_lockf.c
vfs_lookup.c Replace hack implementation of NDAT() for "nameiat" with a proper one. 2012-10-13 17:46:50 +00:00
vfs_mount.c Move VFS_EXTATTRCTL to mount_domount(). This makes the 2012-05-08 08:44:49 +00:00
vfs_quotactl.c Improve the names of some members of struct quotactl_args. These are 2012-02-01 05:43:53 +00:00
vfs_subr.c remove a bogus optimization introduced in the previous change. 2012-05-12 18:42:08 +00:00
vfs_syscalls.c No, we can't elide the fs-wide rename lock for same-directory rename. 2012-10-19 02:07:22 +00:00
vfs_trans.c
vfs_vnode.c Update comment on vnode life-cycle a little. 2012-10-12 21:10:55 +00:00
vfs_vnops.c don't truncate size_t to int 2012-08-24 05:52:17 +00:00
vfs_wapbl.c mark all wapbl I/O as BPRIO_TIMECRITICAL. 2012-04-29 22:55:11 +00:00
vfs_xattr.c Return ENODATA when no attribute is found, like Linux does. After 2012-05-01 07:48:25 +00:00
vnode_if.c Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:27:37 +00:00
vnode_if.sh Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:23:00 +00:00
vnode_if.src Change the vnode locking protocol of VOP_GETATTR() to request at least 2011-10-14 09:23:28 +00:00