NetBSD/sys/kern
2018-12-22 14:28:56 +00:00
..
bufq_disksort.c Use consistently "bufq_private(bufq)" instead of "bufq->bq_private" 2017-05-04 11:03:27 +00:00
bufq_fcfs.c Use consistently "bufq_private(bufq)" instead of "bufq->bq_private" 2017-05-04 11:03:27 +00:00
bufq_priocscan.c Use consistently "bufq_private(bufq)" instead of "bufq->bq_private" 2017-05-04 11:03:27 +00:00
bufq_readprio.c Use consistently "bufq_private(bufq)" instead of "bufq->bq_private" 2017-05-04 11:03:27 +00:00
cnmagic.c Correct typo in the comment 2017-05-04 11:01:16 +00:00
core_elf32.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
core_elf64.c
core_netbsd.c Introduce new ptrace(2) interface: PT_SET_SIGINFO and PT_GET_SIGINFO 2017-01-06 22:53:17 +00:00
exec_aout.c
exec_ecoff.c
exec_elf32.c The argument length is in bytes; don't use howmany() 2017-01-25 17:56:45 +00:00
exec_elf64.c The argument length is in bytes; don't use howmany() 2017-01-25 17:56:45 +00:00
exec_elf.c ignore the ancient NetBSD emulation tag. 2018-04-12 20:49:08 +00:00
exec_script.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
exec_subr.c Export the guard size of the main thread via vm.guard_size. Add a 2017-07-02 16:41:32 +00:00
files.kern Import thmap -- a concurrent trie-hash map, combining the elements of 2018-12-16 14:06:56 +00:00
genlintstub.awk
init_main.c Correct the 6 second offset issue between the time reported by 2018-10-30 19:40:35 +00:00
init_sysctl_base.c Allow architectures to define a macro PROC_MACHINE_ARCH(P) and 2017-10-31 12:37:23 +00:00
init_sysctl.c As discussed in tech-kern: 2018-12-05 18:16:51 +00:00
init_sysent.c Regen 2018-08-10 21:47:14 +00:00
kern_acct.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_auth.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
kern_cctr.c
kern_cfglock.c
kern_clock.c C99 initializers for intr_timecounter. 2018-09-03 21:29:30 +00:00
kern_condvar.c Apply C99-style struct initialization to syncobj_t 2018-01-30 07:52:22 +00:00
kern_core.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
kern_cpu.c Fix/add KASSERTS to work with a system of MAXCPUS. Add some comments to 2018-11-13 11:06:19 +00:00
kern_ctf.c merge a new version of the CDDL dtrace and ZFS code. 2018-05-28 21:04:59 +00:00
kern_descrip.c Fix kernel pointer leaks in the kern.file sysctl, same as kern.file2. 2018-11-24 16:41:48 +00:00
kern_drvctl.c - move export for devmon_insert_vec into sys/device.h. 2018-09-18 01:25:09 +00:00
kern_event.c Fix kernel info leak. There are 4 bytes of padding in struct kevent. 2018-11-13 06:58:14 +00:00
kern_exec.c Fix stack info leak. There are 2x4 bytes of padding in struct ps_strings. 2018-11-11 10:55:58 +00:00
kern_exit.c Fix info leak. There is one branch where 'status' is not initialized at 2018-11-29 12:37:22 +00:00
kern_fileassoc.c
kern_fork.c Implement PTRACE_VFORK 2018-05-01 16:37:23 +00:00
kern_history.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
kern_hook.c
kern_idle.c
kern_ksyms_buf.c
kern_ksyms.c use Elf_Sym ** instead of casting. 2017-11-04 22:17:55 +00:00
kern_kthread.c KASSERT() that kthread_join()'s target is expecting to be joined. 2018-01-09 22:58:45 +00:00
kern_ktrace_vfs.c
kern_ktrace.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
kern_lock.c Apply C99-style struct initialization to lockops_t 2017-12-25 09:13:40 +00:00
kern_lwp.c Use cpu_index(). NFC. 2018-11-26 17:18:01 +00:00
kern_malloc.c Do not assume size_t == unsigned long 2018-10-20 14:09:47 +00:00
kern_module_vfs.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_module.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
kern_mutex_obj.c Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc 2018-02-05 04:25:04 +00:00
kern_mutex.c Sprinkle __predict_false to dedicated assertions of mutex and rwlock 2018-08-31 01:23:57 +00:00
kern_ntptime.c Zero out the ntptimeval structure to prevent a 4 byte kernel stack disclosure. 2018-10-29 22:02:25 +00:00
kern_pax.c fix typo 2017-06-25 04:10:47 +00:00
kern_physio.c
kern_pmf.c expose pmf debug switches with sysctl. 2018-04-08 11:46:13 +00:00
kern_proc.c Remove unused mbuf.h includes. 2018-12-10 14:46:24 +00:00
kern_prot.c Make p_ppid contain the original parent's pid even for traced processes. 2016-11-13 15:25:01 +00:00
kern_ras.c Make the execution flow canonical instead of jumping back and forth, and 2016-07-04 07:56:07 +00:00
kern_rate.c
kern_reboot.c retire kern_xxx.c. long live kern_xxx.c. 2018-09-14 01:55:19 +00:00
kern_resource.c correct the function name. 2018-05-13 14:45:23 +00:00
kern_rndpool.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
kern_rndq.c add DIAGNOSTIC check for rnd_attach_source() being called twice for same 2018-07-03 18:09:28 +00:00
kern_rndsink.c Use rnd_getmore as intended. No more essay needed here. 2016-05-21 15:33:40 +00:00
kern_runq.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_rwlock_obj.c Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc 2018-02-05 04:25:04 +00:00
kern_rwlock.c Sprinkle __predict_false to dedicated assertions of mutex and rwlock 2018-08-31 01:23:57 +00:00
kern_scdebug.c retire kern_xxx.c. long live kern_xxx.c. 2018-09-14 01:55:19 +00:00
kern_sdt.c
kern_sig.c Fix kernel info leak, 4 bytes of padding at the end of struct sigaction. 2018-11-29 10:27:36 +00:00
kern_sleepq.c GSoC 2016 Charles Cui: Implement thread priority protection based on work 2016-07-03 14:24:58 +00:00
kern_softint.c Prevent panic or hangup in softint_disestablish(), pserialize_perform() or 2017-12-28 03:39:48 +00:00
kern_ssp.c void duplicate definition on statically linking libc+ssp and rumpkern+ssp. 2016-12-06 02:55:42 +00:00
kern_stub.c let the modular code load the sysv modules. 2018-04-12 20:43:44 +00:00
kern_subr.c Set rootdev for wedges. 2018-10-07 11:24:16 +00:00
kern_synch.c The SHOULDYIELD flag doesn't indicate that other LWPs could run but only 2018-11-30 15:05:35 +00:00
kern_syscall.c Allow syscall_establish() to install new syscalls when the existing 2018-08-10 21:44:58 +00:00
kern_sysctl.c remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had 2018-10-14 17:37:40 +00:00
kern_tc.c Revert "Sprinkle cold conditionals to make tc_ticktock before inittimecounter." 2018-07-01 15:12:06 +00:00
kern_time.c Improve my kern_time.c::rev1.192, systematically clear the buffers we get 2018-11-29 17:40:12 +00:00
kern_timeout.c Try to avoid signed integer overflow in callout_softclock() 2018-07-08 14:42:52 +00:00
kern_todr.c
kern_turnstile.c
kern_uidinfo.c Need membar_datadep_consumer here. 2017-03-18 05:49:56 +00:00
kern_uuid.c
kern_veriexec.c Add two utility functions to help use kmem with strings: kmem_strdupsize, 2017-11-07 18:35:57 +00:00
kgdb_stub.c
Make.tags.inc
Makefile
makesyscalls.sh Refactor the numeric validity check just added, so the error 2018-08-26 11:53:28 +00:00
sched_4bsd.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
sched_m2.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
subr_asan.c Move the MI parts of KASAN into kern/subr_asan.c. This file includes 2018-10-31 06:26:25 +00:00
subr_autoconf.c Fix compile error. 2018-12-01 02:08:16 +00:00
subr_blist.c fix number of arguments of kmem_alloc and kmem_zalloc macro. ok skrll. 2017-02-13 16:53:41 +00:00
subr_bufq.c Fix a comment. NFC 2018-01-23 22:08:55 +00:00
subr_callback.c
subr_copy.c add copyin_pid(), to copyin from a different user address space. 2018-05-28 21:04:41 +00:00
subr_cprng.c Allow attaching for write, but return no events. 2017-12-01 19:05:49 +00:00
subr_cpufreq.c
subr_debug.c
subr_device.c
subr_devsw.c Add two utility functions to help use kmem with strings: kmem_strdupsize, 2017-11-07 18:35:57 +00:00
subr_disk_mbr.c CID-1427768: Off by one 2018-01-21 16:55:25 +00:00
subr_disk_open.c
subr_disk.c Fix typo in comment (s/is/if/) - NFC. 2018-03-07 21:13:24 +00:00
subr_evcnt.c Fix kernel pointer leaks in sysctl_doevcnt. 2018-11-24 17:40:37 +00:00
subr_exec_fd.c
subr_extent.c Don't take the mutex in extent_print if EX_EARLY 2017-12-31 09:25:19 +00:00
subr_hash.c Add HASH_PSLIST (pslist(9)) type for hashinit() 2016-07-06 05:20:48 +00:00
subr_humanize.c
subr_interrupt.c - don't return ENOMEM for errors not related to memory 2018-01-28 22:24:58 +00:00
subr_iostat.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
subr_ipi.c
subr_kcpuset.c
subr_kleak.c Improve error handling, doesn't matter a lot, but still. 2018-12-10 07:24:49 +00:00
subr_kmem.c - opt_kasan.h is included from <sys/asan.h> 2018-08-22 14:12:30 +00:00
subr_kobj_vfs.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_kobj.c add a kobj_error() to a recently added error case 2018-06-23 14:22:30 +00:00
subr_localcount.c Implement a debugging facility (overflow/underflow detection) for localcount 2017-11-17 09:26:36 +00:00
subr_lockdebug.c Deduplicate debug printing code. 2018-11-03 15:20:03 +00:00
subr_log.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
subr_lwp_specificdata.c
subr_once.c
subr_optstr.c David Binderman in PR kern/51189: simplify loop conditions 2016-05-30 11:24:40 +00:00
subr_pcq.c Typos. 2018-02-08 09:05:16 +00:00
subr_pcu.c PR port-arm/52603: 2017-10-16 15:03:57 +00:00
subr_percpu.c vmem_alloc() with VM_SLEEP cannot fail, so percpu_alloc() cannot fail either. 2017-05-31 23:54:17 +00:00
subr_physmap.c
subr_pool.c Add support for detecting use-after-frees in KASAN. We poison each freed 2018-12-16 21:03:35 +00:00
subr_prf.c More ipkdb removal 2018-07-15 07:24:11 +00:00
subr_prof.c Add a proper defflag for GPROF, and include opt_gprof.h, otherwise we're 2018-02-04 17:31:51 +00:00
subr_pserialize.c Change the place to check if a context switch doesn't happen within a pserialize read section 2018-08-14 01:06:01 +00:00
subr_psref.c Use high priority xcall with a softint of an IPL the same as psref class's one 2018-02-01 03:17:00 +00:00
subr_specificdata.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c appease gcc 2018-10-27 09:13:45 +00:00
subr_thmap.c Import thmap -- a concurrent trie-hash map, combining the elements of 2018-12-16 14:06:56 +00:00
subr_time.c make _lwp_park return the remaining time to sleep in the "ts" argument 2017-12-08 01:19:29 +00:00
subr_userconf.c call cnpollc(1) and cnpollc(0) around cngetc(). 2018-09-16 23:18:55 +00:00
subr_vmem.c Typos. 2018-02-08 09:05:16 +00:00
subr_workqueue.c Don't wait on workqueue_wait if called from worker itself 2018-06-13 05:26:12 +00:00
subr_xcall.c Spinkle ASSERT_SLEEPABLE to xcall functions 2018-02-07 04:25:09 +00:00
sys_aio.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
sys_descrip.c Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2) 2017-12-26 08:30:57 +00:00
sys_generic.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
sys_lwp.c Apply C99-style struct initialization to syncobj_t 2018-01-30 07:52:22 +00:00
sys_module.c Introduce KAUTH_REQ_PROCESS_CANSEE_KPTR, and use it in the already-existing 2018-09-04 14:31:18 +00:00
sys_mqueue.c Handle p->p_mqueue_cnt in a symmetric manner. 2018-08-19 15:10:23 +00:00
sys_pipe.c convert the (still disabled) 'direct write' for pipes to use the 2018-06-10 17:54:51 +00:00
sys_process.c Paranoia... keep vmspace reference while doing pmap_procwr 2017-04-13 07:58:45 +00:00
sys_pset.c Handle the case when a CPU is assigned to a set it is already a member of. 2018-12-09 23:05:02 +00:00
sys_ptrace_common.c Fix stack info leak. 2018-11-29 11:45:52 +00:00
sys_ptrace.c handle siginfo requests for ptrace32 2017-12-17 20:59:27 +00:00
sys_sched.c Fix reversed test. 2016-07-30 15:38:17 +00:00
sys_select.c Apply C99-style struct initialization to syncobj_t 2018-01-30 07:52:22 +00:00
sys_sig.c Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we 2018-12-01 14:05:33 +00:00
sys_socket.c soo_fcntl is identical to fnullop_fcntl, use the latter 2018-12-04 00:18:05 +00:00
sys_syscall.c Introduce KLEAK, a new feature that can detect kernel information leaks. 2018-12-02 21:00:13 +00:00
syscalls_autoload.c Regen 2018-08-10 21:47:14 +00:00
syscalls.c Regen 2018-08-10 21:47:14 +00:00
syscalls.conf
syscalls.master Add getsockopt2() syscall. 2018-07-31 13:00:13 +00:00
systrace_args.c Regen 2018-08-10 21:47:14 +00:00
sysv_ipc.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
sysv_msg.c correct typo: and and -> and (comments only) 2018-03-30 22:54:36 +00:00
sysv_sem.c
sysv_shm.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
tty_bsdpty.c
tty_conf.c
tty_ptm.c
tty_pty.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
tty_subr.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
tty_tty.c
tty.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
uipc_accf.c
uipc_domain.c Fix kernel pointer leaks in sysctl_unpcblist. 2018-11-24 17:16:44 +00:00
uipc_mbuf.c Replace M_ALIGN and MH_ALIGN by m_align. 2018-12-22 14:28:56 +00:00
uipc_mbufdebug.c KNF. No functional change. 2018-10-18 05:44:19 +00:00
uipc_proto.c
uipc_sem.c don't use pathbuf here; it is intertwined with vfs and gives rump heartburn. 2018-05-06 00:46:09 +00:00
uipc_socket2.c - Introduce a new SO_RERROR socket option to explicitly turn on 2018-11-04 16:30:28 +00:00
uipc_socket.c Replace M_ALIGN and MH_ALIGN by m_align. 2018-12-22 14:28:56 +00:00
uipc_syscalls.c sys_recvmmsg: don't defer an error that already gets returned. 2018-11-12 09:21:13 +00:00
uipc_usrreq.c Don't call soroverflow when we return the error to the sender. 2018-11-08 04:30:37 +00:00
vfs_bio.c Fix kernel pointer leaks in sysctl_dobuf. While here constify argument. 2018-11-24 17:52:39 +00:00
vfs_cache.c Summarize lifetime of cache entries. 2017-03-18 22:36:56 +00:00
vfs_cwd.c
vfs_dirhash.c
vfs_getcwd.c Don't walk off the end of the dirent buffer. 2017-07-28 15:37:23 +00:00
vfs_hooks.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c Fix vnode leak on error, introduced by the openat family changes in -r1.200. 2017-07-09 22:48:44 +00:00
vfs_mount.c Change forced unmount to revert open device vnodes to anonymous devices. 2017-08-21 09:00:21 +00:00
vfs_quotactl.c
vfs_subr.c Revert printf return value change. 2017-10-27 12:25:14 +00:00
vfs_syscalls.c Merge autofs support from: Tomohiro Kusumi 2018-01-09 03:31:12 +00:00
vfs_trans.c Bring back three state file system suspension: 2018-10-05 09:51:55 +00:00
vfs_vnode.c Fix non-DIAGNOSTICS build by adjusting _vstate_assert here too. 2017-09-22 06:05:20 +00:00
vfs_vnops.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
vfs_wapbl.c constify wapbl_ops 2018-12-10 21:19:33 +00:00
vfs_xattr.c
vnode_if.c Regen. 2017-07-12 09:31:59 +00:00
vnode_if.sh Operations fstrans_start() and fstrans_start_nowait() now always 2017-06-04 08:03:26 +00:00
vnode_if.src As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here. 2017-07-12 09:31:07 +00:00