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_7_5


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.52   20 months  deraadt   The syscall table generation awk script was also used by compat layers in the pa...
[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.38   2 years  guenther   Delete the last emulation callbacks: we're Just ELF, so declare exec_elf_fixup()...
[TXT] exec_elf.c  1.185   4 months  kurt   Fix core file writing when a file map into memory has later been truncated to be...
[TXT] exec_script.c  1.48   4 years  visa   Do not relock fdp in fdrelease(). This prevents unnecessary locking in the commo...
[TXT] exec_subr.c  1.66   14 months  kettenis   Aggressively randomize the location of the stack on all 64-bit architectures exc...
[TXT] genassym.sh  1.14   3 years  jsg   ansi
[TXT] init_main.c  1.325   3 months  miod   Enable the pool gc thread on m88k MULTIPROCESSOR kernels now that pmap_unmap_dir...
[TXT] init_sysent.c  1.274   4 months  mvs   regen
[TXT] kern_acct.c  1.47   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] kern_bufq.c  1.35   18 months  deraadt   zap a pile of dangling tabs
[TXT] kern_clock.c  1.123   3 months  cheloha   kernel: disable hardclock() on secondary CPUs There is no useful work left for ...
[TXT] kern_clockintr.c  1.70   3 months  cheloha   clockintr: rename "struct clockintr_queue" to "struct clockqueue" The code has ...
[TXT] kern_descrip.c  1.207   18 months  deraadt   zap a pile of dangling tabs
[TXT] kern_event.c  1.198   9 months  visa   Add kqueue1() system call kqueue1() takes the flags argument. This lets the kqu...
[TXT] kern_exec.c  1.254   4 months  deraadt   Since pinsyscalls(2) applies to all system calls and does a more precise check e...
[TXT] kern_exit.c  1.220   4 months  bluhm   Backout priterator() for walking allprocess list. This approach does not work a...
[TXT] kern_fork.c  1.257   4 months  cheloha   clockintr: switch from callee- to caller-allocated clockintr structs Currently,...
[TXT] kern_intrmap.c  1.3   3 years  dlg   add intrmap_one, some temp code to help us write pci_intr_establish_cpu. it mea...
[TXT] kern_kthread.c  1.46   2 years  visa   Mark exit1() and sigexit() as non-returning The late 1990s reasons for avoiding...
[TXT] kern_ktrace.c  1.114   5 months  deraadt   provide the pieces for ktrace/kdump to observe pinsyscall violations. (not used ...
[TXT] kern_lock.c  1.72   2 years  dv   Bump __mp_lock_spinout to INT_MAX. The previous value set years ago was causing...
[TXT] kern_malloc.c  1.151   5 months  claudio   Workaround for broken clang which has a broken -fno-zero-initialized-in-bss impl...
[TXT] kern_physio.c  1.49   4 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] kern_pledge.c  1.310   6 months  deraadt   put pinsyscalls(2) into the "always" group
[TXT] kern_proc.c  1.97   4 months  bluhm   Backout priterator() for walking allprocess list. This approach does not work a...
[TXT] kern_prot.c  1.82   17 months  guenther   setthrname() should return EINVAL, not ENAMETOOLONG, when the input is too long....
[TXT] kern_resource.c  1.80   8 months  claudio   Revert commitid: yfAefyNWibUyjkU2, ESyyH5EKxtrXGkS6 and itscfpFvJLOj8mHB; The c...
[TXT] kern_rwlock.c  1.50   11 months  claudio   struct sleep_state is no longer used, remove it. Also remove the priority argume...
[TXT] kern_sched.c  1.95   3 months  mpi   No need to kick a CPU twice when putting a thread on its runqueue. From Christi...
[TXT] kern_sensors.c  1.40   18 months  deraadt   zap a pile of dangling tabs
[TXT] kern_sig.c  1.322   3 months  deraadt   New accounting flag ABTCFI to indicate signal SIGILL + code ILL_BTCFI has occurr...
[TXT] kern_smr.c  1.16   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] kern_srp.c  1.13   3 years  cheloha   srp_finalize(9): tsleep(9) -> tsleep_nsec(9) srp_finalize(9) spins until the re...
[TXT] kern_subr.c  1.52   16 months  deraadt   On systems without xonly mmu hardware-enforcement, we can still mitigate against...
[TXT] kern_synch.c  1.200   8 months  claudio   Revert commitid: yfAefyNWibUyjkU2, ESyyH5EKxtrXGkS6 and itscfpFvJLOj8mHB; The c...
[TXT] kern_sysctl.c  1.425   4 months  deraadt   On kernels without ucom(4) support, 'sysctl hw.ucomnames' should return the empt...
[TXT] kern_task.c  1.34   10 months  anton   Avoid accessing curproc early during boot when kcov is enabled as it might be un...
[TXT] kern_tc.c  1.83   3 months  cheloha   timecounting: start system uptime at 0.0 instead of 1.0 OpenBSD starts the syst...
[TXT] kern_time.c  1.167   7 months  cheloha   clockintr: move callback-specific API behaviors to "clockrequest" namespace The...
[TXT] kern_timeout.c  1.97   3 months  cheloha   timeout: make to_kclock validation more rigorous In kern_timeout.c, the to_kclo...
[TXT] kern_unveil.c  1.55   18 months  deraadt   zap a pile of dangling tabs
[TXT] kern_uuid.c  1.2   9 years  miod   Sync enc/dec routines with libc.
[TXT] kern_watchdog.c  1.16   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] kern_xxx.c  1.41   18 months  deraadt   zap a pile of dangling tabs
[TXT] makesyscalls.sh  1.22   5 months  miod   Error out if one syscall ever takes more than 6 arguments. This is not necessar...
[TXT] sched_bsd.c  1.90   4 months  cheloha   clockintr: switch from callee- to caller-allocated clockintr structs Currently,...
[TXT] spec_vnops.c  1.112   4 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] subr_autoconf.c  1.97   19 months  robert   introduce a new kern.autoconf_serial sysctl that can be used by userland to moni...
[TXT] subr_blist.c  1.4   12 months  jsg   spelling ok jmc@ guenther@ tb@
[TXT] subr_disk.c  1.272   6 months  kn   Constify disk_map()'s path argument The disklabel UID passed in is not modified...
[TXT] subr_evcount.c  1.16   8 months  mpi   Allow counters_read(9) to take an optional scratch buffer. Using a scratch buff...
[TXT] subr_extent.c  1.65   4 months  kettenis   Implement extent_alloc_region_with_descr(9) which is the equivalent of extent_al...
[TXT] subr_hibernate.c  1.138   21 months  mlarkin   whitespace
[TXT] subr_kubsan.c  1.12   4 years  anton   Use atomic operations consistently while writing to kubsan_slot. Otherwise, repo...
[TXT] subr_log.c  1.78   8 months  mvs   Make `logread_filterops' MP safe. For that purpose use `log_mtx' mutex(9) protec...
[TXT] subr_percpu.c  1.11   8 months  mpi   Allow counters_read(9) to take an optional scratch buffer. Using a scratch buff...
[TXT] subr_poison.c  1.15   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] subr_pool.c  1.236   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] subr_prf.c  1.106   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] subr_prof.c  1.41   4 months  cheloha   clockintr: switch from callee- to caller-allocated clockintr structs Currently,...
[TXT] subr_suspend.c  1.16   11 months  cheloha   GPROF: sleep_state: disable _mcount() across suspend/resume Something in the am...
[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.48   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] subr_witness.c  1.50   12 months  jsg   spelling ok jmc@ guenther@ tb@
[TXT] subr_xxx.c  1.17   5 years  visa   Add SMR_ASSERT_NONCRITICAL() in assertwaitok(). This eases debugging because now...
[TXT] sys_futex.c  1.22   9 months  miod   Remove non-MULTIPROCESSOR chunk defining copyin32 as copyin now that all platfor...
[TXT] sys_generic.c  1.156   13 months  visa   Don't return EPIPE from pipe kqfilter Proceed with the registration of an EVFIL...
[TXT] sys_pipe.c  1.146   13 months  visa   Don't return EPIPE from pipe kqfilter Proceed with the registration of an EVFIL...
[TXT] sys_process.c  1.95   6 months  bluhm   Fix kernel build without option PTRACE, but with dt(4). Since revision 1.26 dt_...
[TXT] sys_socket.c  1.61   13 months  kn   return directly to drop needless error variable; OK mvs
[TXT] syscalls.c  1.272   4 months  mvs   regen
[TXT] syscalls.master  1.257   4 months  mvs   Unlock listen(2). `somaxconn_local' and `sominconn_local' used respectively to c...
[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.41   14 months  jsg   fix double words in comments feedback and ok jmc@ miod, ok millert@
[TXT] sysv_sem.c  1.63   20 months  mbuhl   Fix memory corruptions with sysv semaphores due to sleeps in copyin, copyout and...
[TXT] sysv_shm.c  1.80   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] tty.c  1.176   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[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.51   2 years  mlarkin   Update an old comment The old comment only mentioned that tty_nmea was used for...
[TXT] tty_pty.c  1.114   21 months  deraadt   openpty() family of functions use /dev/ptm PTMGET to open a master+slave fd pair...
[TXT] tty_subr.c  1.36   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] tty_tty.c  1.32   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] uipc_domain.c  1.65   5 months  bluhm   Use domain name for socket lock. Syzkaller with witness complains about lock or...
[TXT] uipc_mbuf.c  1.290   3 months  bluhm   Revert m_defrag() mbuf alignment to IP header. m_defrag() is intended as last r...
[TXT] uipc_mbuf2.c  1.45   3 years  jan   Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp. OK dlg@...
[TXT] uipc_proto.c  1.25   18 months  mvs   Split out handlers for SOCK_DGRAM unix(4) sockets from SOCK_STREAM and SOCK_SEQP...
[TXT] uipc_socket.c  1.320   3 months  mvs   Pass protosw instead of domain structure to soalloc() to get real `pr_type'. The...
[TXT] uipc_socket2.c  1.144   3 months  mvs   Pass protosw instead of domain structure to soalloc() to get real `pr_type'. The...
[TXT] uipc_syscalls.c  1.218   3 months  bluhm   Protect pool_get() with kernel lock in sys_ypconnect(). Pool namei_pool is init...
[TXT] uipc_usrreq.c  1.200   6 months  jsg   correct spelling of FALLTHROUGH
[TXT] vfs_bio.c  1.213   4 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] vfs_biomem.c  1.51   2 years  jsg   use NULL not 0 for pointer values in kern ok semarie@
[TXT] vfs_cache.c  1.58   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] vfs_default.c  1.51   2 years  claudio   vgone() is vgonel() with curproc as 2nd argument. Use vgonel() like the other ca...
[TXT] vfs_getcwd.c  1.38   18 months  deraadt   zap a pile of dangling tabs
[TXT] vfs_init.c  1.43   4 years  bluhm   Move extern declarations of vfsops variables into header file. OK visa@
[TXT] vfs_lockf.c  1.50   21 months  jsg   remove unneeded includes in sys/kern ok mpi@ miod@
[TXT] vfs_lookup.c  1.88   17 months  miod   Replace last user of copystr() with strlcpy(). NFCI
[TXT] vfs_subr.c  1.319   4 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] vfs_sync.c  1.70   4 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] vfs_syscalls.c  1.363   4 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] vfs_vnops.c  1.122   11 months  deraadt   Allow unveiled programs to dump core (in the default, classic, into . way) by pa...
[TXT] vfs_vops.c  1.35   23 months  visa   Remove unused VOP_POLL(). OK mpi@