NetBSD/sys/kern
maxv 7347d2a8bd Add support for detecting use-after-frees in KASAN. We poison each freed
buffer, any subsequent read or write will be detected as illegal.

 * Add POOL_CHECK_MAGIC, which is disabled under KASAN, because the same
   detection is done in a better way.

 * Register the size+redzone in the pool structure, to reduce the overhead.

 * Fix the CTOR/DTOR check in KLEAK, the fields are never NULL.
2018-12-16 21:03:35 +00:00
..
Make.tags.inc
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c
core_elf32.c
core_elf64.c
core_netbsd.c
exec_aout.c
exec_ecoff.c
exec_elf.c
exec_elf32.c
exec_elf64.c
exec_script.c
exec_subr.c
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
init_sysctl.c As discussed in tech-kern: 2018-12-05 18:16:51 +00:00
init_sysctl_base.c
init_sysent.c
kern_acct.c
kern_auth.c
kern_cctr.c
kern_cfglock.c
kern_clock.c
kern_condvar.c
kern_core.c
kern_cpu.c
kern_ctf.c
kern_descrip.c
kern_drvctl.c
kern_event.c
kern_exec.c
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
kern_history.c
kern_hook.c
kern_idle.c
kern_ksyms.c
kern_ksyms_buf.c
kern_kthread.c
kern_ktrace.c
kern_ktrace_vfs.c
kern_lock.c
kern_lwp.c
kern_malloc.c
kern_module.c
kern_module_vfs.c
kern_mutex.c
kern_mutex_obj.c
kern_ntptime.c
kern_pax.c
kern_physio.c
kern_pmf.c
kern_proc.c Remove unused mbuf.h includes. 2018-12-10 14:46:24 +00:00
kern_prot.c
kern_ras.c
kern_rate.c
kern_reboot.c
kern_resource.c
kern_rndpool.c
kern_rndq.c
kern_rndsink.c
kern_runq.c
kern_rwlock.c
kern_rwlock_obj.c
kern_scdebug.c
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
kern_softint.c
kern_ssp.c
kern_stub.c
kern_subr.c
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
kern_sysctl.c
kern_tc.c
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
kern_todr.c
kern_turnstile.c
kern_uidinfo.c
kern_uuid.c
kern_veriexec.c
kgdb_stub.c
makesyscalls.sh
sched_4bsd.c
sched_m2.c
subr_asan.c
subr_autoconf.c Fix compile error. 2018-12-01 02:08:16 +00:00
subr_blist.c
subr_bufq.c
subr_callback.c
subr_copy.c
subr_cprng.c
subr_cpufreq.c
subr_debug.c
subr_device.c
subr_devsw.c
subr_disk.c
subr_disk_mbr.c
subr_disk_open.c
subr_evcnt.c
subr_exec_fd.c
subr_extent.c
subr_hash.c
subr_humanize.c
subr_interrupt.c
subr_iostat.c
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
subr_kobj.c
subr_kobj_vfs.c
subr_localcount.c
subr_lockdebug.c
subr_log.c
subr_lwp_specificdata.c
subr_once.c
subr_optstr.c
subr_pcq.c
subr_pcu.c
subr_percpu.c
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
subr_prof.c
subr_pserialize.c
subr_psref.c
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c
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
subr_userconf.c
subr_vmem.c
subr_workqueue.c
subr_xcall.c
sys_aio.c
sys_descrip.c
sys_generic.c
sys_lwp.c
sys_module.c
sys_mqueue.c
sys_pipe.c
sys_process.c
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
sys_ptrace_common.c Fix stack info leak. 2018-11-29 11:45:52 +00:00
sys_sched.c
sys_select.c
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
syscalls.conf
syscalls.master
syscalls_autoload.c
systrace_args.c
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c
tty.c
tty_bsdpty.c
tty_conf.c
tty_ptm.c
tty_pty.c
tty_subr.c
tty_tty.c
uipc_accf.c
uipc_domain.c
uipc_mbuf.c
uipc_mbufdebug.c
uipc_proto.c
uipc_sem.c
uipc_socket.c
uipc_socket2.c
uipc_syscalls.c
uipc_usrreq.c
vfs_bio.c
vfs_cache.c
vfs_cwd.c
vfs_dirhash.c
vfs_getcwd.c
vfs_hooks.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c
vfs_mount.c
vfs_quotactl.c
vfs_subr.c
vfs_syscalls.c
vfs_trans.c
vfs_vnode.c
vfs_vnops.c
vfs_wapbl.c constify wapbl_ops 2018-12-10 21:19:33 +00:00
vfs_xattr.c
vnode_if.c
vnode_if.sh
vnode_if.src