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


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.52   19 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.186   6 weeks  deraadt   Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls has replace...
[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.67   6 weeks  deraadt   Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls has replace...
[TXT] genassym.sh  1.14   3 years  jsg   ansi
[TXT] init_main.c  1.326   6 weeks  deraadt   Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls has replace...
[TXT] init_sysent.c  1.281   34 hours  guenther   Regen
[TXT] kern_acct.c  1.48   5 weeks  jsg   correct indentation no functional change, found by smatch warnings ok miod@ blu...
[TXT] kern_bufq.c  1.35   17 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   2 months  cheloha   clockintr: rename "struct clockintr_queue" to "struct clockqueue" The code has ...
[TXT] kern_descrip.c  1.207   17 months  deraadt   zap a pile of dangling tabs
[TXT] kern_event.c  1.198   8 months  visa   Add kqueue1() system call kqueue1() takes the flags argument. This lets the kqu...
[TXT] kern_exec.c  1.255   6 weeks  deraadt   Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls has replace...
[TXT] kern_exit.c  1.220   3 months  bluhm   Backout priterator() for walking allprocess list. This approach does not work a...
[TXT] kern_fork.c  1.257   3 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.73   7 weeks  bluhm   Improve spinning in mtx_enter(). Instead of calling mtx_enter_try() in each spi...
[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   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] kern_pledge.c  1.314   34 hours  guenther   Add pathconfat(2): pathconf(2) but with at-fd and flags arguments, the latter su...
[TXT] kern_proc.c  1.97   3 months  bluhm   Backout priterator() for walking allprocess list. This approach does not work a...
[TXT] kern_prot.c  1.82   16 months  guenther   setthrname() should return EINVAL, not ENAMETOOLONG, when the input is too long....
[TXT] kern_resource.c  1.81   4 weeks  claudio   dogetrusage() must be called with the KERNEL_LOCK held for now. OK mpi@
[TXT] kern_rwlock.c  1.50   10 months  claudio   struct sleep_state is no longer used, remove it. Also remove the priority argume...
[TXT] kern_sched.c  1.95   2 months  mpi   No need to kick a CPU twice when putting a thread on its runqueue. From Christi...
[TXT] kern_sensors.c  1.40   17 months  deraadt   zap a pile of dangling tabs
[TXT] kern_sig.c  1.327   11 days  claudio   Rework how action SIG_HOLD is handled in ptsignal. Since we want to unlock sigs...
[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   15 months  deraadt   On systems without xonly mmu hardware-enforcement, we can still mitigate against...
[TXT] kern_synch.c  1.202   4 weeks  claudio   Clear PCATCH for procs that have P_WEXIT set. Exiting procs will not return to ...
[TXT] kern_sysctl.c  1.427   5 weeks  bluhm   Split single TCP inpcb table into IPv4 and IPv6 parts. With two separate TCP ha...
[TXT] kern_task.c  1.35   5 days  jsg   remove prototypes with no matching function
[TXT] kern_tc.c  1.83   2 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   2 months  cheloha   timeout: make to_kclock validation more rigorous In kern_timeout.c, the to_kclo...
[TXT] kern_unveil.c  1.55   17 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   17 months  deraadt   zap a pile of dangling tabs
[TXT] makesyscalls.sh  1.22   4 months  miod   Error out if one syscall ever takes more than 6 arguments. This is not necessar...
[TXT] sched_bsd.c  1.91   7 weeks  mpi   Prevent a recursion inside wakeup(9) when scheduler tracepoints are enabled. Tr...
[TXT] spec_vnops.c  1.112   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] subr_autoconf.c  1.97   18 months  robert   introduce a new kern.autoconf_serial sysctl that can be used by userland to moni...
[TXT] subr_blist.c  1.4   11 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   3 months  kettenis   Implement extent_alloc_region_with_descr(9) which is the equivalent of extent_al...
[TXT] subr_hibernate.c  1.139   2 weeks  krw   Add '\n' to DPRINTF() string that used to be a panic() string. ok mlarkin@
[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   7 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   3 months  cheloha   clockintr: switch from callee- to caller-allocated clockintr structs Currently,...
[TXT] subr_suspend.c  1.16   10 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.52   2 weeks  visa   witness: Display lock cycles longer than two locks When a lock order reversal i...
[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.157   5 weeks  claudio   Unlock dosigsuspend() and with that some aspects of ppoll and pselect Change p_...
[TXT] sys_pipe.c  1.146   12 months  visa   Don't return EPIPE from pipe kqfilter Proceed with the registration of an EVFIL...
[TXT] sys_process.c  1.97   6 weeks  deraadt   remove useless whitespace; from Jia Tan
[TXT] sys_socket.c  1.65   2 weeks  mvs   Push solock() down to sosend() for SOCK_RAW sockets. Raw sockets are the simpl...
[TXT] syscalls.c  1.279   34 hours  guenther   Regen
[TXT] syscalls.master  1.264   34 hours  guenther   Add pathconfat(2): pathconf(2) but with at-fd and flags arguments, the latter su...
[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   13 months  jsg   fix double words in comments feedback and ok jmc@ miod, ok millert@
[TXT] sysv_sem.c  1.63   19 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   20 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   4 months  bluhm   Use domain name for socket lock. Syzkaller with witness complains about lock or...
[TXT] uipc_mbuf.c  1.290   2 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.335   44 hours  mvs   Turn sblock() to `sb_lock' rwlock(9) wrapper for all sockets. Unify behaviour t...
[TXT] uipc_socket2.c  1.155   44 hours  mvs   Turn sblock() to `sb_lock' rwlock(9) wrapper for all sockets. Unify behaviour t...
[TXT] uipc_syscalls.c  1.219   3 weeks  bluhm   Rename socket wait channels when sleeping. Use "netacc" for accept(2) and "netc...
[TXT] uipc_usrreq.c  1.206   2 weeks  mvs   Push solock() down to sosend() and remove it from soreceive() paths fro unix(4) ...
[TXT] vfs_bio.c  1.213   3 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   17 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   16 months  miod   Replace last user of copystr() with strlcpy(). NFCI
[TXT] vfs_subr.c  1.319   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] vfs_sync.c  1.72   6 days  semarie   vfs: VOP_REMOVE: move vnode unlocking and ref dropping to FS-indep part while h...
[TXT] vfs_syscalls.c  1.365   34 hours  guenther   Add pathconfat(2): pathconf(2) but with at-fd and flags arguments, the latter su...
[TXT] vfs_vnops.c  1.122   10 months  deraadt   Allow unveiled programs to dump core (in the default, classic, into . way) by pa...
[TXT] vfs_vops.c  1.36   6 days  semarie   vfs: VOP_REMOVE: move vnode unlocking and ref dropping to FS-indep part while h...
[TXT] Make.tags.inc (in the Attic) [Hide]  1.16   13 years  deraadt   Completely rewrite the tags file creation process. use config(8) against a fat ...
[TXT] README (in the Attic) [Hide]  1.5   13 years  deraadt   This file never contained anything of value.
[TXT] exec_aout.c (in the Attic) [Hide]  1.12   10 years  deraadt   Remove support for a.out and ecoff. We only do elf now. ok miod
[TXT] exec_ecoff.c (in the Attic) [Hide]  1.11   10 years  deraadt   Remove support for a.out and ecoff. We only do elf now. ok miod
[TXT] exec_elf32.c (in the Attic) [Hide]  1.4   7 years  guenther   In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except leaving out...
[TXT] exec_elf64.c (in the Attic) [Hide]  1.22   7 years  guenther   In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except leaving out...
[TXT] kern_conf.h (in the Attic) [Hide]  1.3   28 years  deraadt   partial sync with netbsd 960418, more to come
[TXT] kern_fthread.c (in the Attic) [Hide]  1.4   22 years  art   kern_fthread is no longer needed.
[TXT] kern_lkm.c (in the Attic) [Hide]  1.50   9 years  tedu   remove lkm files
[TXT] kern_malloc_debug.c (in the Attic) [Hide]  1.36   6 years  dlg   remove MALLOC_DEBUG the code has rotted, and obviously hasnt been used for ages...
[TXT] kern_mutex.c (in the Attic) [Hide]  1.2   6 years  mpi   Put WITNESS only functions with the rest of the locking primitives.
[TXT] kern_ntptime.c (in the Attic) [Hide]  1.12   21 years  nordin   Remove kernel support for NTP. ok deraadt@ and tholo@
[TXT] kern_tame.c (in the Attic) [Hide]  1.72   8 years  deraadt   Rename tame() to pledge(). This fairly interface has evolved to be more strict ...
[TXT] kern_thread.c (in the Attic) [Hide]  1.2   27 years  deraadt   thread changes
[TXT] kern_workq.c (in the Attic) [Hide]  1.18   9 years  dlg   remove workq code. its been replaced with tasks. it has been unused since decem...
[TXT] kgdb_stub.c (in the Attic) [Hide]  1.12   7 years  mpi   Unifdef KGDB. It doesn't compile und hasn't been working during the last decade...
[TXT] subr_hiballoc.c (in the Attic) [Hide]  1.6   12 years  ariane   Move hiballoc to hibernate.h, subr_hibernate.c Next few commits will move other ...
[TXT] subr_mutex.c (in the Attic) [Hide]  1.3   17 years  art   Remove the MI implementation of mutexes and remove the __HAVE_MUTEX option. Ever...
[TXT] subr_rmap.c (in the Attic) [Hide]  1.5   22 years  miod   Resource map code is not used anymore. Long live the extent code!
[TXT] syscalls.conf (in the Attic) [Hide]  1.21   19 months  deraadt   The syscall table generation awk script was also used by compat layers in the pa...
[TXT] tty_compat.c (in the Attic) [Hide]  1.3   28 years  niklas   From NetBSD: 960217 merge
[TXT] tty_tb.c (in the Attic) [Hide]  1.7   17 years  mbalmer   Remove the tb(4) line discipline and manual page. I found no man pages referenc...
[TXT] vfs_cluster.c (in the Attic) [Hide]  1.46   8 years  zhuk   Free some more space in kernel - for network code, of course - by removal of thr...
[TXT] vfs_conf.c (in the Attic) [Hide]  1.42   13 years  thib   merge vfs_conf.c and vfs_init.c and retire vfs_conf.c; The contents belong toga...
[TXT] vnode_if.c (in the Attic) [Hide]  1.49   13 years  thib   remove the vnode_if.* files, as they are now totally obsolete. the move to vfs_...
[TXT] vnode_if.sh (in the Attic) [Hide]  1.17   13 years  thib   remove the vnode_if.* files, as they are now totally obsolete. the move to vfs_...
[TXT] vnode_if.src (in the Attic) [Hide]  1.33   13 years  thib   remove the vnode_if.* files, as they are now totally obsolete. the move to vfs_...