OpenBSD CVS

src/sys/sys/


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 / sys

Current tag: OPENBSD_7_0_BASE


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] _endian.h  1.8   6 years  dlg   cast the result of the ternary operators in __swapXX to the right type ok kette...
[TXT] _lock.h  1.4   5 years  visa   Remove file name and line number output from witness(4) Reduce code clutter by ...
[TXT] _null.h  1.2   7 years  millert   Remove duplicated contents, either a patch bug or PEBKAC.
[TXT] _time.h  1.9   6 years  cheloha   Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2) and put it to use i...
[TXT] _types.h  1.9   9 years  krw   POSIX/FreeBSD/NetBSD/Linux/etc agree -- blk[size|cnt]_t is the bomb. So add the...
[TXT] acct.h  1.10   3 years  rob   Remove last remnants of ASU ac_flag from accounting. OK deraadt@, bluhm@
[TXT] ataio.h  1.5   20 years  miod   Typos: defintion -> definition, proccess -> process There are more occurences h...
[TXT] atomic.h  1.6   5 years  visa   Add macros READ_ONCE() and WRITE_ONCE(). They constrain optimizations done by th...
[TXT] audioio.h  1.27   7 years  ratchov   Remove drain(), query_encoding(), mappage() and get_default_params() methods fro...
[TXT] buf.h  1.112   4 years  beck   Re commit what was committed in version 1.43 with a fix added to ensure we handl...
[TXT] cdefs.h  1.43   5 years  guenther   Support _ISOC11_SOURCE for forcing C11 feature visibility. Change the default w...
[TXT] cdio.h  1.17   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] chio.h  1.8   2 years  robert   add support for obtaining sense status and source slot of a media this fixes a ...
[TXT] conf.h  1.156   3 years  thfr   introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers. This incl...
[TXT] core.h  1.7   7 years  guenther   Document why <sys/core.h> is still needed
[TXT] ctf.h  1.5   6 years  nayden   Convert variable type to C99. OK mpi@
[TXT] device.h  1.55   5 years  sashan   - if_cloners list populated at boot time only then becomes immutable, so we ca...
[TXT] dir.h  1.5   21 years  millert   Remove the advertising clause in the UCB license which Berkeley rescinded 22 Jul...
[TXT] dirent.h  1.11   10 years  zhuk   Zap some getdirentries() leftovers. okay guenther@
[TXT] disk.h  1.36   7 years  deraadt   Also pass the blk offset to disk_unbusy(), so that it can pass it to the random ...
[TXT] disklabel.h  1.78   3 years  krw   Spoof GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a. "Idont...
[TXT] dkio.h  1.12   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] domain.h  1.22   3 years  bluhm   As network features are not added dynamically, the domain structures are constan...
[TXT] endian.h  1.25   9 years  guenther   <sys/endian.h> needs <sys/cdefs.h> found previously by someone whose email I've...
[TXT] errno.h  1.25   6 years  jsg   Add additional errno values required by POSIX. ok jca@ kettenis@ deraadt@
[TXT] evcount.h  1.3   13 years  matthew   Get rid of evcount's support for arranging counters in a tree hierarchy. Everyt...
[TXT] event.h  1.56   2 years  visa   kqueue: kq_lock is needed when updating kn_status The kn_status field of struct...
[TXT] eventvar.h  1.12   2 years  visa   Serialize internals of kqueue with a mutex Extend struct kqueue with a mutex an...
[TXT] exec.h  1.44   3 years  drahn   Add MID_RISCV64 and EM_RISCV to enable riscv64 ok deraadt@
[TXT] exec_elf.h  1.90   3 years  drahn   Add MID_RISCV64 and EM_RISCV to enable riscv64 ok deraadt@
[TXT] exec_script.h  1.6   6 years  tedu   the SETUIDSCRIPTS define is no longer needed since the code was unifdef a few ye...
[TXT] extent.h  1.14   10 years  kettenis   Add extent_alloc_with_descr(9) as a wrapper around extent_alloc_subregion_with_d...
[TXT] fcntl.h  1.22   5 years  anton   Introduce a dedicated entry point data structure for file locks. This new data s...
[TXT] file.h  1.62   3 years  martijn   Hoist DTYPE_* out of #ifdef _KERNEL. Similar to what NetBSD and FreeBSD have don...
[TXT] filedesc.h  1.45   3 years  anton   It's been agreed upon that global locks should be expressed using capital letter...
[TXT] filio.h  1.5   17 years  deraadt   FIBMAP is used by nothing; checked by miod and pvalchev
[TXT] fusebuf.h  1.13   5 years  helg   Send the calling thread id, effective uid and gid, and umask to the FUSE file sy...
[TXT] futex.h  1.2   6 years  kettenis   Implement process-shared futexes. These are now the default implementation. Int...
[TXT] gmon.h  1.8   8 years  guenther   Declare moncontrol(3) APIs in <sys/gmon.h> Export _gmonparam again. Make gcrt0.o...
[TXT] gpio.h  1.8   12 years  matthieu   Add a 'flag' locator to gpioiic(4), and define a first flag value to swap the SD...
[TXT] hibernate.h  1.42   5 years  mlarkin   Save and restore retguard area during hibernate unpack. This copies the original...
[TXT] hotplug.h  1.5   18 years  mk   Actually remove the device id from events.
[TXT] intrmap.h  1.3   3 years  dlg   add intrmap_one, some temp code to help us write pci_intr_establish_cpu. it mea...
[TXT] ioccom.h  1.5   11 years  deraadt   NBPG is spelled PAGE_SIZE
[TXT] ioctl.h  1.17   8 years  naddy   Support for running Linux binaries under emulation is going away. Remove "optio...
[TXT] ipc.h  1.13   9 years  guenther   Pull in sys/types.h for the necessary typedefs prodded by brad@, ok deraadt@
[TXT] kcore.h  1.1   28 years  niklas   Merge of NetBSD 960317
[TXT] kcov.h  1.7   3 years  anton   KCOV_BUF_MAX_NMEMB is defined under _KERNEL in sys/kcov.h but only used in dev/k...
[TXT] kernel.h  1.25   3 years  cheloha   kernel, sysctl(8): remove dead variable: tickadj The global "tickadj" variable ...
[TXT] kstat.h  1.1   3 years  dlg   add kstat(4), a subsystem to let the kernel expose statistics to userland. a ks...
[TXT] kthread.h  1.7   4 years  mpi   Cleanup <sys/kthread.h> and <sys/proc.h> includes. Do not include <sys/kthread....
[TXT] ktrace.h  1.40   3 years  jsg   spelling ok gnezdo@ semarie@ mpi@
[TXT] limits.h  1.10   11 years  guenther   Further standards compliance fixes: export LONG_BIT, WORD_BIT, and NL_{ARG,LANG,...
[TXT] lock.h  1.27   7 years  natano   Remove the lockmgr() API. It is only used by filesystems, where it is a trivial ...
[TXT] lockf.h  1.17   5 years  anton   Move lockf structures from header to implementation since external users only ne...
[TXT] malloc.h  1.121   3 years  bluhm   Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8) are started b...
[TXT] mbuf.h  1.253   3 years  yasuoka   Fix IPsec NAT-T to work with pipex(4). Introduce a new packet tag PACKET_TAG_IP...
[TXT] memrange.h  1.10   8 years  miod   typos
[TXT] mman.h  1.34   5 years  cheloha   New mmap(2) flag: MAP_CONCEAL. MAP_CONCEAL'd memory is not written to disk in t...
[TXT] mount.h  1.148   3 years  kn   Print all mount(2) flags in ddb's "show all mounts" Quite a few flags were neve...
[TXT] mplock.h  1.13   5 years  visa   Remove file name and line number output from witness(4) Reduce code clutter by ...
[TXT] msg.h  1.19   9 years  guenther   We now get <sys/cdefs.h> via <sys/ipc.h> Only pull <sys/queue.h> into the kernel...
[TXT] msgbuf.h  1.13   3 years  visa   Serialize msgbuf access with a mutex. This introduces a system-wide mutex that ...
[TXT] mtio.h  1.9   17 years  krw   No need for tape fields to be daddr_t. int will do. ok beck@ deraadt@
[TXT] mutex.h  1.18   5 years  visa   Remove file name and line number output from witness(4) Reduce code clutter by ...
[TXT] namei.h  1.48   2 years  claudio   Refactor how unveil generates EACCES errors. Instead of tracking the possible vi...
[TXT] param.h  1.135   2 years  deraadt   adjust date
[TXT] pciio.h  1.8   3 years  dlg   let userland read vpd info from a pci device. reading vpd stuff is useful when ...
[TXT] percpu.h  1.8   5 years  mpi   Add per-TDB counters and a new SADB extension to export them to userland. Input...
[TXT] pipe.h  1.27   3 years  anton   Bring back revision 1.122 with a fix preventing a use-after-free by serializing ...
[TXT] pledge.h  1.42   2 years  deraadt   Sort ID->pledge name translation in the same order as the manual page (which are...
[TXT] poll.h  1.15   7 years  deraadt   ktrace support for pollfd[] arrays ok guenther
[TXT] pool.h  1.78   3 years  cheloha   pool(9): remove ticks Change the pool(9) timeouts to use the system uptime inst...
[TXT] proc.h  1.314   2 years  claudio   Remove the unveil current directory pointer from struct process. Instead pass in...
[TXT] protosw.h  1.32   3 years  bluhm   As network features are not added dynamically, the domain structures are constan...
[TXT] ptrace.h  1.16   4 years  mpi   Keep track of traced child under a list of orphans while they are being reparent...
[TXT] queue.h  1.46   3 years  millert   Add singly-linked tail queue macros from FreeBSD. These are essentially equivale...
[TXT] radioio.h  1.5   9 years  deraadt   This does not need <sys/param.h>. <sys/types.h> is enough. discussed with ratch...
[TXT] reboot.h  1.19   4 years  deraadt   Add RB_GOODRANDOM passed from bootloader to kernel in boothowto. Indicates conf...
[TXT] refcnt.h  1.4   7 years  mpi   Move initialization macro outside of #define _KERNEL to use them in ART regressi...
[TXT] resource.h  1.14   10 years  guenther   Move the declarations for dogetrusage(), itimerround(), and dowait4() to sys/*.h...
[TXT] resourcevar.h  1.24   4 years  visa   Make resource limit access MP-safe. So far, the copy-on-write sharing of resourc...
[TXT] rwlock.h  1.28   3 years  mpi   New rw_obj_init() API providing reference-counted rwlock. Original port from Ne...
[TXT] sched.h  1.57   3 years  visa   Small smr_grace_wait() optimization Make the SMR thread maintain an explicit sy...
[TXT] scsiio.h  1.10   11 years  deraadt   struct oscsi_addr is not used anymore
[TXT] select.h  1.17   7 years  guenther   More #include cleanup per POSIX: - <sys/types.h>: don't pull in <sys/select.h> ...
[TXT] selinfo.h  1.5   6 years  sf   Re-order members of struct selinfo This reduces its size from 24 to 16 on 64bit...
[TXT] sem.h  1.24   7 years  tom   Fix comment in sys/sem.h From Michal Mazurek <akfaew at jasminek dot net> ok g...
[TXT] sensors.h  1.37   3 years  kettenis   POWE9 CPUs provide an energy sensor that accumulates the emount of energy used b...
[TXT] shm.h  1.30   3 years  jsg   spelling ok gnezdo@ semarie@ mpi@
[TXT] siginfo.h  1.12   7 years  guenther   si_addr should be of type void *, not char * From Andrew Aldridge (i80and(at)fo...
[TXT] sigio.h  1.4   4 years  visa   Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP and FIOGETOWN/SIOCGPGRP/T...
[TXT] signal.h  1.29   6 years  deraadt   Some programs create a PROT_NONE guard page at the far-end of the provided stack...
[TXT] signalvar.h  1.48   3 years  mpi   Revert previous, it introduced a regression with breakpoints in gdb.
[TXT] smr.h  1.8   3 years  mvs   Fix mistypes within sys/smr.h LIST_END -> SMR_LIST_END TAILQ_END -> SMR_TAILQ_E...
[TXT] socket.h  1.100   3 years  claudio   Forgot this directory in last commit for the UNIX-domain socket buffer change.
[TXT] socketvar.h  1.100   2 years  mpi   Pass a socket pointer to various socket buffer routines in preparation for per-s...
[TXT] sockio.h  1.83   4 years  tobhe   Fix get/set datapath comments. ok markus@
[TXT] specdev.h  1.39   4 years  bluhm   Convert the speclisth hash buckets into SLIST macros. This makes the vnode alia...
[TXT] srp.h  1.15   4 years  jca   Initialize the srp_ref in the non-MP version of srp_enter Silences an uninitial...
[TXT] stacktrace.h  1.3   4 years  visa   Sync existing stacktrace_save() implementations Upgrade stacktrace_save() to st...
[TXT] stat.h  1.28   9 years  jca   fchmod and lstat are standard, widen their visibility ok millert@ kettenis@; in...
[TXT] statvfs.h  1.3   11 years  deraadt   hide some userland functions from the kernel
[TXT] stdarg.h  1.10   3 years  daniel   The "unsupported compiler" checks were added back in December when MD versions o...
[TXT] stdint.h  1.11   5 years  millert   I am retiring my old email address; replace it with my OpenBSD one.
[TXT] swap.h  1.7   10 years  millert   Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN, MAXNAMLEN or MAXLO...
[TXT] syscall.h  1.227   2 years  mvs   regen
[TXT] syscall_mi.h  1.25   4 years  mpi   Import dt(4) a driver and framework for Dynamic Profiling. The design is fairly...
[TXT] syscallargs.h  1.230   2 years  mvs   regen
[TXT] sysctl.h  1.218   3 years  claudio   Forgot this directory in last commit for the UNIX-domain socket buffer change.
[TXT] syslimits.h  1.14   4 years  deraadt   double ARG_MAX
[TXT] syslog.h  1.17   4 years  visa   Update comment to reflect current headers. OK millert@
[TXT] systm.h  1.154   3 years  cheloha   kernel: introduce per-CPU panic(9) message buffers Add a 512-byte buffer (ci_pa...
[TXT] task.h  1.18   3 years  anton   Add support for remote coverage to kcov. Remote coverage is collected from threa...
[TXT] termios.h  1.13   7 years  fcambus   Remove duplicated includes in stdlib.h and termios.h OK guenther@
[TXT] time.h  1.61   2 years  cheloha   timecounting: add FRAC_TO_NSEC(), BINTIME_TO_NSEC() Refactor the fraction-to-na...
[TXT] timeout.h  1.43   2 years  mvs   Fix TIMEOUT_INITIALIZER_{FLAGS,KCLOCK}() macro. ok cheloha@
[TXT] times.h  1.6   10 years  naddy   __clock_t is now defined in <sys/_types.h>; ok guenther@
[TXT] timetc.h  1.12   3 years  pirofti   Add support for timeconting in userland. This diff exposes parts of clock_getti...
[TXT] tprintf.h  1.6   20 years  avsm   sprinkle some __kprintf__ attributes around functions which use format strings i...
[TXT] tracepoint.h  1.1   4 years  mpi   Import dt(4) a driver and framework for Dynamic Profiling. The design is fairly...
[TXT] tree.h  1.30   3 years  otto   Returning a void expression is weird; ok kettenis@ daniel@
[TXT] tty.h  1.39   3 years  deraadt   A pty write containing VDISCARD, VREPRINT, or various retyping cases of VERASE w...
[TXT] ttycom.h  1.17   5 years  deraadt   base and ports are now clean of TIOCSTI uses. The #define can now be removed. T...
[TXT] ttydefaults.h  1.7   5 years  nicm   Almost all terminals now support hardware tabs so default to OXTABS off. This m...
[TXT] types.h  1.48   5 years  guenther   major() and minor() are documented as returning unsigned, so do so ok deraadt@
[TXT] ucred.h  1.13   5 years  visa   Use atomic operations for updating cred structure reference counts to make crfre...
[TXT] uio.h  1.19   5 years  mpi   Reorder checks in the read/write(2) family of syscalls to prepare making file op...
[TXT] un.h  1.14   8 years  guenther   Change unp_scan() and its callbacks to pass the array of struct file ** and a co...
[TXT] unistd.h  1.31   8 years  guenther   Add kbind, a syscall for ld.so to use to securely and efficiently update memory ...
[TXT] unpcb.h  1.18   3 years  mvs   Move UNIX domain sockets out of kernel lock. The new `unp_lock' rwlock(9) used a...
[TXT] user.h  1.9   9 years  deraadt   sys/user.h can now be substantially gutted. ok guenther
[TXT] utsname.h  1.6   11 years  deraadt   hide some userland functions from the kernel
[TXT] uuid.h  1.3   9 years  miod   Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via Markus...
[TXT] varargs.h  1.4   3 years  daniel   The "unsupported compiler" checks were added back in December when MD versions o...
[TXT] videoio.h  1.17   3 years  mglocker   Fix comment _SYS_VIDEOIO_H -> _SYS_VIDEOIO_H_
[TXT] vmmeter.h  1.15   7 years  tedu   increase the size of forkstat fields to accomodate large values
[TXT] vnode.h  1.157   3 years  claudio   Introduce a global vnode_mtx and use it to make vn_lock() safe to be called with...
[TXT] wait.h  1.18   3 years  jsg   spelling ok gnezdo@ semarie@ mpi@
[TXT] witness.h  1.5   5 years  visa   Remove file name and line number output from witness(4) Reduce code clutter by ...