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_5_BASE


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.48   7 years  deraadt   +arm64
[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.35   7 years  guenther   In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except leaving out...
[TXT] exec_elf.c  1.147   5 years  guenther   Core files with >65535 sections have to use PN_XNUM and a section header to pass...
[TXT] exec_script.c  1.47   5 years  mpi   Put file descriptors on shared data structures when they are completely setup, t...
[TXT] exec_subr.c  1.55   6 years  deraadt   Implement MAP_STACK option for mmap(). Synchronous faults (pagefault and syscal...
[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.284   5 years  visa   Introduce safe memory reclamation, a mechanism for reclaiming shared objects tha...
[TXT] init_sysent.c  1.200   5 years  deraadt   sync
[TXT] kern_acct.c  1.36   6 years  visa   Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always curproc tha...
[TXT] kern_bufq.c  1.32   6 years  mikeb   Correct the check when selecting an elevator Coverity CID 1453358; Severity: un...
[TXT] kern_clock.c  1.98   5 years  mpi   Simplify by using `spc' since we already have it, no behavior change.
[TXT] kern_descrip.c  1.183   5 years  anton   trace struct flock; ok visa@
[TXT] kern_event.c  1.101   5 years  cheloha   EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload. tvtohz(9) add...
[TXT] kern_exec.c  1.203   5 years  bluhm   Fix stack info leak in execve(2). There are 2x4 bytes of padding in struct ps_s...
[TXT] kern_exit.c  1.173   5 years  tedu   eliminate a ?: in witness mtx initializer by pushing the default one level up. o...
[TXT] kern_fork.c  1.209   5 years  visa   Fix unsafe use of ptsignal() in mi_switch(). ptsignal() has to be called with t...
[TXT] kern_kthread.c  1.42   5 years  visa   Grab the KERNEL_LOCK() in kthread_create(9) to enable unlocked code paths create...
[TXT] kern_ktrace.c  1.99   5 years  beck   Decouple unveil from the pledge flags, by adding dedicated unveil flags to the n...
[TXT] kern_lock.c  1.68   5 years  visa   Add a simple spinning mutex for ddb. Unlike mutex(9), this lock keeps on spinnin...
[TXT] kern_malloc.c  1.136   5 years  bluhm   In free(9) call wakeup() after mtx_leave() consistently. OK kettenis@ visa@ mpi@...
[TXT] kern_physio.c  1.43   9 years  jsg   Remove some includes include-what-you-use claims don't have any direct symbols u...
[TXT] kern_pledge.c  1.251   5 years  florian   Allow *at variant of mkfifo and mknod, too. OK deraadt
[TXT] kern_proc.c  1.85   5 years  visa   Add a mechanism for managing asynchronous IO signal registrations. It centralize...
[TXT] kern_prot.c  1.75   5 years  visa   tweak comment
[TXT] kern_resource.c  1.59   5 years  visa   Fix unsafe use of ptsignal() in mi_switch(). ptsignal() has to be called with t...
[TXT] kern_rwlock.c  1.37   5 years  guenther   Constipate all the struct lock_type's so they go into .rodata ok visa@
[TXT] kern_sched.c  1.56   5 years  visa   Make sure that each ci has its spc_deferred queue initialized. Otherwise, the sy...
[TXT] kern_sensors.c  1.38   7 years  deraadt   Correct wakeup() dance in sensor_task_work() Problem noticed by krw
[TXT] kern_sig.c  1.228   5 years  tedu   open the coredump file non-blocking. cheloha found it blocks with a fifo. ok che...
[TXT] kern_smr.c  1.1   5 years  visa   Introduce safe memory reclamation, a mechanism for reclaiming shared objects tha...
[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.147   5 years  cheloha   Sprinkle a pinch of timerisvalid/timespecisvalid over the rest of sys/kern
[TXT] kern_sysctl.c  1.354   5 years  visa   branches: 1.354.2; Add a dedicated sysctl(2) node for witness(4). The new node...
[TXT] kern_task.c  1.24   5 years  dlg   deprecate TASKQ_CANTSLEEP since nothing uses it anymore if we ever want it back...
[TXT] kern_tc.c  1.43   5 years  cheloha   MP-safe timecounting: new rwlock: tc_lock tc_lock allows adjfreq(2) and the ker...
[TXT] kern_time.c  1.114   5 years  cheloha   Tweak previous: include <sys/stdint.h> for INT64_MAX/INT64_MIN.
[TXT] kern_timeout.c  1.53   6 years  dlg   i forgot to convert timeout_proc_barrier to cond_signal
[TXT] kern_unveil.c  1.25   5 years  beck   Remove this assert, I can't do this here with UNVEIL_INSPECT added aggressively ...
[TXT] kern_uuid.c  1.2   9 years  miod   Sync enc/dec routines with libc.
[TXT] kern_watchdog.c  1.13   7 years  mpi   Revert previous, it's a documented behavior and people might rely on it. Pointe...
[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.50   5 years  visa   Introduce safe memory reclamation, a mechanism for reclaiming shared objects tha...
[TXT] spec_vnops.c  1.95   5 years  visa   Remember to lock v_specparent for VOP operations. OK anton@, mpi@
[TXT] subr_autoconf.c  1.93   5 years  mpi   free(9) sizes for softcs. ok tedu@
[TXT] subr_disk.c  1.234   6 years  jasper   replace add_*_randomness with enqueue_randomness() this gets rid of the source ...
[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.60   5 years  mpi   Revert previous, it breaks regress.
[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.2   5 years  anton   correct LOCATION_REPORTED mask
[TXT] subr_log.c  1.56   5 years  mpi   Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O mode for sockets...
[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.226   5 years  tedu   revert revert revert. there are many other archs that use custom allocs.
[TXT] subr_prf.c  1.97   5 years  deraadt   irrelevant part snuck into previous commit; from semarie
[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.45   7 years  mpi   Rename Debugger() into db_enter(). Using a name with the 'db_' prefix makes it ...
[TXT] subr_witness.c  1.30   5 years  kevlo   Remove FBSDID. ok deraadt@
[TXT] subr_xxx.c  1.16   6 years  mpi   Silence assertwaitok() if we are in ddb(4). ok bluhm@
[TXT] sys_futex.c  1.12   5 years  mpi   Use ktrreltimespec() as the timeout is relative, pointed by matthew@. ok cheloh...
[TXT] sys_generic.c  1.123   5 years  cheloha   select(2), pselect(2), poll(2), ppoll(2): Support full timeout range. Remove th...
[TXT] sys_pipe.c  1.87   5 years  visa   Fix fcntl(fd, F_GETOWN) with pipes. As a regression of kern_descrip.c r1.177 and...
[TXT] sys_process.c  1.80   6 years  mpi   Change some returns into gotos, will help keeping the unlocking path simpler. N...
[TXT] sys_socket.c  1.42   5 years  visa   Utilize sigio with sockets. OK mpi@
[TXT] syscalls.c  1.199   5 years  deraadt   sync
[TXT] syscalls.master  1.189   5 years  deraadt   mincore() is a relic from the past, exposing physical machine information about ...
[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.34   5 years  mpi   free(9) size for temporary buffer. ok ratchov@
[TXT] sysv_sem.c  1.56   5 years  anton   branches: 1.56.4; When freeing the sem_undo structure in semundo_adjust(), upda...
[TXT] sysv_shm.c  1.71   5 years  millert   I am retiring my old email address; replace it with my OpenBSD one.
[TXT] tty.c  1.143   5 years  jsg   fix whitespace
[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.48   5 years  landry   Parse altitude and ground speed values from the GGA & RMC NMEA messages, and pro...
[TXT] tty_pty.c  1.93   5 years  anton   Bring back revision 1.91 now that vmd has been fixed, repeating the previous com...
[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.24   6 years  visa   Remove proc from the parameters of vn_lock(). The parameter is unnecessary becau...
[TXT] uipc_domain.c  1.56   5 years  denis   Replace value with a constant OK bluhm@, jca@
[TXT] uipc_mbuf.c  1.268   5 years  tedu   revert revert revert. there are many other archs that use custom allocs.
[TXT] uipc_mbuf2.c  1.43   5 years  claudio   M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers for m_leadingspace() an...
[TXT] uipc_proto.c  1.17   6 years  guenther   AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, but AF_UNI...
[TXT] uipc_socket.c  1.231   5 years  bluhm   branches: 1.231.2; When using MSG_WAITALL, soreceive() can sleep while processi...
[TXT] uipc_socket2.c  1.100   5 years  dlg   let sbcreatecontrol take a const void * instead of a caddr_t. this makes it eas...
[TXT] uipc_syscalls.c  1.181   5 years  deraadt   Yet another (unsigned) cast who's only purpose is to incorrectly truncate a size...
[TXT] uipc_usrreq.c  1.139   5 years  martijn   Allow SO_PEERCRED to be called on sockets created with socketpair. OK claudio@ ...
[TXT] vfs_bio.c  1.188   5 years  tedu   if a write fails, we mark the buffer invalid and throw it away. this can lead to...
[TXT] vfs_biomem.c  1.39   6 years  mlarkin   KNF (wrap a long line)
[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.43   7 years  bluhm   Remove the unused olddp parameter from function dounmount(). OK mpi@ millert@
[TXT] vfs_getcwd.c  1.31   6 years  visa   Drop unnecessary `p' parameter from vget(9). OK mpi@
[TXT] vfs_init.c  1.42   5 years  visa   Restrict which filesystems are available for swap. This rules out obvious miscon...
[TXT] vfs_lockf.c  1.36   5 years  visa   Move the prototypes of internal lockf functions from <sys/lockf.h> to vfs_lockf....
[TXT] vfs_lookup.c  1.76   5 years  beck   Fix a collection of covering unveil bugs that prevent unveil's of upper level di...
[TXT] vfs_subr.c  1.287   5 years  visa   Restrict which filesystems are available for swap. This rules out obvious miscon...
[TXT] vfs_sync.c  1.60   5 years  visa   Simplify the startup of the cleaner, reaper and update threads by passing the ma...
[TXT] vfs_syscalls.c  1.314   5 years  beck   Make stat(2) and access(2) need UNVEIL_READ instead of UNVEIL_INSPECT UNVEIL_IN...
[TXT] vfs_vnops.c  1.97   5 years  mpi   Reorder checks in the read/write(2) family of syscalls to prepare making file op...
[TXT] vfs_vops.c  1.20   5 years  tedu   if a write fails, we mark the buffer invalid and throw it away. this can lead to...
[TXT] syscalls.conf (in the Attic) [Hide]  1.20   10 years  guenther   Snapshots for all archs have been built, so remove the T32 code