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_0_BASE


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.51   2 years  kn   Honour netinet6 when generating symlinks to tags files "make tags" needs "make ...
[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.37   3 years  semarie   makes `struct execsw' to: - use C99-style initialization (grep works better wit...
[TXT] exec_elf.c  1.160   3 years  jsg   spelling ok gnezdo@ semarie@ mpi@
[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.57   4 years  deraadt   Repurpose the "syscalls must be on a writeable page" mechanism to enforce a new ...
[TXT] genassym.sh  1.14   3 years  jsg   ansi
[TXT] init_main.c  1.308   2 years  bluhm   Remove unused variable cryptodesc_pool. Document global variables in crypto.c a...
[TXT] init_sysent.c  1.229   2 years  mvs   regen
[TXT] kern_acct.c  1.44   3 years  rob   Whitespace.
[TXT] kern_bufq.c  1.33   4 years  mpi   Convert infinite sleeps to {m,t}sleep_nsec(9). ok visa@
[TXT] kern_clock.c  1.102   3 years  cheloha   kernel, sysctl(8): remove dead variable: tickadj The global "tickadj" variable ...
[TXT] kern_descrip.c  1.202   3 years  visa   Move FRELE() outside fdplock in dup*(2) code. This avoids a potential lock order...
[TXT] kern_event.c  1.169   2 years  mpi   Modifying a knote must be done with the corresponding lock held. Assert that th...
[TXT] kern_exec.c  1.223   3 years  deraadt   handle theoretical case of sigfillsz not being pow2-sized on some architecture. ...
[TXT] kern_exit.c  1.199   3 years  mpi   Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic si...
[TXT] kern_fork.c  1.236   2 years  cheloha   timeout(9): change argument order for timeout_set_kclock() Move the kclock argu...
[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.44   4 years  claudio   Remove sigacts structure sharing. The only process that used sharing was proc0 w...
[TXT] kern_ktrace.c  1.104   3 years  claudio   Grep the KERNEL_LOCK in ktrpsig() before calling ktrwrite(). Another little step...
[TXT] kern_lock.c  1.71   4 years  claudio   The 'lock spun out' db_printf needs a newline. All other MP_LOCKDEBUG messages d...
[TXT] kern_malloc.c  1.146   3 years  deraadt   panic does not require a \n at the end. When one is provided, it looks wrong.
[TXT] kern_physio.c  1.47   4 years  krw   Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on the throat of physi...
[TXT] kern_pledge.c  1.275   2 years  jsg   remove arch ifdefs around drm.h include ok deraadt@ kettenis@
[TXT] kern_proc.c  1.90   3 years  mpi   Revert the convertion of per-process thread into a SMR_TAILQ. We did not reach ...
[TXT] kern_prot.c  1.77   3 years  mvs   Cache parent's pid as `ps_ppid' and use it instead of `ps_pptr->ps_pid'. This al...
[TXT] kern_resource.c  1.71   3 years  mpi   Revert the convertion of per-process thread into a SMR_TAILQ. We did not reach ...
[TXT] kern_rwlock.c  1.47   3 years  mpi   Simplify sleep_setup API to two operations in preparation for splitting the SCHE...
[TXT] kern_sched.c  1.73   2 years  mpi   Add THREAD_PID_OFFSET to tracepoint arguments that pass a TID to userland. Brin...
[TXT] kern_sensors.c  1.39   4 years  mpi   Convert infinite sleeps to {m,t}sleep_nsec(9). ok visa@
[TXT] kern_sig.c  1.282   2 years  bluhm   After VFS shutdown, init(8) cannot map a missing page that contains the signal h...
[TXT] kern_smr.c  1.12   2 years  kettenis   Introduce CPU_IS_RUNNING() and us it in scheduler-related code to prevent waitin...
[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.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.179   2 years  mpi   Add THREAD_PID_OFFSET to tracepoint arguments that pass a TID to userland. Brin...
[TXT] kern_sysctl.c  1.394   3 years  bluhm   Reorder the integer sysctl functions. Then the traditional 4.4BSD comment 'As a...
[TXT] kern_task.c  1.31   3 years  anton   Add support for remote coverage to kcov. Remote coverage is collected from threa...
[TXT] kern_tc.c  1.74   2 years  cheloha   timecounting: add FRAC_TO_NSEC(), BINTIME_TO_NSEC() Refactor the fraction-to-na...
[TXT] kern_time.c  1.154   2 years  cheloha   setitimer(2): increase timer limit to UINT_MAX seconds Currently setitimer(2) r...
[TXT] kern_timeout.c  1.85   2 years  cheloha   timeout(9): change argument order for timeout_set_kclock() Move the kclock argu...
[TXT] kern_unveil.c  1.51   2 years  claudio   No need to initialize nuv, it is assigned to before use.
[TXT] kern_uuid.c  1.2   9 years  miod   Sync enc/dec routines with libc.
[TXT] kern_watchdog.c  1.15   3 years  gnezdo   Enforce range with sysctl_int_bounded in sysctl_wdog OK millert@
[TXT] kern_xxx.c  1.36   5 years  deraadt   retguard has now replaced the stack protector on clang architectures, the kernel...
[TXT] makesyscalls.sh  1.13   7 years  jca   unbalenced->unbalanced
[TXT] sched_bsd.c  1.69   2 years  mpi   Add THREAD_PID_OFFSET to tracepoint arguments that pass a TID to userland. Brin...
[TXT] spec_vnops.c  1.104   3 years  claudio   Introduce a global vnode_mtx and use it to make vn_lock() safe to be called with...
[TXT] subr_autoconf.c  1.94   4 years  jsg   convert infinite msleep(9) to msleep_nsec(9) ok mpi@
[TXT] subr_disk.c  1.245   2 years  krw   Back off a couple of the more paranoid checks while spoofing GPT partitions into...
[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.63   4 years  mpi   Convert infinite sleeps to tsleep_nsec(9). ok bluhm@
[TXT] subr_hibernate.c  1.129   2 years  deraadt   printing the hibernate image size in MB is easier on the eyes 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.74   3 years  mvs   Unlock sendsyslog(2). Console output still requires kernel lock to be held but t...
[TXT] subr_percpu.c  1.9   3 years  jsg   spelling ok gnezdo@ semarie@ mpi@
[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.234   2 years  dlg   factor out nsecuptime and getnsecuptime. these functions were implemented in a ...
[TXT] subr_prf.c  1.104   3 years  cheloha   kernel: introduce per-CPU panic(9) message buffers Add a 512-byte buffer (ci_pa...
[TXT] subr_prof.c  1.31   2 years  jasper   add kprobes provider for dt this allows us to dynamically trace function bounda...
[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.46   4 years  cheloha   options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@
[TXT] subr_witness.c  1.47   3 years  mpi   Skip first frame when saving stacktraces, it's always witness_checkorder(). ok ...
[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.18   3 years  kettenis   Fix the return value for the FUTEX_WAIT/FUTEX_WAIT_PRIVATE futex(2) operation. ...
[TXT] sys_generic.c  1.135   3 years  visa   Revert "Implement select(2) and pselect(2) on top of kqueue." The use of kqueue...
[TXT] sys_pipe.c  1.126   3 years  visa   Set klist lock for pipes. OK anton@, mpi@
[TXT] sys_process.c  1.88   3 years  mpi   Revert previous, it introduced a regression with breakpoints in gdb.
[TXT] sys_socket.c  1.46   2 years  mpi   Kill SS_ASYNC and only check SB_ASYNC when async signals are wanted. This socke...
[TXT] syscalls.c  1.228   2 years  mvs   regen
[TXT] syscalls.master  1.218   2 years  mvs   Unlock connect(2). Again. ok mpi@
[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.37   3 years  cheloha   kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9) ti...
[TXT] sysv_sem.c  1.61   3 years  bluhm   Rearrange the implementation of bounded sysctl. The primitive functions are sys...
[TXT] sysv_shm.c  1.78   3 years  gnezdo   Convert sysctl_sysvsem to sysctl_int_bounded Performed a minor refactoring and ...
[TXT] tty.c  1.169   3 years  kettenis   In ttyinfo() check that ps_vmspace isn't NULL before calculating the resident se...
[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.49   4 years  otto   NMEA 4.1 has one more field in the RMC message; ok kettenis@
[TXT] tty_pty.c  1.108   3 years  claudio   Do not hold onto the fdplock longer then needed. Release the lock after the init...
[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.28   3 years  jsg   spelling ok gnezdo@ semarie@ mpi@
[TXT] uipc_domain.c  1.59   3 years  bluhm   As network features are not added dynamically, the domain structures are constan...
[TXT] uipc_mbuf.c  1.279   3 years  jsg   ansi
[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.20   3 years  bluhm   Declare all struct protosw as constant. OK mvs@
[TXT] uipc_socket.c  1.264   2 years  mpi   Pass a socket pointer to various socket buffer routines in preparation for per-s...
[TXT] uipc_socket2.c  1.113   2 years  mpi   Pass a socket pointer to various socket buffer routines in preparation for per-s...
[TXT] uipc_syscalls.c  1.193   2 years  bluhm   Writing ktrace files to NFS must no be done while holding the net lock. accept(...
[TXT] uipc_usrreq.c  1.148   3 years  bluhm   branches: 1.148.2; As network features are not added dynamically, the domain st...
[TXT] vfs_bio.c  1.207   2 years  mpi   Introduce dummy pagers for 'special' subsystems using UVM objects. Some pmaps (...
[TXT] vfs_biomem.c  1.50   2 years  mpi   Introduce dummy pagers for 'special' subsystems using UVM objects. Some pmaps (...
[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.48   3 years  claudio   Introduce a global vnode_mtx and use it to make vn_lock() safe to be called with...
[TXT] vfs_getcwd.c  1.36   5 years  beck   Fix the initialization of bp before calling vfs_getcwd_common It is bad style t...
[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.45   4 years  visa   Replace rwsleep(9) with rwsleep_nsec(9) in vfs_lockf.c. Prompted by and OK chel...
[TXT] vfs_lookup.c  1.85   2 years  claudio   Remove the unveil current directory pointer from struct process. Instead pass in...
[TXT] vfs_subr.c  1.306   2 years  claudio   Swap lock flags so that LK_EXCLUSIVE is first like in all other places.
[TXT] vfs_sync.c  1.66   2 years  dlg   factor out nsecuptime and getnsecuptime. these functions were implemented in a ...
[TXT] vfs_syscalls.c  1.352   2 years  claudio   Remove the unveil current directory pointer from struct process. Instead pass in...
[TXT] vfs_vnops.c  1.116   3 years  anton   Unlock lseek(2). In August 2019 I tried to unlock lseek which failed since the ...
[TXT] vfs_vops.c  1.30   3 years  claudio   Introduce a global vnode_mtx and use it to make vn_lock() safe to be called with...
[TXT] syscalls.conf (in the Attic) [Hide]  1.20   10 years  guenther   Snapshots for all archs have been built, so remove the T32 code