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_3


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.142.2.1   5 years  bluhm   Fail if a PT_LOAD segment has a memory size of 0. This prevents a panic later o...
[TXT] exec_script.c  1.42   6 years  guenther   Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. ok mil...
[TXT] exec_subr.c  1.54   6 years  mortimer   Use sched_pause(yield) to decide when to yield when filling randomdata. ok dera...
[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.275   6 years  mpi   Do not panic from ddb(4) when a lock requirement isn't fulfilled. Extend the lo...
[TXT] init_sysent.c  1.191   6 years  deraadt   sync
[TXT] kern_acct.c  1.35   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[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.93   6 years  kettenis   Introduce jiffies, a volatile unsigned long version of our ticks variable for us...
[TXT] kern_descrip.c  1.142   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] kern_event.c  1.84   6 years  robert   introduce a filter called EVFILT_DEVICE that can be used to notify listeners of ...
[TXT] kern_exec.c  1.193   6 years  guenther   Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. ok mil...
[TXT] kern_exit.c  1.164   6 years  mpi   Move cleanup job control bits to their own function. Part of the larger 'proctr...
[TXT] kern_fork.c  1.202   6 years  guenther   Delete unnecessary <sys/file.h> includes ok millert@ krw@
[TXT] kern_kthread.c  1.41   7 years  guenther   Split up fork1(): - FORK_THREAD handling is a totally separate function, thread...
[TXT] kern_ktrace.c  1.95   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] kern_lock.c  1.60   6 years  mpi   Do not panic from ddb(4) when a lock requirement isn't fulfilled. Extend the lo...
[TXT] kern_malloc.c  1.133   6 years  bluhm   While booting it does not make sense to wait for memory, there is no other proce...
[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.228   6 years  mpi   Change `so_state' and `so_error' to unsigned int such that they can be atomicall...
[TXT] kern_proc.c  1.82   6 years  mpi   Serialize access to UID data with a rwlock. Caller must call uid_release() afte...
[TXT] kern_prot.c  1.73   6 years  mpi   Introduce enternewpgrp() & enterthispgrp(), from FreeBSD via guenther@. This co...
[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.35   6 years  bluhm   Disable the rw lock assertion after panic. Allows reboot from ddb. OK mpi@ visa...
[TXT] kern_sched.c  1.47   6 years  dlg   make sched_barrier use cond_wait/cond_signal. previously the code was using a p...
[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.217   6 years  visa   Avoid calling issignal() twice on signal delivery in order not to generate more ...
[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.49   7 years  mpi   Convert most of the manual checks for CPU hogging to sched_pause(). The distinc...
[TXT] kern_synch.c  1.143   6 years  dlg   add code to provide simple wait condition handling. this will be used to replac...
[TXT] kern_sysctl.c  1.332   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[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.31   7 years  dhill   Drop unused variable from ntp_update_second(). ok jca@ deraadt@
[TXT] kern_time.c  1.101   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] kern_timeout.c  1.53   6 years  dlg   i forgot to convert timeout_proc_barrier to cond_signal
[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.90   6 years  guenther   Don't pull in <sys/file.h> just to get fcntl.h ok deraadt@ krw@
[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.233   6 years  jsg   fix a memory leak in readdoslabel() ok krw@
[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.123   6 years  mlarkin   print why the signature block check of an unhibernate attempt failed, to let peo...
[TXT] subr_log.c  1.55   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[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.222   6 years  dlg   slightly randomize the order that new pages populate their item lists in. ok te...
[TXT] subr_prf.c  1.94   6 years  mpi   Do not panic from ddb(4) when a lock requirement isn't fulfilled. Extend the lo...
[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.9   6 years  dlg   make rb_n2e return a struct rb_entry *, not void * maybe this will help prevent...
[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.6   6 years  visa   Make ddb's "show all locks" command show spinlocks in addition to sleeplocks. O...
[TXT] subr_xxx.c  1.15   8 years  tedu   remove stale lint annotations
[TXT] sys_futex.c  1.6   6 years  mpi   Do not pass a userland pointer to ktrabstimespec(). Prevents an infinite pagefa...
[TXT] sys_generic.c  1.116   6 years  guenther   Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. ok mil...
[TXT] sys_pipe.c  1.77   6 years  guenther   Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. ok mil...
[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.35   6 years  mpi   Move SB_SPLICE, SB_WAIT and SB_SEL to `sb_flags', serialized by solock(). SB_KN...
[TXT] syscalls.c  1.190   6 years  deraadt   sync
[TXT] syscalls.master  1.180   6 years  deraadt   pledge()'s 2nd argument becomes char *execpromises, which becomes the pledge for...
[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.137   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[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.46   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] tty_pty.c  1.83   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[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.22   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] uipc_domain.c  1.55   6 years  mpi   Constify protocol tables and remove an assert now that ip_deliver() is mp-safe. ...
[TXT] uipc_mbuf.c  1.256   6 years  deraadt   NULL deref on armv7 performing NFS, within 10 seconds. Previous commit has no OK...
[TXT] uipc_mbuf2.c  1.42   8 years  mpi   Use ph_ prefix for tag-related fields. ok dlg@
[TXT] uipc_proto.c  1.16   6 years  mpi   raw_init() is dead and <net/raw_cb.h> doesn't need to be included there.
[TXT] uipc_socket.c  1.218.2.1   5 years  bluhm   When using MSG_PEEK to peak into packets skip control messages holding SCM_RIGHT...
[TXT] uipc_socket2.c  1.91   6 years  kettenis   Revert previous. It triggers mbuf pool exhaustion on arm64. Requested by claud...
[TXT] uipc_syscalls.c  1.167   6 years  mpi   Call socreate() before falloc() in sys_socket(). This is similar to what we do ...
[TXT] uipc_usrreq.c  1.123.2.1   5 years  bluhm   When using MSG_PEEK to peak into packets skip control messages holding SCM_RIGHT...
[TXT] vfs_bio.c  1.185   6 years  beck   Revisit 2q queue sizes. Limit the hot queue to 1/20th the cache size up to a max...
[TXT] vfs_biomem.c  1.38   7 years  beck   Flip previously warm pages in the buffer cache to memory above the DMA region if...
[TXT] vfs_cache.c  1.53   7 years  bluhm   Use TAILQ_FOREACH_SAFE in cache_purgevfs(). Fix whitespaces. No binary change.
[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.28   6 years  bluhm   Do not pass an uninitialized size value to free(9) even if the addr pointer is N...
[TXT] vfs_init.c  1.39   6 years  deraadt   In uvm Chuck decided backing store would not be allocated proactively for blocks...
[TXT] vfs_lockf.c  1.25.2.1   5 years  tb   A recent change to POSIX file locks could cause incorrect results during lock ac...
[TXT] vfs_lookup.c  1.65   6 years  deraadt   Remove old deactivated pledge path code. A replacement mechanism is being brewe...
[TXT] vfs_subr.c  1.267   6 years  bluhm   Remounting files systems read-only does not work reliably. There are corner cas...
[TXT] vfs_sync.c  1.57   6 years  deraadt   Syncronize filesystems to disk when suspending. Each mountpoint's vnodes are pu...
[TXT] vfs_syscalls.c  1.276   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] vfs_vnops.c  1.89   6 years  guenther   Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. ok mil...
[TXT] vfs_vops.c  1.17   6 years  deraadt   Syncronize filesystems to disk when suspending. Each mountpoint's vnodes are pu...
[TXT] syscalls.conf (in the Attic) [Hide]  1.20   10 years  guenther   Snapshots for all archs have been built, so remove the T32 code