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_6_3_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.1   7 years  visa   Add a port of witness(4) lock validation tool from FreeBSD. Go-ahead from kette...
[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.7   6 years  bluhm   ASLR, W^X, and guard pages trigger processor traps that result in SIGILL, SIGBUS...
[TXT] ataio.h  1.5   20 years  miod   Typos: defintion -> definition, proccess -> process There are more occurences h...
[TXT] atomic.h  1.5   7 years  kettenis   Add membar_enter_after_atomic(9) and membar_exit_before_atomic(9) APIs to allow ...
[TXT] audioio.h  1.27   7 years  ratchov   Remove drain(), query_encoding(), mappage() and get_default_params() methods fro...
[TXT] buf.h  1.106   7 years  beck   Flip previously warm pages in the buffer cache to memory above the DMA region if...
[TXT] cdefs.h  1.41   7 years  kettenis   Define __dead and __pure even if __STRICT_ANSI__ for compilers that support GCC'...
[TXT] cdio.h  1.17   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] chio.h  1.7   18 years  beck   Add support for primary and alternate volume tags to ch(4) - borrowed and adap...
[TXT] conf.h  1.144   6 years  robert   add kqueue support to drm(4) by making the drm_sysfs_hotplug_event() available o...
[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.54   8 years  mpi   Replace mountroothook_establish(9) by config_mountroot(9) a narrower API similar...
[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.75   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] dkio.h  1.12   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] domain.h  1.18   6 years  mpi   Constify protocol tables and remove an assert now that ip_deliver() is mp-safe. ...
[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.30   6 years  robert   introduce a filter called EVFILT_DEVICE that can be used to notify listeners of ...
[TXT] eventvar.h  1.4   6 years  mpi   Move kq_kev from struct kqueue to the stack. It turns this set of events per-th...
[TXT] exec.h  1.36   7 years  guenther   Remove support for forcing the ELF interpreter to a specific address, last used ...
[TXT] exec_elf.h  1.80   6 years  mpi   Add SHT_SYMTAB_SHNDX Required by Karel Gardas to unbreak GHC head.
[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.21   9 years  deraadt   isatty() is used by stdio to determine the buffering mode. Add a F_ISATTY optio...
[TXT] file.h  1.40   6 years  deraadt   Syncronize filesystems to disk when suspending. Each mountpoint's vnodes are pu...
[TXT] filedesc.h  1.34   7 years  guenther   Add a flags argument to falloc() that lets it optionally set the close-on-exec f...
[TXT] filio.h  1.5   17 years  deraadt   FIBMAP is used by nothing; checked by miod and pvalchev
[TXT] fusebuf.h  1.12   6 years  helg   vn_open(9) does not pass the open(2) flags to VOP_CREATE(9) so we can't support ...
[TXT] futex.h  1.1   7 years  mpi   Add futex(2) syscall based on a sane subset of its Linux equivalent. The syscal...
[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.41   6 years  deraadt   calculate a "sum" based upon pointers to functions all over the kernel, so that ...
[TXT] hotplug.h  1.5   18 years  mk   Actually remove the device id from events.
[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] kernel.h  1.17   8 years  uebayasi   Move `ticks' declaration to sys/kernel.h.
[TXT] kthread.h  1.6   10 years  deraadt   simplify kthread_create(). no more stdarg ok matthew guenther mikeb
[TXT] ktrace.h  1.36   6 years  guenther   fktrace(2) has been removed
[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.9   11 years  deraadt   branches: 1.9.16; 1.9.22; hide some kernel functions from userland
[TXT] malloc.h  1.116   6 years  mpi   Remove MALLOC_DEBUG left overs. From Klemens Nanni.
[TXT] mbuf.h  1.235   6 years  dlg   add an ipv6 "don't fragment" flag to mbufs for ip6_output to use. if you need t...
[TXT] memrange.h  1.10   8 years  miod   typos
[TXT] mman.h  1.32   6 years  deraadt   oops, typo
[TXT] mount.h  1.135   6 years  deraadt   Syncronize filesystems to disk when suspending. Each mountpoint's vnodes are pu...
[TXT] mplock.h  1.11   6 years  mpi   Change __mp_lock_held() to work with an arbitrary CPU info structure and extend ...
[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.11   7 years  bluhm   It is annoying that the dmesg buffer can overflow and loose messages undetected ...
[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.13   6 years  mpi   Artur Grabowski agreed to relicense his C mutex implementation under ISC. This ...
[TXT] namei.h  1.34   6 years  deraadt   Remove old deactivated pledge path code. A replacement mechanism is being brewe...
[TXT] param.h  1.126   6 years  deraadt   move to 6.3-beta
[TXT] pciio.h  1.7   13 years  kettenis   Add an ioctl to figure out the non-sticky bits in PCI BARs used for determining ...
[TXT] percpu.h  1.7   7 years  dlg   be nicer to 32bit strict alignment archs that can do 64bit loads/stores. ie, al...
[TXT] pipe.h  1.15   11 years  deraadt   clean up kernel includes; no need for uvm_extern.h
[TXT] pledge.h  1.34   6 years  mpi   Change `so_state' and `so_error' to unsigned int such that they can be atomicall...
[TXT] poll.h  1.15   7 years  deraadt   ktrace support for pollfd[] arrays ok guenther
[TXT] pool.h  1.74   6 years  guenther   New flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks instead of mutexe...
[TXT] proc.h  1.247   6 years  mpi   Serialize access to UID data with a rwlock. Caller must call uid_release() afte...
[TXT] protosw.h  1.31   6 years  bluhm   Bring back the PRU_ATTACH constant and description. Then trpt(8) prints the ATT...
[TXT] ptrace.h  1.15   7 years  guenther   Change process_{domem,auxv_offset}() to take a process instead of a proc. Make p...
[TXT] queue.h  1.44   7 years  millert   Include sys/_null.h for the NULL definition.
[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.17   9 years  uebayasi   reboot(9): Add MI reboot entry function Now, for kernel to "reboot" (reboot, ha...
[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.18   10 years  guenther   exit1() needs to do a final aggregation of the thread's [us]ticks and runtime to...
[TXT] rwlock.h  1.22   6 years  guenther   Add rw_assert_anylock(), for assering you have it either read or write locked o...
[TXT] sched.h  1.44   6 years  dlg   make sched_barrier use cond_wait/cond_signal. previously the code was using a p...
[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.35   7 years  deraadt   Sensors are run as callbacks inside tasks. During suspend a sensor could be run...
[TXT] shm.h  1.28   6 years  deraadt   #define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch needs (lo...
[TXT] siginfo.h  1.12   7 years  guenther   si_addr should be of type void *, not char * From Andrew Aldridge (i80and(at)fo...
[TXT] signal.h  1.28   6 years  deraadt   SIGSTKSZ is better defined as MINSIGSTKSZ + n pages (meaning 1U << _MAX_PAGE_SHI...
[TXT] signalvar.h  1.30   6 years  visa   Avoid calling issignal() twice on signal delivery in order not to generate more ...
[TXT] socket.h  1.95   7 years  markus   new socketoption SO_ZEROIZE: zero out all mbufs sent over socket ok deraadt bluh...
[TXT] socketvar.h  1.82   6 years  mpi   Change `so_state' and `so_error' to unsigned int such that they can be atomicall...
[TXT] sockio.h  1.75   6 years  dlg   add ioctls to toggle partitioning a vnetid into a netid and flowid this maps to...
[TXT] specdev.h  1.37   8 years  natano   Increase size of the clone bitmap (revised diff after revert). I have tested thi...
[TXT] srp.h  1.13   7 years  mpi   Rename SRPL_ENTER() to SRPL_FIRST() and SRPL_NEXT() to SRPL_FOLLOW(). This allo...
[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.8   13 years  matthew   Change va_arg and va_end definitions from object-like macros to function-like ma...
[TXT] stdint.h  1.10   9 years  millert   SIZE_MAX is no longer in limits.h
[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.190   6 years  deraadt   sync
[TXT] syscall_mi.h  1.18   7 years  deraadt   only 32 bits of the pledgecode were passed up via ktrace from Anton Lindqvist ok...
[TXT] syscallargs.h  1.193   6 years  deraadt   sync
[TXT] sysctl.h  1.175   6 years  mpi   Move sysctl_mq() where it can safely mess with mbuf queue internals. ok visa@, ...
[TXT] syslimits.h  1.13   9 years  millert   Back out previous. HOST_NAME_MAX is only defined for newer POSIX revisions so i...
[TXT] syslog.h  1.16   6 years  bluhm   Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and truncate the l...
[TXT] systm.h  1.139   6 years  mpi   Do not panic from ddb(4) when a lock requirement isn't fulfilled. Extend the lo...
[TXT] task.h  1.12   6 years  dlg   add taskq_barrier taskq_barrier guarantees that any task that was running on th...
[TXT] termios.h  1.13   7 years  fcambus   Remove duplicated includes in stdlib.h and termios.h OK guenther@
[TXT] time.h  1.37   6 years  jca   Proper do {} while (0) idiom in TIMESPEC_TO_TIMEVAL/TIMEVAL_TO_TIMESPEC From Sc...
[TXT] timeout.h  1.27   6 years  dlg   add timeout_barrier, which is like intr_barrier and taskq_barrier. if you're tr...
[TXT] times.h  1.6   10 years  naddy   __clock_t is now defined in <sys/_types.h>; ok guenther@
[TXT] timetc.h  1.5   10 years  beck   fix $OpenBSD$, noticed by philip
[TXT] tprintf.h  1.6   20 years  avsm   sprinkle some __kprintf__ attributes around functions which use format strings i...
[TXT] tree.h  1.29   6 years  deraadt   mark __inline functions which are not neccessarily used, with __unused. ok espie...
[TXT] tty.h  1.37   8 years  deraadt   Remove two sysctls which were introduced only for development of the ptm/pty sub...
[TXT] ttycom.h  1.16   6 years  mpi   Translate the TIOCSBRK & TIOCCBRK ioctl(2)s issued on a pty(4) slave to correspo...
[TXT] ttydefaults.h  1.6   21 years  millert   Remove the advertising clause in the UCB license which Berkeley rescinded 22 Jul...
[TXT] types.h  1.47   7 years  guenther   Move the typedefs for in_{addr,port}_t from <sys/types.h> to <netinet/in.h> and ...
[TXT] ucred.h  1.12   6 years  mpi   Remove almost unused `flags' argument of suser(). The account flag `ASU' will n...
[TXT] uio.h  1.18   9 years  guenther   Forward declare 'struct file' so that libkvm and others that indirectly pull in ...
[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.16   6 years  florian   Move PRU_DETACH out of pr_usrreq into per proto pr_detach functions to pave way ...
[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.2   20 years  espie   branches: 1.2.2; switch to shorter licence at millert@ suggestion.
[TXT] videoio.h  1.16   7 years  feinerer   Avoid __u8, __u16, __u32, __u64, __s32, __s64, and __le32 and use standard types...
[TXT] vmmeter.h  1.15   7 years  tedu   increase the size of forkstat fields to accomodate large values
[TXT] vnode.h  1.143   6 years  deraadt   Syncronize filesystems to disk when suspending. Each mountpoint's vnodes are pu...
[TXT] wait.h  1.17   9 years  matthew   Remove support for "union wait" and WSTOPPED. union wait has been deprecated si...
[TXT] witness.h  1.1   7 years  visa   Add a port of witness(4) lock validation tool from FreeBSD. Go-ahead from kette...