musl/include/sys
Szabolcs Nagy f35b99b387 sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11
see

  linux commit 1446e1df9eb183fdf81c3f0715402f1d7595d4cb
  kernel: Implement selective syscall userspace redirection

  linux commit 36a6c843fd0d8e02506681577e96dabd203dd8e8
  entry: Use different define for selector variable in SUD

redirect syscalls to a userspace handler via SIGSYS, except for a specific
range of code. can be toggled via a memory write to a selector variable.
mainly for wine.
2022-03-08 17:19:38 -05:00
..
acct.h remove indirect use of endian.h from public headers 2019-10-17 16:03:42 -04:00
auxv.h add bits/hwcap.h and include it in sys/auxv.h 2016-10-20 01:28:25 -04:00
cachectl.h mips cache flush/ctl syscall support and header 2012-11-04 17:06:31 -05:00
dir.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
epoll.h sys/epoll.h: add EPOLLNVAL from linux v4.16 2018-06-19 13:25:16 -04:00
errno.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
eventfd.h fix eventfd and inotify nonblock/cloexec flags to match arch values 2012-11-26 13:00:58 -05:00
fanotify.h sys/fanotify.h: add new FAN_* macros from linux v5.9 2020-11-29 00:54:36 -05:00
fcntl.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
file.h
fsuid.h
inotify.h sys/inotify.h: add IN_MASK_CREATE from linux v4.19 2019-03-13 12:29:27 -04:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h fix regression with applications that expect struct winsize in ioctl.h 2020-08-30 16:47:40 -04:00
ipc.h move IPC_STAT definition to a new bits/ipcstat.h file 2019-08-02 00:08:23 -04:00
kd.h move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits 2018-07-20 01:06:41 -04:00
klog.h
membarrier.h sys/membarrier.h: add new constants from linux v5.10 2021-02-15 09:16:06 -05:00
mman.h sys/mman.h: add MAP_HUGE_16KB from linux v5.10 2021-02-15 09:16:06 -05:00
mount.h sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10 2021-02-15 09:16:06 -05:00
msg.h allow archs to define IPC_STAT, propagate time64 bit to other macros 2019-08-02 00:08:23 -04:00
mtio.h use 0 instead of NULL in headers where NULL is not defined 2013-11-24 00:34:07 +00:00
param.h fix misspelling of a legacy macro name in sys/param.h 2016-10-20 17:01:56 -04:00
personality.h add missing personality values 2020-11-29 00:52:36 -05:00
poll.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
prctl.h sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11 2022-03-08 17:19:38 -05:00
procfs.h fix elf_prstatus regression on time64, existing wrong definition on x32 2019-12-22 11:20:44 -05:00
ptrace.h remove gratuitous aligned attribute from __ptrace_syscall_info 2020-01-01 11:16:56 -05:00
quota.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
random.h sys/random.h: add GRND_INSECURE from linux v5.6 2020-09-09 17:20:27 -04:00
reboot.h add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h 2013-01-12 19:42:39 +01:00
reg.h
resource.h define RLIMIT_RTTIME, bump RLIMIT_NLIMITS 2020-01-11 21:10:41 -05:00
select.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
sem.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
sendfile.h
shm.h allow archs to define IPC_STAT, propagate time64 bit to other macros 2019-08-02 00:08:23 -04:00
signal.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
signalfd.h add SIGSYS support to sys/signalfd.h from linux v4.18 2018-12-09 22:25:21 -05:00
socket.h sys/socket.h: add SO_DETACH_REUSEPORT_BPF from linux v5.3 2019-12-30 18:12:46 -05:00
soundcard.h move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits 2018-07-20 01:06:41 -04:00
stat.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
statfs.h refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
statvfs.h remove indirect use of endian.h from public headers 2019-10-17 16:03:42 -04:00
stropts.h
swap.h add SWAP_FLAG_DISCARD to sys/swap.h 2013-01-12 19:42:39 +01:00
syscall.h syscall() declaration belongs in unistd.h, not sys/syscall.h 2012-12-10 16:40:45 -05:00
sysinfo.h
syslog.h
sysmacros.h fix shifts possibly larger than type in major() macro 2013-06-29 13:57:13 -04:00
termios.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
time.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
timeb.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
timerfd.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
times.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
timex.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
ttydefaults.h fix misleading use of _POSIX_VDISABLE in sys/ttydefaults.h 2020-01-29 10:47:48 -05:00
types.h remove implicit include of sys/sysmacros.h from sys/types.h 2019-06-21 15:49:38 -04:00
ucontext.h
uio.h add UIO_MAXIOV macro in sys/uio.h 2013-07-19 19:57:52 -04:00
un.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
user.h
utsname.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
vfs.h
vt.h move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits 2018-07-20 01:06:41 -04:00
wait.h sys/wait.h: add P_PIDFD from linux v5.4 2019-12-30 18:14:08 -05:00
xattr.h add additional uapi guards for Linux kernel header files 2018-01-09 13:08:25 -05:00