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_8_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.9   4 years  bluhm   Inform about system call memory write protection and stack mapping violations in...
[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.7   18 years  beck   Add support for primary and alternate volume tags to ch(4) - borrowed and adap...
[TXT] conf.h  1.155   3 years  dlg   kstat does open, close, and ioctl.
[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.76   4 years  guenther   Use a double-underscore prefix for local variables declared in macros that have ...
[TXT] dkio.h  1.12   6 years  jsg   remove defines for ioctls the kernel doesn't recognise ok mpi@
[TXT] domain.h  1.20   5 years  claudio   Copy the user provided sockaddr into a normalized sockaddr in rtrequest() before...
[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.45   3 years  mpi   Allow userland to use EVFILT_EXCEPT. ok mvs@, visa@
[TXT] eventvar.h  1.9   4 years  visa   Abstract the head of knote lists. This allows extending the lists, for example, ...
[TXT] exec.h  1.42   3 years  kettenis   Add MID_POWERPC64. These identifiers are only used for kernel core dumps these ...
[TXT] exec_elf.h  1.88   3 years  pirofti   Add support for timeconting in userland. This diff exposes parts of clock_getti...
[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.61   4 years  anton   In order to unlock flock(2), make writes to the f_iflags field of struct file at...
[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.23   4 years  cheloha   kernel.h: remove global declaration for naptime naptime is now a member of the ...
[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.39   3 years  mpi   Fix comment, ktrace flags are per-process.
[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.119   4 years  guenther   Delete km_mapblocks from kmemstats and its always-zero column from the ddb "show...
[TXT] mbuf.h  1.250   3 years  florian   Remove now unused M_ACAST flag. Reminded by, input & OK jca
[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.147   4 years  visa   Clear mount operation argument flags from mnt_flag after mount. OK bluhm@
[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.12   3 years  visa   Remove an unnecessary field from struct msgbuf. OK mvs@
[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.45   4 years  anton   Move unveil data structures away from the proc.h header into the implementation ...
[TXT] param.h  1.131   3 years  deraadt   crank to 6.8-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.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.41   4 years  visa   Declare pledgenames[] as const. OK deraadt@
[TXT] poll.h  1.15   8 years  deraadt   ktrace support for pollfd[] arrays ok guenther
[TXT] pool.h  1.77   4 years  bluhm   After the kernel has reached the sysclt kern.maxclusters limit, operations get s...
[TXT] proc.h  1.300   3 years  mpi   Document that `p_siglist' and `p_sigmask' are updated via atomics. ok claudio@
[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.16   4 years  mpi   Keep track of traced child under a list of orphans while they are being reparent...
[TXT] queue.h  1.45   5 years  sashan   - introducing _Q_INVALID to sys/queue.h OK @bluhm, OK @otto, OK @guenther
[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   8 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.26   4 years  jsg   Make rrw_init/rrw_init_flags take a const name argument matching rw_init/rw_init...
[TXT] sched.h  1.56   4 years  mpi   Move `p_estcpu' to the region copied during fork & kill scheduler_fork_hook(). ...
[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.29   4 years  guenther   Merge sys_shmctl() and shmctl1() again, as we no longer have a need for the copy...
[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.44   3 years  mpi   Move duplicated code to send an uncatchable SIGABRT into a function. ok claudio...
[TXT] smr.h  1.7   3 years  visa   Expose SMR list and pointer macros to userspace. This enables the use of SMR lis...
[TXT] socket.h  1.98   4 years  robert   implement SO_DOMAIN and SO_PROTOCOL so that the domain and the protocol can also...
[TXT] socketvar.h  1.91   4 years  mpi   Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9). Introd...
[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.215   4 years  anton   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.218   4 years  anton   regen
[TXT] sysctl.h  1.211   3 years  gnezdo   Remove unused sysctl_int_arr(9)
[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.148   3 years  visa   Declare hw_{prod,serial,uuid,vendor,ver} in <sys/systm.h>. OK deraadt@, mpi@
[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.55   3 years  pirofti   Add support for timeconting in userland. This diff exposes parts of clock_getti...
[TXT] timeout.h  1.39   3 years  cheloha   timeout(9): remove unused interfaces: timeout_add_ts(9), timeout_add_bt(9) Thes...
[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.29   6 years  deraadt   mark __inline functions which are not neccessarily used, with __unused. ok espie...
[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.17   4 years  bluhm   Convert struct unpcb malloc(9) to pool_get(9). OK mpi@ visa@
[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.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.156   4 years  mpi   Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does. Prevent gen...
[TXT] wait.h  1.17   10 years  matthew   Remove support for "union wait" and WSTOPPED. union wait has been deprecated si...
[TXT] witness.h  1.5   5 years  visa   Remove file name and line number output from witness(4) Reduce code clutter by ...