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_7_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.150   4 years  mpi   Correct cdev_ipmi_init()'s poll stub to return 0 instead of ENODEV. poll functi...
[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.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.20   4 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.35   4 years  visa   Abstract the head of knote lists. This allows extending the lists, for example, ...
[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.40   4 years  deraadt   Repurpose the "syscalls must be on a writeable page" mechanism to enforce a new ...
[TXT] exec_elf.h  1.87   4 years  jsg   Change Elf64 types and structs to match the System V ABI specification. Change ...
[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.44   4 years  visa   Update lock annotations of struct filedesc. Requested by and OK mpi@ OK anton@
[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] 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.4   5 years  anton   Add support for a new kcov trace mode called KCOV_MODE_TRACE_CMP where compariso...
[TXT] kernel.h  1.22   4 years  cheloha   Remove tz, the kernel timezone. After removing timezone support from date(1), m...
[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.38   5 years  deraadt   crank to 6.5-beta
[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.246   4 years  dlg   add ml_hdatalen and mq_hdatalen as workalikes of ifq_hdatalen. this is so pppx(...
[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.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.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.130   4 years  deraadt   crank to 6.7-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.8   5 years  mpi   Add per-TDB counters and a new SADB extension to export them to userland. Input...
[TXT] pipe.h  1.24   4 years  anton   no fields are protected by the kernel lock anymore
[TXT] pledge.h  1.41   4 years  visa   Declare pledgenames[] as const. OK deraadt@
[TXT] poll.h  1.15   7 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.295   4 years  mpi   Document that thread credentials are owned by curproc. From Vitaliy Makkoveev, ...
[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.18   5 years  tedu   fast track ddb> reboot command to skip anything which might panic again. ok dera...
[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.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.36   5 years  landry   Add a velocity sensor type (displayed as m/s) Change distance sensor type to be...
[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.40   4 years  mpi   Rename "sigacts" flag field to avoid conflict with the "process" one. This show...
[TXT] smr.h  1.6   4 years  visa   Mention tail queue in comments.
[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.14   5 years  mpi   Make ART data structure definitions visible to userland, in order to fix netstat...
[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.9   4 years  visa   Unhook <machine/stdarg.h> from <sys/stdarg.h>. Nowadays all the compilers that 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.205   4 years  anton   In order to unlock flock(2), make writes to the f_iflags field of struct file at...
[TXT] syslimits.h  1.14   4 years  deraadt   double ARG_MAX
[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.145   4 years  cheloha   tsleep_nsec(9): add MAXTSLP macro, the maximum sleep duration This macro will b...
[TXT] task.h  1.16   4 years  kettenis   Make taskq_barrier(9) work for multi-threaded task queues. ok visa@
[TXT] termios.h  1.13   7 years  fcambus   Remove duplicated includes in stdlib.h and termios.h OK guenther@
[TXT] time.h  1.50   4 years  mpi   Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9). Introd...
[TXT] timeout.h  1.36   4 years  cheloha   timeout(9): Add timeout_set_flags(9) and TIMEOUT_INITIALIZER_FLAGS(9) These all...
[TXT] times.h  1.6   10 years  naddy   __clock_t is now defined in <sys/_types.h>; ok guenther@
[TXT] timetc.h  1.10   4 years  cheloha   clock_getres(2): actually return the resolution of the given clock Currently we...
[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.38   4 years  cheloha   branches: 1.38.2; 1.38.6; ttysleep(): drop unused timeout parameter All calle...
[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.3   4 years  visa   Unhook <machine/varargs.h> from <sys/varargs.h> to prepare for removal. Input f...
[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   9 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 ...