musl/include/sys
Rich Felker ba18c1ecc6 add membarrier syscall wrapper, refactor dynamic tls install to use it
the motivation for this change is twofold. first, it gets the fallback
logic out of the dynamic linker, improving code readability and
organization. second, it provides application code that wants to use
the membarrier syscall, which depends on preregistration of intent
before the process becomes multithreaded unless unbounded latency is
acceptable, with a symbol that, when linked, ensures that this
registration happens.
2019-02-22 03:25:39 -05:00
..
acct.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -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 add fanotify syscall wrapper and header 2014-01-02 22:10:45 +01:00
fcntl.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
file.h various header cleanups, some related to _BSD_SOURCE addition 2012-05-22 22:04:55 -04:00
fsuid.h header file fixes: multiple include guard consistency and correctness 2012-06-15 21:52:53 -04:00
inotify.h fix incorrect type for wd argument of inotify_rm_watch 2014-01-07 02:41:27 -05:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h update line discipline constants 2019-02-07 12:43:22 -05:00
ipc.h fix regressions in app compatibility from previous sys/ipc.h changes 2012-12-10 21:36:12 -05: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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
membarrier.h add membarrier syscall wrapper, refactor dynamic tls install to use it 2019-02-22 03:25:39 -05:00
mman.h add memfd_create syscall wrapper 2018-06-20 21:36:04 -04:00
mount.h add MS_NOREMOTELOCK mount flag from linux v4.9 2016-12-29 22:10:44 -05:00
msg.h add {MSG,SEM,SHM}_STAT_ANY from linux v4.17 2018-06-19 13:26:24 -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 sys/personality.h: add missing C++ compat 2013-08-08 20:57:35 +02:00
poll.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
prctl.h add speculation control prctls from linux v4.17 2018-06-19 13:27:08 -04:00
procfs.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
ptrace.h add support for arch-specific ptrace command macros 2018-07-17 22:25:08 -04:00
quota.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
random.h add getrandom syscall wrapper 2018-02-22 19:34:58 -05:00
reboot.h add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h 2013-01-12 19:42:39 +01:00
reg.h fix broken multi-inclusion guard in sys/reg.h 2011-09-19 11:56:09 -04:00
resource.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
select.h make brace placement in public header typedef'd structs consistent 2016-07-03 16:19:28 -04:00
sem.h add {MSG,SEM,SHM}_STAT_ANY from linux v4.17 2018-06-19 13:26:24 -04:00
sendfile.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
shm.h add {MSG,SEM,SHM}_STAT_ANY from linux v4.17 2018-06-19 13:26:24 -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 add AF_XDP to sys/socket.h from linux v4.18 2018-12-09 22:24:12 -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 fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
statfs.h refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
statvfs.h add ST_RELATIME to statvfs.h 2018-07-12 20:41:30 -04:00
stropts.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
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 fix sysinfo, try 2. it seems to work this time. 2012-06-07 23:06:04 -04:00
syslog.h alternate name for syslog.h 2011-04-05 12:13:54 -04:00
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 remove redundant feature test macro checks in sys/time.h 2016-11-07 11:49:22 -05:00
timeb.h add legacy ftime function and sys/timeb.h 2013-10-25 14:15:08 -04:00
timerfd.h add TFD_TIMER_CANCEL_ON_SET that timerfd.h was missing 2017-11-05 18:40:58 -05:00
times.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
timex.h add ADJ_SETOFFSET timex mode bit (new in linux v2.6.39) 2013-04-01 16:24:12 +00:00
ttydefaults.h add legacy sys/ttydefaults.h header 2013-07-03 18:07:51 +02:00
types.h fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h 2014-09-05 16:03:07 -04:00
ucontext.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
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 sys/user.h may need stdint.h 2011-09-23 14:24:57 -04:00
utsname.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
vfs.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
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 fix signed and unsigned comparision in macros in public headers 2014-02-11 10:51:16 +01:00
xattr.h add additional uapi guards for Linux kernel header files 2018-01-09 13:08:25 -05:00