1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/sys/kern
mpi e09b1b7c39 Change sosetopt() to no longer free the mbuf it receives and change
all the callers to call m_freem(9).

Support from deraadt@ and tedu@, ok visa@, bluhm@
2017-09-01 15:05:31 +00:00
..
clock_subr.c Pull in <sys/time.h> for clock_ymdhms bits 2016-08-26 07:09:56 +00:00
dma_alloc.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
exec_conf.c In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except 2017-02-08 05:09:25 +00:00
exec_elf.c Initialize the stack buffer used to build the auxiliary vector to zero to 2017-03-20 00:05:21 +00:00
exec_script.c Add a flags argument to falloc() that lets it optionally set the 2017-02-11 19:51:06 +00:00
exec_subr.c Add a gap of 1MB between the stack and mmap spaces. 2017-05-18 18:50:32 +00:00
genassym.sh create a temp directory for all the temp files instead of trying to name 2017-08-15 01:53:06 +00:00
init_main.c Load CTF debug symbols before mountroot 2017-08-14 19:50:31 +00:00
init_sysent.c regen 2017-08-12 00:04:06 +00:00
kern_acct.c p_comm is the process's command and isn't per thread, so move it from 2017-01-21 05:42:03 +00:00
kern_bufq.c Correct the check when selecting an elevator 2017-08-16 17:52:17 +00:00
kern_clock.c Introduce jiffies, a volatile unsigned long version of our ticks variable 2017-07-22 14:33:45 +00:00
kern_descrip.c Initialize a local variable to not leak kernel stack info to userland 2017-07-20 16:47:21 +00:00
kern_event.c Add support for EV_RECEIPT and EV_DISPATCH flags 2017-05-31 14:52:05 +00:00
kern_exec.c Remove old deactivated pledge path code. A replacement mechanism is 2017-08-29 02:51:27 +00:00
kern_exit.c Remove old deactivated pledge path code. A replacement mechanism is 2017-08-29 02:51:27 +00:00
kern_fork.c Remove old deactivated pledge path code. A replacement mechanism is 2017-08-29 02:51:27 +00:00
kern_kthread.c Split up fork1(): 2017-02-12 04:55:08 +00:00
kern_ktrace.c add a fktrace syscall that takes a file descriptor instead of a name. 2017-08-12 00:03:10 +00:00
kern_lock.c Drop unnecessary headers. This fixes kernel build on platforms 2017-04-20 15:06:47 +00:00
kern_malloc_debug.c make malloc(9) mpsafe by using a mutex instead of splvm. 2017-07-10 23:49:10 +00:00
kern_malloc.c make malloc(9) mpsafe by using a mutex instead of splvm. 2017-07-10 23:49:10 +00:00
kern_mutex.c Hook up mutex(9) to witness(4). 2017-04-20 13:57:29 +00:00
kern_physio.c Remove some includes include-what-you-use claims don't 2015-03-14 03:38:46 +00:00
kern_pledge.c Remove old deactivated pledge path code. A replacement mechanism is 2017-08-29 02:51:27 +00:00
kern_proc.c Update usage for ps/w to match previous commit 2017-02-04 07:42:52 +00:00
kern_prot.c Delete the getlogin59 syscall, which was last used one year, two releases, 2017-04-13 04:06:46 +00:00
kern_resource.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
kern_rwlock.c Add rw_assert_anylock(), for assering you have it either read or write locked 2017-08-12 23:27:44 +00:00
kern_sched.c Split up fork1(): 2017-02-12 04:55:08 +00:00
kern_sensors.c Correct wakeup() dance in sensor_task_work() 2017-04-09 15:47:18 +00:00
kern_sig.c ASLR, W^X, and guard pages trigger processor traps that result in 2017-06-08 17:14:02 +00:00
kern_srp.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
kern_subr.c Convert most of the manual checks for CPU hogging to sched_pause(). 2017-02-14 10:31:15 +00:00
kern_synch.c Do not panic if we find ourself on the sleep queue while being SONPROC. 2017-05-18 07:08:45 +00:00
kern_sysctl.c Remove NET_LOCK()'s argument. 2017-08-11 21:24:19 +00:00
kern_task.c Convert most of the manual checks for CPU hogging to sched_pause(). 2017-02-14 10:31:15 +00:00
kern_tc.c Drop unused variable from ntp_update_second(). 2017-03-07 20:22:37 +00:00
kern_time.c Rename pfind(9) into tfind(9) to reflect that it deals with threads. 2017-01-24 00:58:55 +00:00
kern_timeout.c avoid holding timeout_mutex while interacting with the scheduler. 2016-10-03 11:54:29 +00:00
kern_uuid.c Sync enc/dec routines with libc. 2014-08-31 20:15:54 +00:00
kern_watchdog.c Revert previous, it's a documented behavior and people might rely on it. 2017-01-09 17:58:44 +00:00
kern_xxx.c p_comm is the process's command and isn't per thread, so move it from 2017-01-21 05:42:03 +00:00
Makefile +arm64 2017-01-25 03:18:06 +00:00
makesyscalls.sh unbalenced->unbalanced 2016-09-26 16:42:34 +00:00
sched_bsd.c Convert most of the manual checks for CPU hogging to sched_pause(). 2017-02-14 10:31:15 +00:00
spec_vnops.c Increase size of the clone bitmap (revised diff after revert). I have 2016-04-05 19:26:15 +00:00
subr_autoconf.c Change a bunch of (<blah> *)0 to NULL. 2016-03-14 23:08:05 +00:00
subr_disk.c Turns out gcc complains about %02hhx. So simply use %02x instead. This is 2017-08-07 11:50:58 +00:00
subr_evcount.c Remove some includes include-what-you-use claims don't 2015-03-14 03:38:46 +00:00
subr_extent.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
subr_hibernate.c print why the signature block check of an unhibernate attempt failed, to 2017-08-17 06:50:41 +00:00
subr_log.c Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and 2017-08-08 14:23:23 +00:00
subr_percpu.c Always allocate counters memory using type M_COUNTERS. 2017-02-05 16:23:38 +00:00
subr_poison.c Remove some includes include-what-you-use claims don't 2015-03-14 03:38:46 +00:00
subr_pool.c New flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks instead 2017-08-13 20:26:33 +00:00
subr_prf.c Rename Debugger() into db_enter(). 2017-04-30 16:45:45 +00:00
subr_prof.c Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel 2016-09-04 09:22:28 +00:00
subr_tree.c make rb_n2e return a struct rb_entry *, not void * 2017-06-08 03:30:52 +00:00
subr_userconf.c Rename Debugger() into db_enter(). 2017-04-30 16:45:45 +00:00
subr_witness.c Silence clang warnings: remove unused variables and s/%hx/%x/g 2017-08-12 03:13:23 +00:00
subr_xxx.c remove stale lint annotations 2015-12-05 10:11:53 +00:00
sys_futex.c New flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks instead 2017-08-13 20:26:33 +00:00
sys_generic.c Assert that the corresponding socket is locked when manipulating socket 2017-06-26 09:32:31 +00:00
sys_pipe.c Add a flags argument to falloc() that lets it optionally set the 2017-02-11 19:51:06 +00:00
sys_process.c Uninitialized variable can leak kernel memory. 2017-07-19 14:17:49 +00:00
sys_socket.c Remove NET_LOCK()'s argument. 2017-08-11 21:24:19 +00:00
syscalls.c regen 2017-08-12 00:04:06 +00:00
syscalls.conf
syscalls.master add a fktrace syscall that takes a file descriptor instead of a name. 2017-08-12 00:03:10 +00:00
sysv_ipc.c Remove some includes include-what-you-use claims don't 2015-03-14 03:38:46 +00:00
sysv_msg.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
sysv_sem.c Remove some includes include-what-you-use claims don't 2015-03-14 03:38:46 +00:00
sysv_shm.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
tty_conf.c Re-add config includes 2015-12-22 20:31:51 +00:00
tty_endrun.c Move ppp, nmea, endrun, and msts prototypes to tty.h 2015-12-21 21:49:02 +00:00
tty_msts.c Move ppp, nmea, endrun, and msts prototypes to tty.h 2015-12-21 21:49:02 +00:00
tty_nmea.c Move ppp, nmea, endrun, and msts prototypes to tty.h 2015-12-21 21:49:02 +00:00
tty_pty.c some of this code was written in an era when spaces cost extra. 2017-07-04 17:29:51 +00:00
tty_subr.c Change a bunch of (<blah> *)0 to NULL. 2016-03-14 23:08:05 +00:00
tty_tty.c it's not wrong, but it's not clear what the verauth check is for. 2016-09-06 08:13:23 +00:00
tty.c Due to risks known for decades, TIOCSTI now performs no action, and simply 2017-06-29 04:10:07 +00:00
uipc_domain.c Remove NET_LOCK()'s argument. 2017-08-11 21:24:19 +00:00
uipc_mbuf2.c Use ph_ prefix for tag-related fields. 2015-11-13 10:12:39 +00:00
uipc_mbuf.c Put an assert that M_PKTHDR is set before accessing m_pkthdr in the 2017-05-27 16:41:10 +00:00
uipc_proto.c Move PRU_ATTACH out of the pr_usrreq functions into pr_attach. 2017-03-13 20:18:21 +00:00
uipc_socket2.c Remove NET_LOCK()'s argument. 2017-08-11 21:24:19 +00:00
uipc_socket.c Change sosetopt() to no longer free the mbuf it receives and change 2017-09-01 15:05:31 +00:00
uipc_syscalls.c Change sosetopt() to no longer free the mbuf it receives and change 2017-09-01 15:05:31 +00:00
uipc_usrreq.c Validate sockaddr from userland in central functions. This results 2017-08-11 19:53:02 +00:00
vfs_bio.c Revisit 2q queue sizes. Limit the hot queue to 1/20th the cache size up 2017-08-27 01:59:30 +00:00
vfs_biomem.c Flip previously warm pages in the buffer cache to memory above the DMA 2017-04-16 14:25:42 +00:00
vfs_cache.c Use TAILQ_FOREACH_SAFE in cache_purgevfs(). Fix whitespaces. 2017-02-09 19:02:34 +00:00
vfs_default.c Remove the unused olddp parameter from function dounmount(). 2017-01-10 19:48:32 +00:00
vfs_getcwd.c Add some sanity length checks in VFS directory scan. This protects 2017-07-28 21:54:49 +00:00
vfs_init.c all pools have their ipl set via pool_setipl, so fold it into pool_init. 2016-09-15 02:00:16 +00:00
vfs_lockf.c Split PID from TID, giving processes a PID unrelated to the TID of their 2016-11-07 00:26:32 +00:00
vfs_lookup.c Remove old deactivated pledge path code. A replacement mechanism is 2017-08-29 02:51:27 +00:00
vfs_subr.c Give back some space to the ramdisk by compiling net/radix.c only 2017-07-31 16:47:03 +00:00
vfs_sync.c Convert most of the manual checks for CPU hogging to sched_pause(). 2017-02-14 10:31:15 +00:00
vfs_syscalls.c After forced unmount of a file system that has other mount points 2017-04-15 13:56:43 +00:00
vfs_vnops.c Nuke trailing whitespace 2017-08-13 22:08:44 +00:00
vfs_vops.c VOP_REALLOCBLKS() and related code is unused since the removal of 2016-05-23 09:31:28 +00:00