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_5


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.10   19 months  millert   Move CLOCKS_PER_SEC to sys/_time.h so the kernel has access to it. This will be ...
[TXT] _types.h  1.10   21 months  semarie   remove swblk_t type from sys/types.h - it is currently unused (except in some r...
[TXT] acct.h  1.16   3 months  deraadt   New accounting flag ABTCFI to indicate signal SIGILL + code ILL_BTCFI has occurr...
[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] blist.h  1.2   21 months  semarie   blist: use swblk_t type (defined in sys/blist.h) reduce the diff with DragonFly...
[TXT] buf.h  1.114   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[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] clockintr.h  1.29   3 months  cheloha   clockintr: rename "struct clockintr_queue" to "struct clockqueue" The code has ...
[TXT] conf.h  1.161   16 months  kettenis   Implement access to EFI variables and ESRT through an ioctl(2) interface that is...
[TXT] core.h  1.9   4 months  kurt   Fix core file writing when a file map into memory has later been truncated to be...
[TXT] ctf.h  1.5   6 years  nayden   Convert variable type to C99. OK mpi@
[TXT] device.h  1.66   10 months  tobhe   Adds request_sleep(), a MI way of sending the machine to sleep in a safe thread....
[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.38   6 months  kn   Constify disk_map()'s path argument The disklabel UID passed in is not modified...
[TXT] disklabel.h  1.86   18 months  krw   Rename unreferenced field d_drivedata to smoke out any well hidden uses.
[TXT] dkio.h  1.12   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] domain.h  1.24   4 months  bluhm   Use domain name for socket lock. Syzkaller with witness complains about lock or...
[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.4   18 months  jmatthew   Add support for per-cpu event counters, to be used for clock and IPI counters wh...
[TXT] event.h  1.71   9 months  visa   Add kqueue1() system call kqueue1() takes the flags argument. This lets the kqu...
[TXT] eventvar.h  1.17   22 months  visa   Unwrap klist from struct selinfo as this code no longer uses selwakeup(). OK js...
[TXT] exec.h  1.53   4 months  deraadt   The kernel will now read pinsyscall tables out of PT_OPENBSD_SYSCALLS in the mai...
[TXT] exec_elf.h  1.103   4 months  kurt   Fix core file writing when a file map into memory has later been truncated to be...
[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.15   4 months  kettenis   Implement extent_alloc_region_with_descr(9) which is the equivalent of extent_al...
[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.66   23 months  visa   Remove unused struct fileops field fo_poll and callbacks. OK mpi@
[TXT] filedesc.h  1.46   2 years  mvs   Convert `fd_cmask' and `fd_refcnt' types from u_short to 32 bit types. `fd_cmas...
[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.2   16 months  jsg   Leo Weppelman agreed to rescind clause 3 and 4 in NetBSD kvm_dump.3 rev 1.15 kco...
[TXT] kcov.h  1.9   10 months  anton   Avoid accessing curproc early during boot when kcov is enabled as it might be un...
[TXT] kernel.h  1.26   15 months  cheloha   initclocks: don't reinitialize ticks, jiffies at runtime Various drivers use ti...
[TXT] kstat.h  1.4   6 months  dlg   cpu frequency and volt types for kstat_kvs
[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.48   5 months  deraadt   provide the pieces for ktrace/kdump to observe pinsyscall violations. (not used ...
[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.126   5 months  deraadt   add a malloc type for pinsyscall arrays
[TXT] mbuf.h  1.262   3 months  bluhm   Add missing checksum flag M_TCP_TSO to ddb show mbuf. OK mglocker@ claudio@
[TXT] memrange.h  1.10   8 years  miod   typos
[TXT] mman.h  1.35   19 months  deraadt   Add mimmutable(2) system call which locks the permissions (PROT_*) of memory map...
[TXT] mount.h  1.151   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[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.20   20 months  mbuhl   semctl1 and msgctl were introduced for binary compatibility for OpenBSD 3.5. The...
[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.20   3 months  mvs   Rework socket buffers locking for shared netlock. Shared netlock is not suffici...
[TXT] namei.h  1.50   2 years  jsg   spelling
[TXT] param.h  1.142   3 months  deraadt   move to 7.5-beta
[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.9   8 months  mpi   Allow counters_read(9) to take an optional scratch buffer. Using a scratch buff...
[TXT] pipe.h  1.29   22 months  visa   Unwrap klist from struct selinfo as this code no longer uses selwakeup(). OK js...
[TXT] pledge.h  1.48   12 months  cheloha   pledge(2): stdio: permit restricted profil(2) for moncontrol(3) Currently, pled...
[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.356   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] protosw.h  1.65   3 months  mvs   Rework socket buffers locking for shared netlock. Shared netlock is not suffici...
[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.12   9 months  bluhm   Introduce reference counting for TCP syn cache entries. The syn_cache_reaper() ...
[TXT] resource.h  1.14   10 years  guenther   Move the declarations for dogetrusage(), itimerround(), and dowait4() to sys/*.h...
[TXT] resourcevar.h  1.31   7 months  cheloha   clockintr: move callback-specific API behaviors to "clockrequest" namespace The...
[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.70   4 months  cheloha   clockintr: switch from callee- to caller-allocated clockintr structs Currently,...
[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.6   22 months  visa   Remove old poll/select wakeup mechanism. Also remove unneeded seltrue() and sel...
[TXT] sem.h  1.25   20 months  mbuhl   semctl1 and msgctl were introduced for binary compatibility for OpenBSD 3.5. The...
[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.14   3 months  deraadt   create a new code ILL_BTCFI associated with SIGILL for trap faults which indicat...
[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.54   2 years  claudio   Use the process ps_mtx to protect the process sigacts structure. With this cursi...
[TXT] smr.h  1.9   22 months  visa   Fix annotation of smr_tqh_last smr_tqh_last is not intended for lockless use wi...
[TXT] socket.h  1.105   20 months  mbuhl   Make recvmmsg and sendmmsg look more alike. change the flag type to int like oth...
[TXT] socketvar.h  1.124   3 months  mvs   Pass protosw instead of domain structure to soalloc() to get real `pr_type'. The...
[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.41   23 months  visa   Remove unused VOP_POLL(). OK mpi@
[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.4   13 months  claudio   Implement dt(4) utrace support on amd64 and i386. This adds stacktrace_save_utr...
[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.271   4 months  mvs   regen
[TXT] syscall_mi.h  1.31   4 months  deraadt   make a note about when to remove overly verbose logging for pinsyscall violation...
[TXT] syscallargs.h  1.274   4 months  mvs   regen
[TXT] sysctl.h  1.235   8 months  krw   Add sysctl hw.ucomnames to list 'fixed' paths to USB serial ports. Suggested by...
[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.19   13 months  gnezdo   Use __size_t which is available in syslog.h Directly including sys/syslog.h wou...
[TXT] systm.h  1.170   7 months  claudio   Adjust KERNEL_ASSERT_UNLOCKED() to not assert during a panic. KERNEL_ASSERT_UNL...
[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.14   17 months  millert   Add TABDLY, TAB0, TAB3 for better source compatibility. These are XSI extensions...
[TXT] time.h  1.66   7 months  cheloha   clockintr: move callback-specific API behaviors to "clockrequest" namespace The...
[TXT] timeout.h  1.48   7 months  cheloha   timeout: add TIMEOUT_MPSAFE flag Add a TIMEOUT_MPSAFE flag to signal that a tim...
[TXT] times.h  1.6   10 years  naddy   __clock_t is now defined in <sys/_types.h>; ok guenther@
[TXT] timetc.h  1.14   15 months  cheloha   timecounting: remove incomplete PPS support The timecounting code has had stubs...
[TXT] tprintf.h  1.6   20 years  avsm   sprinkle some __kprintf__ attributes around functions which use format strings i...
[TXT] tracepoint.h  1.2   23 months  bluhm   Use btrace(8) to debug reference counting. dt(4) provides a static tracepoint f...
[TXT] tree.h  1.31   14 months  guenther   Delete obsolete /* ARGSUSED */ lint comments. ok miod@ millert@
[TXT] tty.h  1.42   11 months  jsg   remove prototypes for removed functions
[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.49   21 months  semarie   remove swblk_t type from sys/types.h - it is currently unused (except in some r...
[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.45   18 months  mvs   Merge uipc_bind() with unp_bind(). Unlike other unp_*() functions, unp_bind() ha...
[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.19   8 months  robert   The CTA-861 standards have been updated to refer to opRGB instead of AdobeRGB. T...
[TXT] vmmeter.h  1.15   7 years  tedu   increase the size of forkstat fields to accomodate large values
[TXT] vnode.h  1.170   3 months  beck   Remove Softdep. Softdep has been a no-op for some time now, this removes it to ...
[TXT] wait.h  1.20   17 months  guenther   Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPED state changes a...
[TXT] witness.h  1.5   5 years  visa   Remove file name and line number output from witness(4) Reduce code clutter by ...