NetBSD/sys/kern
chs ec5ea71a90 move some buffer cache internals declarations from buf.h to vfs_bio.c.
this is needed to avoid name conflicts with ZFS and also
makes it clearer that other code shouldn't be messing with these.
remove the LFS debug code that poked around in bufqueues and
remove the BQ_EMPTY bufqueue since nothing uses it anymore.
provide a function to let LFS and wapbl read the value of nbuf for now.
2017-06-08 01:23:01 +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 Set clear comment about EI_OSABI and EI_ABIVERSION 2017-05-04 11:12:23 +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 Enhance verbosity of debug message for ELF magic mismatch 2017-04-21 13:17:42 +00:00
exec_script.c
exec_subr.c de-triplicate. 2017-05-07 22:54:54 +00:00
files.kern Introduce new localcount(9) reference-count primitives. 2017-05-19 00:01:33 +00:00
genlintstub.awk
init_main.c Make pfil(9) MP-safe (applying psref(9)) 2017-01-16 09:28:40 +00:00
init_sysctl_base.c
init_sysctl.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
init_sysent.c regen 2017-05-10 06:19:47 +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 remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_cctr.c
kern_cfglock.c
kern_clock.c Add a KASSERT, otherwise it looks like a NULL deref; from Mootja. 2017-02-12 18:43:56 +00:00
kern_condvar.c allow cv_signal() immediately followed by cv_destroy(). 2017-06-08 01:09:52 +00:00
kern_core.c
kern_cpu.c
kern_ctf.c
kern_descrip.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_drvctl.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_event.c protect against NULL, from PaulG 2017-05-11 23:50:17 +00:00
kern_exec.c - Propagate the signal mask from the ucontext_t to the newly created thread 2017-04-21 15:10:34 +00:00
kern_exit.c Cleanup dead code after revert of racy vfork(2) commit 2017-01-09 00:31:30 +00:00
kern_fileassoc.c
kern_fork.c - Propagate the signal mask from the ucontext_t to the newly created thread 2017-04-21 15:10:34 +00:00
kern_history.c Use membar_{producer,consumer}() to ensure proper access to the "ready" 2017-01-10 22:08:14 +00:00
kern_hook.c
kern_idle.c
kern_ksyms_buf.c
kern_ksyms.c
kern_kthread.c - Propagate the signal mask from the ucontext_t to the newly created thread 2017-04-21 15:10:34 +00:00
kern_ktrace_vfs.c
kern_ktrace.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_lock.c For LOCKDEBUG: 2017-01-26 04:11:56 +00:00
kern_lwp.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_malloc.c
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 remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
kern_mutex_obj.c
kern_mutex.c Introduce mutex_ownable() to determine if it is possible for the current 2017-05-01 21:35:25 +00:00
kern_ntptime.c
kern_pax.c Extend the mmap(2) interface to allow requesting protections for later 2017-05-06 21:34:51 +00:00
kern_physio.c
kern_pmf.c
kern_proc.c factor out getauxv code. 2017-03-30 20:17:11 +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
kern_rate.c
kern_resource.c Add new sysctl variable proc.curproc.paxflags so a process can determine 2017-03-24 21:43:20 +00:00
kern_rndpool.c
kern_rndq.c
kern_rndsink.c
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
kern_rwlock.c For LOCKDEBUG: 2017-01-26 04:11:56 +00:00
kern_sdt.c
kern_sig.c - Propagate the signal mask from the ucontext_t to the newly created thread 2017-04-21 15:10:34 +00:00
kern_sleepq.c
kern_softint.c
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 * Split sys/kern/sys_process.c into three parts: 2016-11-02 00:11:59 +00:00
kern_subr.c
kern_synch.c
kern_syscall.c Instead of copying parts of sigswitch to process_stoptrace, use it directly. 2017-03-24 17:40:44 +00:00
kern_sysctl.c Add a check to ensure that a new sysctl node was attached in the tree 2017-04-25 22:07:10 +00:00
kern_tc.c
kern_time.c Adjust clock_nanosleep(2) to not copyout remaining time struct if 2016-11-11 15:29:36 +00:00
kern_timeout.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +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 Switch veriexec_dump() and veriexec_flush() to mountlist iterator. 2017-04-12 10:30:02 +00:00
kern_xxx.c
kgdb_stub.c
Make.tags.inc
Makefile
makesyscalls.sh Forward-declare struct lwp' so we can use struct lwp *' here. 2017-05-10 06:08:56 +00:00
sched_4bsd.c
sched_m2.c
subr_autoconf.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +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 By popular request, don't bother initializing a static pointer to NULL. 2016-11-18 02:37:33 +00:00
subr_callback.c
subr_copy.c
subr_cprng.c
subr_cpufreq.c
subr_debug.c
subr_device.c
subr_devsw.c Use __func__ for routine name in printf() calls. NFC intended. 2017-04-25 08:46:38 +00:00
subr_disk_mbr.c PR kern/51208 2017-02-19 07:43:42 +00:00
subr_disk_open.c
subr_disk.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_evcnt.c
subr_exec_fd.c
subr_extent.c panic() must be able to take varargs - in userspace testing too. 2016-12-19 13:02:14 +00:00
subr_hash.c
subr_humanize.c
subr_interrupt.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_iostat.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_ipi.c
subr_kcpuset.c
subr_kmem.c use opt_kmem.h for the KMEM_ variables. 2017-04-12 20:05:54 +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 remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_localcount.c localcount_init() can't fail because percpu_alloc() can't fail. 2017-06-02 00:32:12 +00:00
subr_lockdebug.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
subr_log.c
subr_lwp_specificdata.c
subr_once.c
subr_optstr.c
subr_pcq.c
subr_pcu.c allow pcu_save() and pcu_discard() to be called on other threads, 2017-03-16 16:13:19 +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 #if DIAGNOSTIC panic ---> KASSERT 2017-03-14 03:13:50 +00:00
subr_prf.c
subr_prof.c
subr_pserialize.c
subr_psref.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +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 The mbuf is freed by the protocol even on error, so always NULL the pointer 2016-10-31 15:27:24 +00:00
subr_time.c Use the new magic BINTIME_SCALE_* macros instead of magic numbers. 2017-01-05 23:29:14 +00:00
subr_userconf.c
subr_vmem.c assert that vmem_alloc() with VM_SLEEP does not fail. 2017-05-31 23:53:30 +00:00
subr_workqueue.c
subr_xcall.c Fix a race condition of low priority xcall 2016-11-21 00:54:21 +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
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 remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
sys_module.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
sys_mqueue.c
sys_pipe.c
sys_pmc.c
sys_process.c Paranoia... keep vmspace reference while doing pmap_procwr 2017-04-13 07:58:45 +00:00
sys_pset.c
sys_ptrace_common.c Fix kernel panic triggered with LLDB 2017-05-03 15:53:31 +00:00
sys_ptrace.c Introduce PT_GETDBREGS and PT_SETDBREGS in ptrace(2) on i386 and amd64 2017-02-23 03:34:22 +00:00
sys_sched.c
sys_select.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
sys_sig.c
sys_socket.c
sys_syscall.c
syscalls_autoload.c regen 2017-05-10 06:19:47 +00:00
syscalls.c regen 2017-05-10 06:19:47 +00:00
syscalls.conf
syscalls.master * Split sys/kern/sys_process.c into three parts: 2016-11-02 00:11:59 +00:00
systrace_args.c regen 2017-05-10 06:19:47 +00:00
sysv_ipc.c
sysv_msg.c don't forget to destroy a cv 2016-09-05 14:13:50 +00:00
sysv_sem.c
sysv_shm.c
tty_bsdpty.c
tty_conf.c
tty_ptm.c
tty_pty.c
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 Require exact credential match; this way even if we su to the original user 2016-10-01 04:42:54 +00:00
uipc_accf.c
uipc_domain.c
uipc_mbuf2.c
uipc_mbuf.c Remove extra 0x in m_print(). 2017-03-31 05:44:05 +00:00
uipc_proto.c
uipc_sem.c Memory leak, found by Mootja. By the way, we probably shouldn't be 2016-10-31 15:08:45 +00:00
uipc_socket2.c more MFREE -> m_free 2016-10-02 19:26:46 +00:00
uipc_socket.c merge the bouyer-socketcan branch to HEAD. 2017-05-27 21:02:54 +00:00
uipc_syscalls.c expose sendmsg_so and recvmsg_so. 2017-02-03 16:06:45 +00:00
uipc_usrreq.c Memory leak, found by Mootja. It is easily triggerable from userland. 2016-10-31 15:05:05 +00:00
vfs_bio.c move some buffer cache internals declarations from buf.h to vfs_bio.c. 2017-06-08 01:23:01 +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 remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
vfs_hooks.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
vfs_mount.c Operations fstrans_start() and fstrans_start_nowait() now always 2017-06-04 08:05:41 +00:00
vfs_quotactl.c
vfs_subr.c A vnode is usually called "active", if it has an associated file system 2017-06-04 07:58:29 +00:00
vfs_syscalls.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
vfs_trans.c Operations fstrans_start() and fstrans_start_nowait() now always 2017-06-04 08:05:41 +00:00
vfs_vnode.c Operations fstrans_start() and fstrans_start_nowait() now always 2017-06-04 08:05:41 +00:00
vfs_vnops.c Lock the vnode before changing its writecount. 2017-03-30 09:13:37 +00:00
vfs_wapbl.c move some buffer cache internals declarations from buf.h to vfs_bio.c. 2017-06-08 01:23:01 +00:00
vfs_xattr.c
vnode_if.c Operations fstrans_start() and fstrans_start_nowait() now always 2017-06-04 08:05:41 +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 Add "FSTRANS=LOCK" and "FSTRANS=UNLOCK" to vop_lock and vop_unlock. 2017-06-04 07:59:17 +00:00