NetBSD/sys/kern
palle d482c9c5e5 syscall debug - fix build when SYSCALL_DEBUG option is present in kernel config file 2019-03-14 19:51:49 +00:00
..
Make.tags.inc
Makefile
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
compat_stub.c - Redo all the ioctl compat stuff to use a standard "ioctl" interface, 2019-02-05 23:28:02 +00:00
core_elf32.c Fix code generation for programs with a faulty process map 2019-01-22 03:44:44 +00:00
core_elf64.c
core_netbsd.c
exec_aout.c
exec_ecoff.c
exec_elf.c ignore the ancient NetBSD emulation tag. 2018-04-12 20:49:08 +00:00
exec_elf32.c
exec_elf64.c
exec_script.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +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 Add KCOV - kernel code coverage tracing device 2019-02-23 03:10:05 +00:00
genlintstub.awk
init_main.c Attach "mnt_transinfo" to "dead_rootmount" so every mount has a 2019-02-20 10:07:27 +00:00
init_sysctl.c remove kern.panic_now -- crashme panic node replaces it. 2019-01-15 07:11:23 +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_sysent.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +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
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_crashme.c clang does not like to deref a null pointer unless it is qualified volatile 2019-01-13 00:11:29 +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 handle O_NOSIGPIPE too. 2019-02-20 19:42:14 +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 Move pointer to fstrans private data into "struct lwp". 2019-03-01 09:02:03 +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.c use Elf_Sym ** instead of casting. 2017-11-04 22:17:55 +00:00
kern_ksyms_buf.c
kern_kthread.c KASSERT() that kthread_join()'s target is expecting to be joined. 2018-01-09 22:58:45 +00:00
kern_ktrace.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
kern_ktrace_vfs.c
kern_lock.c Apply C99-style struct initialization to lockops_t 2017-12-25 09:13:40 +00:00
kern_lwp.c Move pointer to fstrans private data into "struct lwp". 2019-03-01 09:02:03 +00:00
kern_malloc.c Mmh, fix len, mh_size includes the malloc header, but we don't redzone it. 2019-03-07 18:32:10 +00:00
kern_module.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
kern_module_vfs.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
kern_mutex.c Fix two oddities... 2019-03-10 12:49:48 +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_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 Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +00:00
kern_prot.c
kern_ras.c
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 - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
kern_rndq.c Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +00:00
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.c Sprinkle __predict_false to dedicated assertions of mutex and rwlock 2018-08-31 01:23:57 +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_scdebug.c syscall debug - fix build when SYSCALL_DEBUG option is present in kernel config file 2019-03-14 19:51:49 +00:00
kern_sdt.c
kern_sig.c Stop resetting signal context on a trap signal under a debugger 2019-03-08 23:32:30 +00:00
kern_sleepq.c
kern_softint.c Prevent panic or hangup in softint_disestablish(), pserialize_perform() or 2017-12-28 03:39:48 +00:00
kern_ssp.c
kern_stub.c remove extra #endif 2019-01-27 02:55:26 +00:00
kern_subr.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
kern_synch.c - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +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 print the names of the sysctl nodes in the KASSERT. 2019-01-28 15:56:12 +00:00
kern_tc.c Revert "Sprinkle cold conditionals to make tc_ticktock before inittimecounter." 2018-07-01 15:12:06 +00:00
kern_threadpool.c Use PRIu64 for "uint64_t tp_refcnt". 2019-01-17 10:18:52 +00:00
kern_time.c Fix the code that deals with very long sleeps (> 248 days) which 2019-03-10 14:45:53 +00:00
kern_timeout.c Undo previous, in the name of "defined" behaviour, it breaks things. 2019-03-10 13:44:49 +00:00
kern_todr.c
kern_turnstile.c
kern_uidinfo.c PR/53998: Joel Bertrand: Limit the number of semaphores on a 2019-03-01 03:03:19 +00:00
kern_uuid.c
kern_veriexec.c use __builtin_unreachable() after calls that panic or switch context 2019-02-04 09:54:47 +00:00
kgdb_stub.c
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 Improve the KASAN output, provide an error code, to help distinguish 2019-02-24 10:44:41 +00:00
subr_autoconf.c Fix compile error. 2018-12-01 02:08:16 +00:00
subr_blist.c
subr_bufq.c rename module_name to strategy_module_name to avoid fatal shadowing of 2019-02-17 23:17:41 +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.c Fix typo in comment (s/is/if/) - NFC. 2018-03-07 21:13:24 +00:00
subr_disk_mbr.c CID-1427768: Off by one 2018-01-21 16:55:25 +00:00
subr_disk_open.c Fix vnode locking for opendisk(), must lock for VOP_OPEN(). 2019-02-20 10:02:51 +00:00
subr_emul.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +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
subr_humanize.c This had a similar problem to that reported in PR lib/54053 2019-03-12 00:25:44 +00:00
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_kcov.c Introduce enhancements to the kcov(4) code 2019-03-10 22:34:14 +00:00
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 Clobber the size when freeing a buffer. This way, if the same buffer gets 2019-02-04 15:13:54 +00:00
subr_kobj.c add a kobj_error() to a recently added error case 2018-06-23 14:22: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_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
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 style 2019-03-13 20:56:33 +00:00
subr_prf.c add KASSERT()s to ensure aprint_*_dev() and aprint_*_ifp() is not called 2019-01-14 19:21:54 +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 Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
subr_tftproot.c tftproot_getfile(): return E2BIG when bootfile is to long. 2019-01-20 21:26:13 +00:00
subr_thmap.c pass a pointer to atomic_cas_ptr_p(), not an (equiv) integer. 2019-02-04 08:00:27 +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 Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@. 2019-02-10 17:13:33 +00:00
sys_descrip.c - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +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 Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +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.c handle siginfo requests for ptrace32 2017-12-17 20:59:27 +00:00
sys_ptrace_common.c - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
sys_sched.c
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.c Regen 2018-08-10 21:47:14 +00:00
syscalls.conf Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
syscalls.master Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
syscalls_autoload.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
systrace_args.c Regen 2018-08-10 21:47:14 +00:00
sysv_ipc.c Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +00:00
sysv_msg.c for sysv ipc stat operations, explicitly copy the exported parts 2019-02-21 03:37:18 +00:00
sysv_sem.c for sysv ipc stat operations, explicitly copy the exported parts 2019-02-21 03:37:18 +00:00
sysv_shm.c for sysv ipc stat operations, explicitly copy the exported parts 2019-02-21 03:37:18 +00:00
tty.c Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +00:00
tty_bsdpty.c
tty_conf.c
tty_ptm.c Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +00:00
tty_pty.c Fix reporting EOF via kevent and add a test case 2019-02-15 18:57:15 +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
uipc_accf.c
uipc_domain.c Fix apparent race. 2018-12-27 07:56:43 +00:00
uipc_mbuf.c Fix ipsecif(4) cannot apply input direction packet filter. Reviewed by ozaki-r@n.o and ryo@n.o. 2019-01-17 02:47:15 +00:00
uipc_mbufdebug.c KNF. No functional change. 2018-10-18 05:44:19 +00:00
uipc_proto.c
uipc_sem.c PR/53998: Joel Bertrand: Limit the number of semaphores on a 2019-03-01 03:03:19 +00:00
uipc_socket.c Remove getsombuf(), unused. 2019-03-07 12:29:14 +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_syscalls.c sys_recvmmsg: don't defer an error that already gets returned. 2018-11-12 09:21:13 +00:00
uipc_usrreq.c Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +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
vfs_cwd.c
vfs_dirhash.c Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@. 2019-02-10 17:13:33 +00:00
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 Take a reference on ndp->ni_rootdir and ndp->ni_erootdir. 2019-03-12 14:03:35 +00:00
vfs_mount.c Move fstrans_unmount() to vfs_rele(), just before it would free the mount. 2019-02-20 10:08:37 +00:00
vfs_quotactl.c
vfs_subr.c Add "void *extra" argument to vcache_new() so a file system may 2019-01-01 10:06:54 +00:00
vfs_syscalls.c Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly 2019-03-01 11:06:55 +00:00
vfs_trans.c Change "fli_alias" to point to the corresponding "fstrans_lwp_info". 2019-03-07 11:09:10 +00:00
vfs_vnode.c Attach "mnt_transinfo" to "dead_rootmount" so every mount has a 2019-02-20 10:07:27 +00:00
vfs_vnops.c Change vn_openchk() to fail VNON and VBAD with error ENXIO. 2019-03-07 11:09:48 +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