NetBSD/sys/kern
thorpej 317dcfdb56 Support modifying an existing timer without having to delete it first.
Semantics match FreeBSD.
2021-10-22 04:49:24 +00:00
..
Make.tags.inc
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c
compat_stub.c fix various typos in compatibility, mainly in comments. 2021-08-09 20:49:08 +00:00
core_elf32.c Use <compat/netbsd32/netbsd32.h> instead of <machine/netbsd32_machdep.h>, 2021-01-02 02:13:42 +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
device_calls Device call interface definition files for the "device" and "pci" 2021-09-15 17:26:06 +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 Remove a superfluous VOP_GETATTR() from elf_load_interp() and replace 2021-05-18 08:59:44 +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 Remove duplicate #ifdef block. 2021-05-03 10:25:14 +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 Add native implementations of eventfd(2) and timerfd(2), compatible with 2021-09-19 15:51:27 +00:00
gendevcalls.awk Add an awk program that reads in a device call interface description 2021-09-15 17:25:14 +00:00
genlintstub.awk
init_main.c Expose olde style intrcnt interrupt accounting via event counters. 2021-04-01 04:41:38 +00:00
init_sysctl.c KNF (sort #includes and remove duplicate sys/cpu.h) 2020-09-20 12:51:57 +00:00
init_sysctl_base.c
init_sysent.c Regen for eventfd(2) and timerfd(2). 2021-09-19 15:52:04 +00:00
kern_acct.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
kern_auth.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
kern_cctr.c Add some more detail/explanation to the calibration timing diagram. 2020-10-10 18:18:04 +00:00
kern_cfglock.c
kern_clock.c fix rumpkernel build failure 2021-08-14 21:17:11 +00:00
kern_condvar.c PR/55664: Ruslan Nikolaev: Split out sleepq guts and turnstiles not used 2020-11-01 20:55:15 +00:00
kern_core.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
kern_cpu.c PR kern/45117 2020-10-08 09:16:13 +00:00
kern_crashme.c New crashme sysctl to enter ddb directly. 2021-09-07 11:00:13 +00:00
kern_ctf.c Check the CTF magic number in an endian friendly way (and don't use 2021-04-06 07:57:03 +00:00
kern_descrip.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
kern_drvctl.c drvctl(4): If no ifattr is specified on rescan, rescan all of them. 2021-06-16 00:19:46 +00:00
kern_entropy.c entropy_read_filtops is MPSAFE. 2021-09-26 15:10:51 +00:00
kern_event.c Support modifying an existing timer without having to delete it first. 2021-10-22 04:49:24 +00:00
kern_exec.c Changes to make EVFILT_PROC MP-safe: 2021-10-10 18:07:51 +00:00
kern_exit.c Changes to make EVFILT_PROC MP-safe: 2021-10-10 18:07:51 +00:00
kern_fileassoc.c
kern_fork.c Changes to make EVFILT_PROC MP-safe: 2021-10-10 18:07:51 +00:00
kern_history.c Traiing whitespace 2019-10-09 05:59:51 +00:00
kern_hook.c Some platforms need sys/cpu.h for curlwp so #include it 2021-09-30 07:15:02 +00:00
kern_idle.c Round of uvm.h cleanup. 2020-09-05 16:30:10 +00:00
kern_ksyms.c ksymsmmap: Add missing uao_reference(9) call for ks->ks_uobj. 2021-09-22 05:42:19 +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 Use "static" in the function intro if the function is static. 2021-02-27 13:02:42 +00:00
kern_ktrace_vfs.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
kern_lock.c Comments. 2020-12-22 01:57:29 +00:00
kern_lwp.c futex_release_all_lwp(): No need to pass the "tid" argument separately; that 2021-09-28 15:05:42 +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 fix typos in word "successfully", mainly s/succesfully/successfully/. 2021-09-16 21:29:41 +00:00
kern_module_hook.c Trailing whitespace 2019-12-13 08:02:53 +00:00
kern_module_vfs.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
kern_mutex.c - In kern_mutex.c, if MUTEX_CAS() is not defined, define it in terms of 2021-08-25 04:13:41 +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 Respect alignment requests of executable when PAX_ASLR is enabled on 2021-08-30 01:25:10 +00:00
kern_physio.c fix typos in word "successful". 2021-09-16 22:19:10 +00:00
kern_pmf.c Back out fix for kern_pmf.c calling a null if_stop and apply a fix 2021-07-01 22:08:13 +00:00
kern_proc.c Avoid negating the minimum size of pid_t (this overflows). 2020-12-24 12:14:50 +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 sig_filtops is MPSAFE. 2021-09-26 17:34:19 +00:00
kern_sleepq.c - sleepq_block(): Add a new LWP flag, LW_CATCHINTR, that is used to track 2020-10-23 00:25:45 +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 Restore missing message for RB_ASKNAME. 2020-11-21 08:10:27 +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 timecounter(9): Zero the next pointer after tc_detach. 2021-06-02 21:34:58 +00:00
kern_threadpool.c threadpool(9): Fix synchronization between cancel and dispatch. 2021-01-23 16:33:49 +00:00
kern_time.c Centralise the setitimer() timer type validation in dosetitimer() as is 2021-04-03 12:57:21 +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 Print the "preposterous TOD clock time" message only if the RTC is 2021-04-03 12:06:53 +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 Add a sysctl hashstat collector for uihash. 2021-04-01 06:25:45 +00:00
kern_uuid.c
kern_veriexec.c Oops, missed a couple. 2020-06-11 02:30:21 +00:00
kgdb_stub.c Improve English in comments 2021-01-13 07:36:56 +00:00
makesyscalls.sh s/optiona]/optional]/ 2021-10-21 11:01:03 +00:00
sched_4bsd.c fix typos in asymmetry, asymmetric(al), symmetrical. 2021-08-09 19:57:57 +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 While we are inside ddb, allow all memory access. 2020-12-18 15:33:34 +00:00
subr_autoconf.c Squash "holding up boot" messages into a single line, and only print the 2021-10-11 10:59:09 +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 need <sys/param.h> for COHERENCY_UNIT 2021-07-21 06:35:44 +00:00
subr_cpu.c remove duplicate the article in comments. 2021-10-04 21:02:39 +00:00
subr_cpufreq.c
subr_csan.c ksyms: Use pserialize(9) for kernel access to ksyms. 2021-09-11 10:09:55 +00:00
subr_debug.c
subr_device.c Adjust the device_call() calling convention so as to provide type checking 2021-09-15 17:33:08 +00:00
subr_devsw.c
subr_disk.c move bi-endian disklabel support from the kernel and libsa into libkern. 2021-05-17 08:50:36 +00:00
subr_disk_mbr.c move bi-endian disklabel support from the kernel and libsa into libkern. 2021-05-17 08:50:36 +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 avoid an error in the recent sys/evcnt.h change to drop the 0 2021-04-17 00:05:31 +00:00
subr_exec_fd.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +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 Return ENOENT if the hashstat sysctl was called to query a specific hash 2021-06-13 14:58:49 +00:00
subr_humanize.c
subr_interrupt.c
subr_iostat.c
subr_ipi.c ipi: Membar audit. 2020-11-27 20:11:33 +00:00
subr_kcov.c Sync trace-pc and trace-cmp. 2020-07-03 16:11:11 +00:00
subr_kcpuset.c
subr_kmem.c Do not cast memcpy arguments when the intention is unaligned access. 2021-02-06 13:54:48 +00:00
subr_kobj.c fix mainly same typos as in my previous commit but outside sys/dev/dm. 2021-08-21 23:00:30 +00:00
subr_kobj_vfs.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
subr_localcount.c
subr_lockdebug.c KNF. No binary changes. 2021-03-02 01:20:35 +00:00
subr_log.c logread_filtops is MPSAFE. 2021-09-26 15:11:33 +00:00
subr_lwp_specificdata.c
subr_msan.c ksyms: Use pserialize(9) for kernel access to ksyms. 2021-09-11 10:09:55 +00:00
subr_once.c
subr_optstr.c
subr_pcq.c Fix typo in comment. 2021-02-08 09:31:05 +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 fix typos in word "segment" and two additional typos in if_tl.c. 2021-09-06 20:55:08 +00:00
subr_pool.c Add accessor functions to get the number of gets and puts on pools and 2021-07-25 06:00:31 +00:00
subr_prf.c Add printf_nostamp(9), kernel printf() without prepending a timestamp. 2021-03-10 13:27:51 +00:00
subr_prof.c Improved the performance of kernel profiling on MULTIPROCESSOR, and possible to get profiling data for each CPU. 2021-08-14 17:51:18 +00:00
subr_pserialize.c pserialize(9): Lift rule that pserialize_perform be serialized. 2021-10-10 11:20:46 +00:00
subr_psref.c need <sys/param.h> for COHERENCY_UNIT 2021-07-21 06:35:44 +00:00
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c Remove unnecessary inclusion of <sys/timevar.h> 2020-12-05 17:42:29 +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 don't opencode kauth_cred_get() 2021-09-21 14:54:26 +00:00
subr_userconf.c
subr_vmem.c fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected. 2021-08-17 22:00:26 +00:00
subr_workqueue.c workqueue: Lift unnecessary restriction on workqueue_wait. 2020-09-08 17:02:18 +00:00
subr_xcall.c Comments. 2020-12-22 01:57:29 +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 sys/kern: Avoid fp->f_offset without the object (here, vnode) lock. 2021-09-11 10:09:13 +00:00
sys_eventfd.c Consistently reference kn->kn_data only within the lock perimeter in 2021-09-27 00:40:49 +00:00
sys_futex.c fix various typos, mainly in comments, but also in man pages and log messages. 2021-10-21 13:21:53 +00:00
sys_generic.c sys/kern: Allow custom fileops to specify fo_seek method. 2021-09-11 10:08:55 +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 Setting EV_EOF requires modifying kn->kn_flags. However, that relies on 2021-10-11 01:07:36 +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 Include missing <sys/proc.h>. Hopefully fix build for everyone except vax, 2020-10-20 22:31:20 +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 Don't use == for assignment. 2020-11-04 19:16:34 +00:00
sys_ptrace_common.c fix various typos in compatibility, mainly in comments. 2021-08-09 20:49:08 +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 - Change selremove_knote() from returning void to bool, and return 2021-09-29 02:47:22 +00:00
sys_sig.c Since trampoline ABI ver0 is also used in other emulation environments (e.g. linux emulation), 2021-09-23 06:58:47 +00:00
sys_socket.c When SS_RESTARTSYS was added, it was accidentally given the same value as 2020-11-17 03:22:33 +00:00
sys_syscall.c Retire KLEAK. 2020-02-08 07:07:06 +00:00
sys_timerfd.c Consistently reference kn->kn_data only within the lock perimeter in 2021-09-27 00:40:49 +00:00
syscalls.c Regen for eventfd(2) and timerfd(2). 2021-09-19 15:52:04 +00:00
syscalls.conf Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
syscalls.master Add native implementations of eventfd(2) and timerfd(2), compatible with 2021-09-19 15:51:27 +00:00
syscalls_autoload.c Regen for eventfd(2) and timerfd(2). 2021-09-19 15:52:04 +00:00
systrace_args.c Regen for eventfd(2) and timerfd(2). 2021-09-19 15:52:04 +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 ttyread_filtops, ttywrite_filtops, ptcread_filtops, and ptcwrite_filtops 2021-09-29 13:14:39 +00:00
tty_bsdpty.c
tty_conf.c fix various typos in compatibility, mainly in comments. 2021-08-09 20:49:08 +00:00
tty_ptm.c Add containment for the cloning devices hack in vn_open. 2021-06-29 22:40:53 +00:00
tty_pty.c Setting EV_EOF requires modifying kn->kn_flags. However, that relies on 2021-10-11 01:07:36 +00:00
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 PR/55777: Ruslan Nikolaev: Move the unp_sysctl_create to uipc_usrreq.c to 2020-11-06 14:50:13 +00:00
uipc_mbuf.c Fix a bug that NMBCLUSTERS(kern.mbuf.nmbclusters) can't be changed by sysctl. 2021-10-06 05:24:54 +00:00
uipc_mbufdebug.c
uipc_proto.c
uipc_sem.c when updating the per-uid "semcnt", decrement the counter for the uid 2020-12-14 23:12:12 +00:00
uipc_socket.c Setting EV_EOF requires modifying kn->kn_flags. However, that relies on 2021-10-11 01:07:36 +00:00
uipc_socket2.c - fifo_poll(): If the last writer has disappeared, detect this and return 2021-10-02 02:07:41 +00:00
uipc_syscalls.c ...and correct my terrible spelling. 2021-10-02 17:37:21 +00:00
uipc_usrreq.c introduce a SOL_LOCAL for unix-domain socket level socket options 2021-08-08 20:54:48 +00:00
vfs_acl.c Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
vfs_bio.c If we're only doing a count-only kern.buf sysctl, just return the number 2021-07-25 06:06:40 +00:00
vfs_cache.c don't opencode kauth_cred_get() 2021-09-21 14:54:26 +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 s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/ 2021-08-21 09:59:45 +00:00
vfs_getcwd.c Now remove cn_consume from struct componentname. 2021-06-29 22:39:20 +00:00
vfs_hooks.c
vfs_init.c Fix the locking around EVFILT_FS. Previously, the code would walk the 2021-09-26 21:29:38 +00:00
vfs_lockf.c Tie the maximum file lock per unprivilegied uid to kern.maxfiles 2021-07-27 09:32:55 +00:00
vfs_lookup.c Now remove cn_consume from struct componentname. 2021-06-29 22:39:20 +00:00
vfs_mount.c Reorganize uvm_swap_shutdown() a bit, make sure the vnode gets 2021-02-16 09:56:32 +00:00
vfs_quotactl.c
vfs_subr.c Spinkle some KNF spaces after commas. 2021-10-16 07:12:01 +00:00
vfs_syscalls.c Fix the locking around EVFILT_FS. Previously, the code would walk the 2021-09-26 21:29:38 +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 Overhaul of the EVFILT_VNODE kevent(2) filter: 2021-10-20 03:08:16 +00:00
vfs_vnops.c Overhaul of the EVFILT_VNODE kevent(2) filter: 2021-10-20 03:08:16 +00:00
vfs_wapbl.c initialize wc_unused to 0, to avoid writing uninitialized memory to disk. 2021-08-03 20:25:43 +00:00
vfs_xattr.c factor out the ktrace printing into their own functions. 2021-06-27 09:13:08 +00:00
vnode_if.c Regen for: 2021-10-20 03:13:14 +00:00
vnode_if.sh Overhaul of the EVFILT_VNODE kevent(2) filter: 2021-10-20 03:08:16 +00:00
vnode_if.src Overhaul of the EVFILT_VNODE kevent(2) filter: 2021-10-20 03:08:16 +00:00