OpenBSD CVS

src/sys/kern/


Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.

Current directory: [local] / src / sys / kern

Current tag: OPENBSD_6_4_BASE


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.48   7 years  deraadt   +arm64
[TXT] clock_subr.c  1.6   7 years  guenther   Pull in <sys/time.h> for clock_ymdhms bits ok deraadt@
[TXT] dma_alloc.c  1.13   7 years  dlg   all pools have their ipl set via pool_setipl, so fold it into pool_init. the io...
[TXT] exec_conf.c  1.35   7 years  guenther   In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except leaving out...
[TXT] exec_elf.c  1.146   5 years  beck   Decouple unveil from the pledge flags, by adding dedicated unveil flags to the n...
[TXT] exec_script.c  1.47   5 years  mpi   Put file descriptors on shared data structures when they are completely setup, t...
[TXT] exec_subr.c  1.55   6 years  deraadt   Implement MAP_STACK option for mmap(). Synchronous faults (pagefault and syscal...
[TXT] genassym.sh  1.13   6 years  tedu   create a temp directory for all the temp files instead of trying to name them on...
[TXT] init_main.c  1.281   5 years  sashan   - if_cloners list populated at boot time only then becomes immutable, so we ca...
[TXT] init_sysent.c  1.199   5 years  mpi   regen
[TXT] kern_acct.c  1.36   6 years  visa   Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always curproc tha...
[TXT] kern_bufq.c  1.32   6 years  mikeb   Correct the check when selecting an elevator Coverity CID 1453358; Severity: un...
[TXT] kern_clock.c  1.96   5 years  bluhm   User land time accounting has changed when kernel spinning time was introduced. ...
[TXT] kern_descrip.c  1.182   5 years  visa   Remove all knotes from a file descriptor before closing the file in fdfree(). Th...
[TXT] kern_event.c  1.99   5 years  cheloha   kevent: Don't poll for nonzero timeouts < 1us. Instead of truncating nanosecond...
[TXT] kern_exec.c  1.201   5 years  beck   Decouple unveil from the pledge flags, by adding dedicated unveil flags to the n...
[TXT] kern_exit.c  1.170   5 years  kettenis   Call unveil_destroy() from exit1() instead of from the reaper. Fixes a race bet...
[TXT] kern_fork.c  1.207   5 years  visa   Split the system-wide list of all futexes into process-specific lists of private...
[TXT] kern_kthread.c  1.42   5 years  visa   Grab the KERNEL_LOCK() in kthread_create(9) to enable unlocked code paths create...
[TXT] kern_ktrace.c  1.99   5 years  beck   Decouple unveil from the pledge flags, by adding dedicated unveil flags to the n...
[TXT] kern_lock.c  1.66   5 years  visa   Simplify #ifdefs. The kernel_lock symbol is no longer needed when building a uni...
[TXT] kern_malloc.c  1.136   5 years  bluhm   In free(9) call wakeup() after mtx_leave() consistently. OK kettenis@ visa@ mpi@...
[TXT] kern_physio.c  1.43   9 years  jsg   Remove some includes include-what-you-use claims don't have any direct symbols u...
[TXT] kern_pledge.c  1.243   5 years  mestre   When unveil(2) was introduced one break from SYS_access case was removed here, t...
[TXT] kern_proc.c  1.84   5 years  visa   Use atomic operations for updating cred structure reference counts to make crfre...
[TXT] kern_prot.c  1.75   5 years  visa   tweak comment
[TXT] kern_resource.c  1.58   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] kern_rwlock.c  1.37   5 years  guenther   Constipate all the struct lock_type's so they go into .rodata ok visa@
[TXT] kern_sched.c  1.53   5 years  cheloha   Revert KERN_CPTIME2 ENODEV changes in kernel and userspace. ok kettenis deraadt...
[TXT] kern_sensors.c  1.38   7 years  deraadt   Correct wakeup() dance in sensor_task_work() Problem noticed by krw
[TXT] kern_sig.c  1.224   5 years  deraadt   wrap long lines
[TXT] kern_srp.c  1.12   6 years  deraadt   If you use sys/param.h, you don't need sys/types.h
[TXT] kern_subr.c  1.50   6 years  anton   In hash{free,init}(), there's no need to calculate the size of the hash table if...
[TXT] kern_synch.c  1.146   6 years  guenther   Add sleep_finish_all(), which provides the common combo of sleep_finish(), sleep...
[TXT] kern_sysctl.c  1.350   5 years  cheloha   Revert KERN_CPTIME2 ENODEV changes in kernel and userspace. ok kettenis deraadt...
[TXT] kern_task.c  1.22   6 years  dlg   replace the bare sleep state handling in barriers with wait cond code
[TXT] kern_tc.c  1.34   5 years  bluhm   Updating time counters without memory barriers is wrong. Put membar_producer() ...
[TXT] kern_time.c  1.103   6 years  guenther   Constipate a bunch of time functions ok tb@ kettenis@
[TXT] kern_timeout.c  1.53   6 years  dlg   i forgot to convert timeout_proc_barrier to cond_signal
[TXT] kern_unveil.c  1.15   5 years  jasper   branches: 1.15.2; fix typo in comment ok beck@
[TXT] kern_uuid.c  1.2   9 years  miod   Sync enc/dec routines with libc.
[TXT] kern_watchdog.c  1.13   7 years  mpi   Revert previous, it's a documented behavior and people might rely on it. Pointe...
[TXT] kern_xxx.c  1.35   6 years  bluhm   When we are rebooting, do not fail in uvn_io(). The vnodes are revoked while sy...
[TXT] makesyscalls.sh  1.13   7 years  jca   unbalenced->unbalanced
[TXT] sched_bsd.c  1.47   6 years  mpi   Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock). ok visa@
[TXT] spec_vnops.c  1.95   5 years  visa   Remember to lock v_specparent for VOP operations. OK anton@, mpi@
[TXT] subr_autoconf.c  1.92   8 years  krw   Change a bunch of (<blah> *)0 to NULL. ok beck@ deraadt@
[TXT] subr_disk.c  1.234   6 years  jasper   replace add_*_randomness with enqueue_randomness() this gets rid of the source ...
[TXT] subr_evcount.c  1.12   9 years  jsg   Remove some includes include-what-you-use claims don't have any direct symbols u...
[TXT] subr_extent.c  1.58   7 years  dlg   all pools have their ipl set via pool_setipl, so fold it into pool_init. the io...
[TXT] subr_hibernate.c  1.125   5 years  mlarkin   don't let the retguard skip region exceed the space we have reserved for it in t...
[TXT] subr_log.c  1.56   5 years  mpi   Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O mode for sockets...
[TXT] subr_percpu.c  1.8   6 years  deraadt   If you use sys/param.h, you don't need sys/types.h
[TXT] subr_poison.c  1.14   6 years  deraadt   If you use sys/param.h, you don't need sys/types.h
[TXT] subr_pool.c  1.223   5 years  guenther   Constipate all the struct lock_type's so they go into .rodata ok visa@
[TXT] subr_prf.c  1.95   6 years  mpi   Do not call logwakeup(), ending in wakeup_n(), while holding a mutex. Prevents ...
[TXT] subr_prof.c  1.30   7 years  mpi   Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel profiling ...
[TXT] subr_tree.c  1.10   5 years  dlg   Fix a "copy-and-paste" error that Coverity picked up in the augment code This b...
[TXT] subr_userconf.c  1.45   7 years  mpi   Rename Debugger() into db_enter(). Using a name with the 'db_' prefix makes it ...
[TXT] subr_witness.c  1.22   5 years  visa   Make the system cache a small number of free lock list entries per CPU. This red...
[TXT] subr_xxx.c  1.16   6 years  mpi   Silence assertwaitok() if we are in ddb(4). ok bluhm@
[TXT] sys_futex.c  1.9   5 years  visa   Split the system-wide list of all futexes into process-specific lists of private...
[TXT] sys_generic.c  1.122   5 years  mpi   Reorder checks in the read/write(2) family of syscalls to prepare making file op...
[TXT] sys_pipe.c  1.85   5 years  mpi   Reorder checks in the read/write(2) family of syscalls to prepare making file op...
[TXT] sys_process.c  1.80   6 years  mpi   Change some returns into gotos, will help keeping the unlocking path simpler. N...
[TXT] sys_socket.c  1.41   5 years  mpi   Reorder checks in the read/write(2) family of syscalls to prepare making file op...
[TXT] syscalls.c  1.198   5 years  mpi   regen
[TXT] syscalls.master  1.188   5 years  mpi   Unlock sendmsg(2), sendto(2), recvfrom(2) and recvmsg(2). ok kettenis@, sthen@,...
[TXT] sysv_ipc.c  1.8   9 years  jsg   Remove some includes include-what-you-use claims don't have any direct symbols u...
[TXT] sysv_msg.c  1.33   7 years  dlg   all pools have their ipl set via pool_setipl, so fold it into pool_init. the io...
[TXT] sysv_sem.c  1.53   9 years  jsg   Remove some includes include-what-you-use claims don't have any direct symbols u...
[TXT] sysv_shm.c  1.69   7 years  dlg   all pools have their ipl set via pool_setipl, so fold it into pool_init. the io...
[TXT] tty.c  1.143   5 years  jsg   fix whitespace
[TXT] tty_conf.c  1.23   8 years  sf   Re-add config includes These got lost in previous commit. This broke ppp, nmea,...
[TXT] tty_endrun.c  1.8   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] tty_msts.c  1.21   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] tty_nmea.c  1.47   5 years  landry   Recognize more talker IDs when parsing NMEA RMC messages The NMEA 0183 standard...
[TXT] tty_pty.c  1.90   5 years  anton   Remove dead code related to tty allocation for ptys. Back in revision 1.17 of ke...
[TXT] tty_subr.c  1.33   8 years  krw   Change a bunch of (<blah> *)0 to NULL. ok beck@ deraadt@
[TXT] tty_tty.c  1.24   6 years  visa   Remove proc from the parameters of vn_lock(). The parameter is unnecessary becau...
[TXT] uipc_domain.c  1.56   5 years  denis   Replace value with a constant OK bluhm@, jca@
[TXT] uipc_mbuf.c  1.259   5 years  bluhm   Add reference counting for inet pcb, this will be needed when we start locking t...
[TXT] uipc_mbuf2.c  1.42   8 years  mpi   Use ph_ prefix for tag-related fields. ok dlg@
[TXT] uipc_proto.c  1.17   6 years  guenther   AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, but AF_UNI...
[TXT] uipc_socket.c  1.227   5 years  bluhm   branches: 1.227.2; If the control message of IP_SENDSRCADDR did not fit into th...
[TXT] uipc_socket2.c  1.96   5 years  bluhm   After removing raw_usrreq() from route and pfkey, the global sockaddr variables ...
[TXT] uipc_syscalls.c  1.178   5 years  mpi   Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O mode for sockets...
[TXT] uipc_usrreq.c  1.134   5 years  claudio   branches: 1.134.2; Use function name in panic string, like in some other places...
[TXT] vfs_bio.c  1.186   5 years  visa   Simplify the startup of the cleaner, reaper and update threads by passing the ma...
[TXT] vfs_biomem.c  1.39   6 years  mlarkin   KNF (wrap a long line)
[TXT] vfs_cache.c  1.57   6 years  kn   Sync VFS documentation with reality Missed during the "Namecache revamp" in 200...
[TXT] vfs_default.c  1.43   7 years  bluhm   Remove the unused olddp parameter from function dounmount(). OK mpi@ millert@
[TXT] vfs_getcwd.c  1.31   6 years  visa   Drop unnecessary `p' parameter from vget(9). OK mpi@
[TXT] vfs_init.c  1.41   5 years  visa   Simplify VFS initialization. Because loadable kernel modules are no longer, the...
[TXT] vfs_lockf.c  1.26   5 years  anton   branches: 1.26.2; When freeing a lockf struct that already is part of a linked ...
[TXT] vfs_lookup.c  1.74   5 years  deraadt   More clear version of previous namei/pledge/chroot solution. namei flag KERNELP...
[TXT] vfs_subr.c  1.282   5 years  visa   Use atomic operations to update vfc_refcount. Change the field's type to unsigne...
[TXT] vfs_sync.c  1.60   5 years  visa   Simplify the startup of the cleaner, reaper and update threads by passing the ma...
[TXT] vfs_syscalls.c  1.307   5 years  visa   branches: 1.307.2; Move the allocating and freeing of mount points into dedicat...
[TXT] vfs_vnops.c  1.97   5 years  mpi   Reorder checks in the read/write(2) family of syscalls to prepare making file op...
[TXT] vfs_vops.c  1.19   5 years  visa   Drop redundant "node == parent node" checks from VOP_RMDIR() implementations. Re...
[TXT] syscalls.conf (in the Attic) [Hide]  1.20   10 years  guenther   Snapshots for all archs have been built, so remove the T32 code