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_1


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.38   2 years  guenther   Delete the last emulation callbacks: we're Just ELF, so declare exec_elf_fixup()...
[TXT] exec_elf.c  1.165   2 years  guenther   We only have one syscall table: inline sysent/SYS_MAXSYSCALL and SYS_syscall as ...
[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.315   2 years  guenther   Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h> net/if_pp...
[TXT] init_sysent.c  1.235   2 years  mvs   regen
[TXT] kern_acct.c  1.46   2 years  deraadt   Since other exported commandnames were increased to 24 and graduated into proper...
[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.103   2 years  jsg   unifdef PROC_PC ok guenther@ rob@
[TXT] kern_descrip.c  1.205   2 years  bluhm   Shifting signed integers left by 31 is undefined behavior in C. found by kubsan;...
[TXT] kern_event.c  1.186.2.1   2 years  bluhm   kqueue: Fix race condition in knote_remove() Always fetch the knlist array poin...
[TXT] kern_exec.c  1.230   2 years  deraadt   Start using new _MAXCOMLEN (a proper string expanded to 24 bytes including the N...
[TXT] kern_exit.c  1.203   2 years  millert   Move knote_processexit() call from exit1() to the reaper(). This fixes a problem...
[TXT] kern_fork.c  1.239   2 years  visa   Use the refcnt API with struct ucred. OK bluhm@
[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.106   2 years  deraadt   Start using new _MAXCOMLEN (a proper string expanded to 24 bytes including the N...
[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.281   2 years  robert   add an exception to the CPU_ID_AA64ISAR0 in pledged applications so that libcryp...
[TXT] kern_proc.c  1.91   2 years  jsg   use NULL not 0 for pointer values in kern ok semarie@
[TXT] kern_prot.c  1.79   2 years  visa   Use the refcnt API with struct ucred. OK bluhm@
[TXT] kern_resource.c  1.72   2 years  visa   Use the refcnt API with struct plimit. OK bluhm@ dlg@
[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.74   2 years  bluhm   Shifting signed integers left by 31 is undefined behavior in C. found by kubsan;...
[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.295   2 years  claudio   Revert part of rev 1.293. Using cursig() to deliver masked signals to the debugg...
[TXT] kern_smr.c  1.15   2 years  visa   Fix type of count.
[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.185   2 years  bluhm   Cleanup reference counting. Remove #ifdef DIAGNOSTIC to keep the code similar i...
[TXT] kern_sysctl.c  1.402   2 years  bluhm   Header netinet/in_pcb.h includes sys/mutex.h now. Recommit mutex for PCB tables...
[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.75   2 years  jsg   use NULL not 0 for pointer values in kern ok semarie@
[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.53   2 years  semarie   move kern_unveil.c to use DPRINTF() Changes the way printf debug is done in ker...
[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.38   2 years  guenther   We only have one syscall table: inline sysent/SYS_MAXSYSCALL and SYS_syscall as ...
[TXT] makesyscalls.sh  1.15   2 years  guenther   We only have one syscall table: inline sysent/SYS_MAXSYSCALL and SYS_syscall as ...
[TXT] sched_bsd.c  1.70   2 years  deraadt   Change hw.perfpolicy=auto by default, at startup. If the system has AC power co...
[TXT] spec_vnops.c  1.107   2 years  visa   Clarify usage of __EV_POLL and __EV_SELECT Make __EV_POLL specific to kqueue-ba...
[TXT] subr_autoconf.c  1.95   2 years  deraadt   Improve unhibernate performance (30% on some machines, another upcoming diff sho...
[TXT] subr_disk.c  1.248   2 years  krw   Stop writing big-endian checksums into the little-endian GPT header fields gh_cs...
[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.134   2 years  deraadt   The suspend/resume code sleeps-not-allowed phases are protected with cold=2. Us...
[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.235   2 years  bluhm   Shifting signed integers left by 31 is undefined behavior in C. found by kubsan;...
[TXT] subr_prf.c  1.105   2 years  bluhm   snprintf(9) allows NULL string if size is 0. But doing NULL pointer arithmetic ...
[TXT] subr_prof.c  1.31   2 years  jasper   add kprobes provider for dt this allows us to dynamically trace function bounda...
[TXT] subr_suspend.c  1.10   2 years  deraadt   return unique errors (I chose some errno values.. ) for the various failure mode...
[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.47   2 years  jsg   use NULL not 0 for pointer values in kern ok semarie@
[TXT] subr_witness.c  1.48   2 years  jsg   anscestors -> ancestors
[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.20   2 years  visa   Let futex_wait() run without kernel lock The KERNEL_LOCK() is no longer necessa...
[TXT] sys_generic.c  1.147   2 years  visa   poll(2): Switch to kqueue backend Implement the poll(2) system call on top of t...
[TXT] sys_pipe.c  1.136   2 years  visa   Use knote_modify() and knote_process() in obvious places.
[TXT] sys_process.c  1.89   2 years  guenther   Continue to delete emulation support: since we're Just ELF, the size of the auxi...
[TXT] sys_socket.c  1.49   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[TXT] syscalls.c  1.234   2 years  mvs   regen
[TXT] syscalls.master  1.223   2 years  mvs   Unlock getsockname(2) syscall. For inet and UNIX sockets it fills passed 'sockad...
[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.38   2 years  jsg   consisitent -> consistent
[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.79   2 years  anton   Let malloc return an error as opposed of panicking when sysctl kern.shminfo.shms...
[TXT] tty.c  1.174   2 years  jsg   unifdef TIOCHPCL, 4.3BSD compat ioctl ok deraadt@ guenther@
[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.112   2 years  visa   Adjust pty and tty event filters * Implement EVFILT_EXCEPT for ttys for HUP con...
[TXT] tty_subr.c  1.35   2 years  deraadt   firstc() and nextc() use an int of global static storage. Make this a pointer t...
[TXT] tty_tty.c  1.29   2 years  visa   Clarify usage of __EV_POLL and __EV_SELECT Make __EV_POLL specific to kqueue-ba...
[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.283   2 years  guenther   Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h> net/if_pp...
[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.22   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[TXT] uipc_socket.c  1.275   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[TXT] uipc_socket2.c  1.120   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[TXT] uipc_syscalls.c  1.194   2 years  jsg   use NULL not 0 for pointer values in kern ok semarie@
[TXT] uipc_usrreq.c  1.163   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[TXT] vfs_bio.c  1.208   2 years  visa   Add vnode parameter to VOP_STRATEGY() Pass the device vnode as a parameter to V...
[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.57   6 years  kn   Sync VFS documentation with reality Missed during the "Namecache revamp" in 200...
[TXT] vfs_default.c  1.50   2 years  semarie   vnode: remove vop_generic_{,is,un}lock stub functions These functions are only ...
[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.86   2 years  jsg   use NULL not 0 for pointer values in kern ok semarie@
[TXT] vfs_subr.c  1.315   2 years  semarie   sys/vnode.h cleanup for vnode_hold_list, vnode_free_list, struct freelst vnode_...
[TXT] vfs_sync.c  1.67   2 years  semarie   vnode: remove vop_generic_{,is,un}lock stub functions These functions are only ...
[TXT] vfs_syscalls.c  1.356   2 years  rob   Writes to the ps_flags field of struct process should be atomic. Ok deraadt@ gue...
[TXT] vfs_vnops.c  1.119   2 years  visa   Let filt_fileattach() run without the kernel lock This makes it possible to att...
[TXT] vfs_vops.c  1.34   2 years  visa   Add vnode parameter to VOP_STRATEGY() Pass the device vnode as a parameter to V...
[TXT] syscalls.conf (in the Attic) [Hide]  1.20   10 years  guenther   Snapshots for all archs have been built, so remove the T32 code