NetBSD/sys/kern
riastradh 7493194aed Suppress pool redzone message unless booted with debug. 2020-09-05 17:33:11 +00:00
..
Make.tags.inc
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c
compat_stub.c Move all non-emulation-specific coredump code into the coredump module, 2019-11-20 19:37:51 +00:00
core_elf32.c coredump_note_elf{32,64}(): avoid allcating register state buffers on 2020-05-30 16:12:56 +00:00
core_elf64.c
core_netbsd.c Move all non-emulation-specific coredump code into the coredump module, 2019-11-20 19:37:51 +00:00
exec_aout.c Move all non-emulation-specific coredump code into the coredump module, 2019-11-20 19:37:51 +00:00
exec_ecoff.c Move all non-emulation-specific coredump code into the coredump module, 2019-11-20 19:37:51 +00:00
exec_elf.c Tidy up the vnode locking around execve() on ELF images to acquire and 2020-01-12 18:30:58 +00:00
exec_elf32.c Move all non-emulation-specific coredump code into the coredump module, 2019-11-20 19:37:51 +00:00
exec_elf64.c Move all non-emulation-specific coredump code into the coredump module, 2019-11-20 19:37:51 +00:00
exec_script.c Fix typo in comment. 2020-03-23 02:44:22 +00:00
exec_subr.c Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function 2020-04-13 19:23:17 +00:00
files.kern New system call getrandom() compatible with Linux and others. 2020-08-14 00:53:15 +00:00
genlintstub.awk
init_main.c Move address hashing from init_main.c to kern_sysctl.c. 2020-08-27 14:01:36 +00:00
init_sysctl.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
init_sysctl_base.c
init_sysent.c regen 2020-08-14 00:55:02 +00:00
kern_acct.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_auth.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
kern_cctr.c Fix 'unknown' spellos 2019-06-24 06:24:33 +00:00
kern_cfglock.c
kern_clock.c Run Solaris cyclics from statclock() so dtrace isn't locked out by IPL_SCHED 2020-05-08 22:10:08 +00:00
kern_condvar.c Remove timedwaitclock. 2020-05-11 03:59:33 +00:00
kern_core.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_cpu.c Do not allow disabling interrupts on the primary CPU. Fixes PR kern/45117. 2020-07-13 13:16:07 +00:00
kern_crashme.c Fix outdated comment. We've enabled crashme for non-DEBUG kernels. 2020-04-23 03:15:47 +00:00
kern_ctf.c
kern_descrip.c We already zeroed the struct, no point in zeroing things twice. 2020-08-28 10:20:14 +00:00
kern_drvctl.c Update for proplib(3) API changes. 2020-06-11 02:28:01 +00:00
kern_entropy.c New system call getrandom() compatible with Linux and others. 2020-08-14 00:53:15 +00:00
kern_event.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_exec.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_exit.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_fileassoc.c
kern_fork.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_history.c Traiing whitespace 2019-10-09 05:59:51 +00:00
kern_hook.c Add and use __FPTRCAST, requested by uwe@ 2019-10-16 18:29:49 +00:00
kern_idle.c Round of uvm.h cleanup. 2020-09-05 16:30:10 +00:00
kern_ksyms.c When reading from /dev/ksyms we need to skip over entries that have 2020-01-05 21:12:34 +00:00
kern_ksyms_buf.c
kern_kthread.c New functions kthread_fpu_enter/exit. 2020-08-01 02:04:55 +00:00
kern_ktrace.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_ktrace_vfs.c
kern_lock.c Fix inverted condition in r1.136 - we do want LOCKDEBUG spinouts of the 2020-05-02 09:13:40 +00:00
kern_lwp.c Permanent node doesn't need a log, plus the log gets leaked anyway. Found 2020-06-22 16:21:29 +00:00
kern_malloc.c Add support for Kernel Memory Sanitizer (kMSan). It detects uninitialized 2019-11-14 16:23:52 +00:00
kern_module.c uvm_availmem(): give it a boolean argument to specify whether a recent 2020-06-11 19:20:42 +00:00
kern_module_hook.c Trailing whitespace 2019-12-13 08:02:53 +00:00
kern_module_vfs.c
kern_mutex.c PR kern/55251 (use of ZFS may trigger kernel memory corruption (KASAN error)) 2020-05-12 21:56:17 +00:00
kern_mutex_obj.c Add some new functions for lock objects: 2020-01-01 21:34:39 +00:00
kern_ntptime.c
kern_pax.c PAX_SEGVGUARD doesn't seem to work properly in testing for me, but at least 2020-01-23 10:21:14 +00:00
kern_physio.c OR into bp->b_cflags; don't overwrite. 2020-03-14 15:31:29 +00:00
kern_pmf.c Oops, missed a couple. 2020-06-11 02:30:21 +00:00
kern_proc.c Round of uvm.h cleanup. 2020-09-05 16:30:10 +00:00
kern_prot.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_ras.c Remove charade dancing around now-dead RCU patent. 2019-12-14 16:58:25 +00:00
kern_rate.c
kern_reboot.c Mistake in previous - lwp_t *l was not meant to be static. 2020-02-23 22:56:41 +00:00
kern_resource.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_runq.c Oops. If a SCHED_RR thread is preempted and has exceeded its timeslice it 2020-05-23 21:24:41 +00:00
kern_rwlock.c Add rw_lock_op(): return either RW_READER or RW_WRITER for a lock that is 2020-02-22 21:24:44 +00:00
kern_rwlock_obj.c Add some new functions for lock objects: 2020-01-01 21:34:39 +00:00
kern_scdebug.c
kern_sdt.c
kern_sig.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_sleepq.c In sleepq_insert(), in the SOBJ_SLEEPQ_SORTED case, if there are existing 2020-05-21 00:39:04 +00:00
kern_softint.c softint_disestablish(): use a high priority xcall to determine that the 2020-05-17 14:11:30 +00:00
kern_ssp.c
kern_stub.c New functions kthread_fpu_enter/exit. 2020-08-01 02:04:55 +00:00
kern_subr.c - Introduce a new global kernel variable "shutting_down" to indicate that 2020-01-01 22:57:16 +00:00
kern_synch.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_syscall.c PR/55629: Andreas Gustafsson: Don't crash when an emulation does not provide 2020-08-31 19:51:30 +00:00
kern_sysctl.c Sort includes, nix trailing whitespace, fix comment. 2020-08-27 14:11:57 +00:00
kern_tc.c - remove #ifdef __FreeBSD__ 2020-05-27 09:09:50 +00:00
kern_threadpool.c Take the ASSERT_SLEEPABLE() out of threadpool_cancel_job() and add a 2020-04-25 17:43:23 +00:00
kern_time.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
kern_timeout.c Stop allocating struct cpu_info in BSS; No need to db_read_bytes() 2020-06-27 01:26:32 +00:00
kern_todr.c - In todr_gettime(), in the todr_gettime_ymdhms, pre-zero the clock_ymdhms 2020-01-03 01:24:48 +00:00
kern_turnstile.c - Replace pid_table_lock with a lockless lookup covered by pserialize, with 2020-05-23 20:45:10 +00:00
kern_uidinfo.c
kern_uuid.c
kern_veriexec.c Oops, missed a couple. 2020-06-11 02:30:21 +00:00
kgdb_stub.c
makesyscalls.sh Don't output things in awk hash order. Sort first. 2020-06-11 03:25:35 +00:00
sched_4bsd.c Oops. If a SCHED_RR thread is preempted and has exceeded its timeslice it 2020-05-23 21:24:41 +00:00
sched_m2.c Oops. If a SCHED_RR thread is preempted and has exceeded its timeslice it 2020-05-23 21:24:41 +00:00
subr_acl_nfs4.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
subr_acl_posix1e.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
subr_asan.c Round of uvm.h cleanup. 2020-09-05 16:30:10 +00:00
subr_autoconf.c avoid VLA for the sizeof() calculations 2020-08-01 11:18:26 +00:00
subr_blist.c
subr_bufq.c
subr_callback.c
subr_copy.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
subr_cprng.c Remove cprng initialization order hack. 2020-05-11 21:40:12 +00:00
subr_cpu.c Counter tweaks: 2020-06-11 22:21:05 +00:00
subr_cpufreq.c
subr_csan.c Make copystr() a MI C function, part of libkern and shared on all 2020-06-30 16:20:00 +00:00
subr_debug.c
subr_device.c
subr_devsw.c
subr_disk.c Update for proplib(3) API changes. 2020-06-11 02:32:06 +00:00
subr_disk_mbr.c Revert subr_disk_mbr.c r.1.54 2019-11-07 20:34:29 +00:00
subr_disk_open.c Make getdiskinfo() compatible with a DIOCGWEDGEINFO. 2020-02-29 14:44:44 +00:00
subr_disklabel.c
subr_emul.c
subr_evcnt.c
subr_exec_fd.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
subr_extent.c More diagnostic 2019-08-15 09:04:22 +00:00
subr_fault.c be one-shot by default, with room for circular 2020-06-30 16:28:17 +00:00
subr_hash.c
subr_humanize.c
subr_interrupt.c
subr_iostat.c Implement disk_rename()/iostat_rename() to rename a disk. 2019-05-22 08:47:02 +00:00
subr_ipi.c Add and use __FPTRCAST, requested by uwe@ 2019-10-16 18:29:49 +00:00
subr_kcov.c Sync trace-pc and trace-cmp. 2020-07-03 16:11:11 +00:00
subr_kcpuset.c Set kcpuset's bit correctly to avoid undefined behavior. Found by KUBSan. 2019-07-26 05:39:55 +00:00
subr_kmem.c KASSERT -> panic 2020-05-14 17:01:34 +00:00
subr_kobj.c print the index of the problematic symbol 2020-06-27 17:27:59 +00:00
subr_kobj_vfs.c
subr_localcount.c
subr_lockdebug.c Introduce kcov_silence_enter() and kcov_silence_leave(), to allow to 2020-05-15 13:09:02 +00:00
subr_log.c
subr_lwp_specificdata.c
subr_msan.c Round of uvm.h cleanup. 2020-09-05 16:30:10 +00:00
subr_once.c
subr_optstr.c
subr_pcq.c pcq_create(): fix broken assertion. 2019-12-16 18:50:44 +00:00
subr_pcu.c pcu_available_p is only used in KASSERT(), fix non-diagnostic build. 2020-08-07 18:46:00 +00:00
subr_percpu.c Teach percpu to run constructors on CPU attach. 2020-05-11 21:37:31 +00:00
subr_physmap.c uvmexp.ncolors being used where uvmexp.colormask wanted 2020-06-06 23:02:25 +00:00
subr_pool.c Suppress pool redzone message unless booted with debug. 2020-09-05 17:33:11 +00:00
subr_prf.c Remove support for '%n' in the kernel printf functions. 2020-07-11 07:14:53 +00:00
subr_prof.c
subr_pserialize.c Switch psz_ev_excl to static evcnt. 2019-12-05 03:21:29 +00:00
subr_psref.c
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c clean trailing whitespace 2020-03-07 23:20:19 +00:00
subr_thmap.c thmap: Use keyed BLAKE2s for second-level hash and beyond. 2020-08-31 20:22:57 +00:00
subr_time.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
subr_userconf.c
subr_vmem.c Nix trailing whitespace. 2020-06-20 18:30:53 +00:00
subr_workqueue.c New workqueue flag WQ_FPU. 2020-08-01 02:14:43 +00:00
subr_xcall.c Whitespace police (minor infraction). 2019-12-19 10:51:54 +00:00
sys_aio.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_descrip.c UVM locking changes, proposed on tech-kern: 2020-02-23 15:46:38 +00:00
sys_futex.c Revert "Use cv_timedwaitclock_sig in futex." 2020-05-05 15:25:18 +00:00
sys_generic.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_getrandom.c New system call getrandom() compatible with Linux and others. 2020-08-14 00:53:15 +00:00
sys_lwp.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_module.c
sys_mqueue.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_pipe.c Fix NULL deref. The original code before Jaromir's cleanup had an #ifndef 2020-06-25 16:19:07 +00:00
sys_process.c Catch up with the usage of struct vmspace::vm_refcnt 2020-05-26 00:50:53 +00:00
sys_process_lwpstatus.c Rename sys_ptrace_lwpstatus.c to sys_process_lwpstatus.c 2020-01-04 03:46:19 +00:00
sys_pset.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_ptrace.c Introduce PT_LWPSTATUS + PT_LWPNEXT, obsolete PT_LWPINFO 2019-12-24 14:50:59 +00:00
sys_ptrace_common.c Introduce PTRACE_REGS_ALIGN, and on x86, enforce a 16-byte alignment, due 2020-05-30 08:41:22 +00:00
sys_sched.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_select.c Set LW_SINTR earlier so it doesn't pose a problem for doing interruptable 2020-04-19 20:35:29 +00:00
sys_sig.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
sys_socket.c
sys_syscall.c Retire KLEAK. 2020-02-08 07:07:06 +00:00
syscalls.c regen 2020-08-14 00:55:02 +00:00
syscalls.conf Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
syscalls.master New system call getrandom() compatible with Linux and others. 2020-08-14 00:53:15 +00:00
syscalls_autoload.c Regen with new makesyscalls. 2020-06-11 03:45:30 +00:00
systrace_args.c regen 2020-08-14 00:55:02 +00:00
sysv_ipc.c Explicitly cast pointers to uintptr_t before casting to enums. They are 2020-02-21 00:26:21 +00:00
sysv_msg.c Avoid -LONG_MIN msgtyp in msgrcv(2) and treat it as LONG_MAX 2019-10-04 23:20:22 +00:00
sysv_sem.c Many years ago someone created a new __link_set_sysctl_funcs to hold 2019-08-07 00:38:01 +00:00
sysv_shm.c simpler fix for the race between shmat() and shmdt(): 2019-10-09 17:47:13 +00:00
tty.c Add a check to prevent shift by -1. Not really important in this case, 2020-08-26 16:36:32 +00:00
tty_bsdpty.c
tty_conf.c
tty_ptm.c PR kern/55237: Panic: vrelel: bad ref count (9.99.54) 2020-05-23 22:16:17 +00:00
tty_pty.c
tty_subr.c s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
tty_tty.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
uipc_accf.c
uipc_domain.c
uipc_mbuf.c fix KASSERT() for MHLEN case in m_defrag() - network stack usually does 2020-05-05 20:36:48 +00:00
uipc_mbufdebug.c
uipc_proto.c
uipc_sem.c Release the collision if we find one. 2020-05-04 13:58:48 +00:00
uipc_socket.c add socket info for user and group for unix sockets in fstat. 2020-08-26 22:54:30 +00:00
uipc_socket2.c add socket info for user and group for unix sockets in fstat. 2020-08-26 22:54:30 +00:00
uipc_syscalls.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
uipc_usrreq.c add socket info for user and group for unix sockets in fstat. 2020-08-26 22:54:30 +00:00
vfs_acl.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vfs_bio.c fix the UFS2 extattr truncate code to play nice with wapbl. 2020-07-31 04:07:30 +00:00
vfs_cache.c Nix trailing whitespace. NFCI. 2020-06-04 03:08:33 +00:00
vfs_cwd.c Revert the changes made in February to make cwdinfo use mostly lockless, 2020-04-21 21:42:47 +00:00
vfs_dirhash.c
vfs_getcwd.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vfs_hooks.c
vfs_init.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vfs_lockf.c
vfs_lookup.c lookup_fastforward(): 2020-06-15 18:44:10 +00:00
vfs_mount.c Move proc_lock into the data segment. It was dynamically allocated because 2020-05-23 23:42:41 +00:00
vfs_quotactl.c
vfs_subr.c use the right printing function 2020-07-26 21:28:33 +00:00
vfs_syscalls.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vfs_trans.c Reorganise the locking and allocation of fstrans_lwp_info slightly, to 2020-05-17 19:34:07 +00:00
vfs_vnode.c Fix bogus fast path in vput. 2020-08-04 03:00:10 +00:00
vfs_vnops.c Counter tweaks: 2020-06-11 22:21:05 +00:00
vfs_wapbl.c fix wapbl_discard() to actually discard the queued bufs properly - need 2020-04-12 17:02:52 +00:00
vfs_xattr.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vnode_if.c Regen. 2020-05-18 08:30:06 +00:00
vnode_if.sh Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vnode_if.src VOP_STRATEGY() may still deadlock with devices. 2020-05-18 08:29:34 +00:00