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_7_BASE


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.49   5 years  deraadt   socppc makes an extended visit to the bigbucket. ok kettenis
[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.36   4 years  guenther   struct execsw's es_emul is no longer used, so delete it ok deraadt@
[TXT] exec_elf.c  1.154   4 years  deraadt   The ELF NOTE parser would only inspect the first NOTE for 'OpenBSD'. Furthermore...
[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.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.297   4 years  mpi   Rename "sigacts" flag field to avoid conflict with the "process" one. This show...
[TXT] init_sysent.c  1.218   4 years  anton   regen
[TXT] kern_acct.c  1.42   4 years  cheloha   struct proc: change ps_start from utc time to uptime Allows us to determine how...
[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.101   4 years  mpi   Import dt(4) a driver and framework for Dynamic Profiling. The design is fairly...
[TXT] kern_descrip.c  1.201   4 years  anton   In order to unlock flock(2), make writes to the f_iflags field of struct file at...
[TXT] kern_event.c  1.131   4 years  visa   Abstract the head of knote lists. This allows extending the lists, for example, ...
[TXT] kern_exec.c  1.213   4 years  anton   Consistently perform atomic writes to the ps_flags field of struct process. ok ...
[TXT] kern_exit.c  1.188   4 years  visa   branches: 1.188.4; 1.188.6; Restart child process scan in dowait4() if single_...
[TXT] kern_fork.c  1.225   4 years  claudio   Use atomic operations to update ps_singlecount. This makes single_thread_check()...
[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.103   4 years  visa   Take an explicit write reference when associating a thread with a ktrace vnode. ...
[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.141   4 years  mpi   Convert infinite sleeps to {m,t}sleep_nsec(9). ok visa@
[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.262   4 years  visa   Declare pledgenames[] as const. OK deraadt@
[TXT] kern_proc.c  1.86   4 years  mpi   Split `p_priority' into `p_runpri' and `p_slppri'. Using different fields to re...
[TXT] kern_prot.c  1.76   4 years  bluhm   The system calls getgroups(2) and setgroups(2) pass the number of groups as sign...
[TXT] kern_resource.c  1.68   4 years  mpi   Stop calling resched_proc() after changing the nice(3) value of a process. Chan...
[TXT] kern_rwlock.c  1.45   4 years  visa   Fix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write(). WITNESS_UNLO...
[TXT] kern_sched.c  1.66   4 years  claudio   Remove sigacts structure sharing. The only process that used sharing was proc0 w...
[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.256   4 years  visa   Abstract the head of knote lists. This allows extending the lists, for example, ...
[TXT] kern_smr.c  1.8   4 years  visa   Adjust SMR_ASSERT_CRITICAL() and SMR_ASSERT_NONCRITICAL() so that the panic mess...
[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.170   4 years  claudio   Fix single thread behaviour in sleep_setup_signal(). If a thread needs to suspen...
[TXT] kern_sysctl.c  1.371   4 years  millert   Return EINVAL for KERN_PROC if the size parameter is 0. Prevents a panic due to ...
[TXT] kern_task.c  1.27   4 years  mpi   Convert infinite sleeps to {m,t}sleep_nsec(9). ok visa@
[TXT] kern_tc.c  1.55   4 years  cheloha   tc_setclock: reintroduce timeout_adjust_ticks() call Missing piece of tickless ...
[TXT] kern_time.c  1.127   4 years  cheloha   nanosleep(2): tsleep(9) -> tsleep_nsec(9) While here, rename the wait channel s...
[TXT] kern_timeout.c  1.72   4 years  mpi   Cleanup <sys/kthread.h> and <sys/proc.h> includes. Do not include <sys/kthread....
[TXT] kern_unveil.c  1.39   4 years  anton   remove unused variable; ok beck@ mpi@
[TXT] kern_uuid.c  1.2   9 years  miod   Sync enc/dec routines with libc.
[TXT] kern_watchdog.c  1.14   4 years  kn   Use timeout_add_msec(9) Although the period is specified in seconds, convert to...
[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.62   4 years  mpi   Split `p_priority' into `p_runpri' and `p_slppri'. Using different fields to re...
[TXT] spec_vnops.c  1.100   4 years  claudio   struct vops is not modified during runtime so use const which moves each into re...
[TXT] subr_autoconf.c  1.94   4 years  jsg   convert infinite msleep(9) to msleep_nsec(9) ok mpi@
[TXT] subr_disk.c  1.236   4 years  mpi   Simplify logic, the "netboot" interface is always related to `bootdv'. Logic is...
[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.125   5 years  mlarkin   don't let the retguard skip region exceed the space we have reserved for it in t...
[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.66   4 years  visa   Abstract the head of knote lists. This allows extending the lists, for example, ...
[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.230   4 years  cheloha   pool(9): replace custom TAILQ concatenation loops with TAILQ_CONCAT(3) TAILQ_CO...
[TXT] subr_prf.c  1.99   4 years  mpi   Get rid of `ddb_is_active' instead use `db_active'. From Christian Ludwig <chri...
[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.46   4 years  cheloha   options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@
[TXT] subr_witness.c  1.37   4 years  visa   Fix memory corruption with kern.witness.locktrace. The allocating of lock stack...
[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.16   4 years  cheloha   futex(2): FUTEX_WAIT: rwsleep_nsec(9) at least one nanosecond mpi@ and I added ...
[TXT] sys_generic.c  1.131   4 years  cheloha   poll(2), ppoll(2), pselect(2), select(2): tsleep(9) -> tsleep_nsec(9) With inpu...
[TXT] sys_pipe.c  1.119   4 years  visa   Abstract the head of knote lists. This allows extending the lists, for example, ...
[TXT] sys_process.c  1.83   4 years  mpi   Keep track of traced child under a list of orphans while they are being reparent...
[TXT] sys_socket.c  1.45   4 years  anton   In preparation for unlocking ioctl(2), grab the kernel lock as needed. ok kette...
[TXT] syscalls.c  1.217   4 years  anton   regen
[TXT] syscalls.master  1.207   4 years  anton   Unlock flock(2). ok mpi@ visa@
[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.36   4 years  mpi   Convert infinite sleeps to {m,t}sleep_nsec(9). ok bluhm@
[TXT] sysv_sem.c  1.57   4 years  mpi   branches: 1.57.4; Convert infinite sleeps to tsleep_nsec(9). ok bluhm@
[TXT] sysv_shm.c  1.76   4 years  anton   Grab a reference for the shared memory segment before calling uvm_map() as the s...
[TXT] tty.c  1.154   4 years  visa   branches: 1.154.4; Abstract the head of knote lists. This allows extending the ...
[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.98   4 years  visa   branches: 1.98.4; Abstract the head of knote lists. This allows extending the l...
[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.25   4 years  mpi   Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does. Prevent gen...
[TXT] uipc_domain.c  1.57   4 years  dlg   add the kernel side of net.link.ifrxq.pressure_return and pressure_drop these v...
[TXT] uipc_mbuf.c  1.274   4 years  dlg   add ml_hdatalen and mq_hdatalen as workalikes of ifq_hdatalen. this is so pppx(...
[TXT] uipc_mbuf2.c  1.44   4 years  bluhm   Fix uipc white spaces.
[TXT] uipc_proto.c  1.18   4 years  bluhm   Convert struct unpcb malloc(9) to pool_get(9). OK mpi@ visa@
[TXT] uipc_socket.c  1.244   4 years  anton   In sosplice(), temporarily release the socket lock before calling FRELE() as the...
[TXT] uipc_socket2.c  1.104   4 years  claudio   Add soassertlocked() checks to sbappend() and sbappendaddr(). This brings them i...
[TXT] uipc_syscalls.c  1.184   4 years  mpi   Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9). Introd...
[TXT] uipc_usrreq.c  1.142   4 years  bluhm   Fix uipc white spaces.
[TXT] vfs_bio.c  1.200   4 years  beck   Ensure that if we are doing a delayed write with a NOCACHE buffer, we clear the ...
[TXT] vfs_biomem.c  1.48   4 years  kettenis   Fix panic message. ok millert@, deraadt@
[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.47   4 years  visa   Replace field f_isfd with field f_flags in struct filterops to allow adding more...
[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.83   4 years  beck   Fix unveil for relative lookups in the non AT_FDCWD case Issue spotted by Benja...
[TXT] vfs_subr.c  1.301   4 years  anton   Relax the lockcount assertion in vputonfreelist(). Back when I fixed several pro...
[TXT] vfs_sync.c  1.63   4 years  claudio   struct vops is not modified during runtime so use const which moves each into re...
[TXT] vfs_syscalls.c  1.344   4 years  anton   Move unveil data structures away from the proc.h header into the implementation ...
[TXT] vfs_vnops.c  1.114   4 years  mpi   Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does. Prevent gen...
[TXT] vfs_vops.c  1.28   4 years  mpi   Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does. Prevent gen...
[TXT] syscalls.conf (in the Attic) [Hide]  1.20   10 years  guenther   Snapshots for all archs have been built, so remove the T32 code