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_1


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.12   2 years  deraadt   Since other exported commandnames were increased to 24 and graduated into proper...
[TXT] ataio.h  1.5   20 years  miod   Typos: defintion -> definition, proccess -> process There are more occurences h...
[TXT] atomic.h  1.9   2 years  visa   Remove data dependency barrier from atomic_load_* functions This makes the atom...
[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.8   2 years  deraadt   Start using new _MAXCOMLEN (a proper string expanded to 24 bytes including the N...
[TXT] ctf.h  1.5   6 years  nayden   Convert variable type to C99. OK mpi@
[TXT] device.h  1.62   2 years  deraadt   change MD gosleep() and sleep_finish() to return int, the MI code will be able t...
[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.67   2 years  millert   Move knote_processexit() call from exit1() to the reaper(). This fixes a problem...
[TXT] eventvar.h  1.14   2 years  visa   Use the refcnt API in kqueue. OK dlg@ bluhm@
[TXT] exec.h  1.47   2 years  guenther   Delete STACKGAPLEN: this exec-time allocation at the top of the original thread'...
[TXT] exec_elf.h  1.94   2 years  guenther   Sync DF_1_* flag definitions with llvm 13, including support in readelf -d for d...
[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.65   2 years  jsg   initial support for drm sync files, fences associated with file descriptors for ...
[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.9   2 years  jsg   spelling
[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.45   2 years  mlarkin   Allow more memory ranges in hibernate The previous limit of VM_PHYSSEG_MAX rang...
[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.8   2 years  anton   Do not allow send/receive of kcov descriptors as the file descriptor can be kept...
[TXT] kernel.h  1.25   3 years  cheloha   kernel, sysctl(8): remove dead variable: tickadj The global "tickadj" variable ...
[TXT] kstat.h  1.2   2 years  dlg   add kstat_remove so you can tear the struct apart before kstat_destroy
[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.41   2 years  deraadt   Start using new _MAXCOMLEN (a proper string expanded to 24 bytes including the N...
[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.122   2 years  guenther   Delete unused/obsolete M_* type values. ok miod@ mpi@
[TXT] mbuf.h  1.254   2 years  dlg   update sbchecklowmem() to better detect actual mbuf memory usage. previously sb...
[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.50   2 years  jsg   spelling
[TXT] param.h  1.138   2 years  deraadt   move release date a little
[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.329   2 years  bluhm   Use atomic load and store functions to access refcnt and wait variables. Althou...
[TXT] protosw.h  1.35   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[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.20   2 years  deraadt   Improve unhibernate performance (30% on some machines, another upcoming diff sho...
[TXT] refcnt.h  1.6   2 years  visa   Add refcnt_shared() and refcnt_read() refcnt_shared() checks whether the object...
[TXT] resource.h  1.14   10 years  guenther   Move the declarations for dogetrusage(), itimerround(), and dowait4() to sys/*.h...
[TXT] resourcevar.h  1.25   2 years  visa   Use the refcnt API with struct plimit. OK bluhm@ dlg@
[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.53   2 years  claudio   Introduce a signal context that is used to pass signal related information from ...
[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.102   2 years  guenther   pfctlinput() is already declared in <sys/protosw.h>, which is more specific and ...
[TXT] socketvar.h  1.101   2 years  visa   Allocate socket and initialize so_lock in one place This makes witness(4) use a...
[TXT] sockio.h  1.84   2 years  claudio   Retire switch(4) it never really was production ready and the OpenFlow API imple...
[TXT] specdev.h  1.40   2 years  semarie   vfs: merge *_badop to vop_generic_badop It replaces spec_badop, fifo_badop, dea...
[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.29   2 years  jsg   spelling
[TXT] statvfs.h  1.4   2 years  millert   Fix typo in comment for f_favail. From Alf Schlichting
[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.232   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.235   2 years  mvs   regen
[TXT] sysctl.h  1.227   2 years  rob   A few additional changes related to the now 32 bit accounting flag. Pointers fro...
[TXT] syslimits.h  1.15   2 years  deraadt   Add _MAXCOMLEN to syslimits, it is 24, and includes the NUL. Following commits ...
[TXT] syslog.h  1.17   4 years  visa   Update comment to reflect current headers. OK millert@
[TXT] systm.h  1.155   2 years  guenther   We only have one syscall table: inline sysent/SYS_MAXSYSCALL and SYS_syscall as ...
[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.40   2 years  deraadt   firstc() and nextc() use an int of global static storage. Make this a pointer t...
[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.14   2 years  visa   Use the refcnt API with struct ucred. OK bluhm@
[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.25   2 years  guenther   Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr...
[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.164   2 years  semarie   sys/vnode.h cleanup for vnode_hold_list, vnode_free_list, struct freelst vnode_...
[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 ...