platform_bionic/libc/include/sys
Dan Albert 5a215d7817 Don't define IN_CLOEXEC/IN_NONBLOCK for pre-L.
Some third-party code uses the existence of IN_CLOEXEC/IN_NONBLOCK to
detect the availability of inotify_init1. This is not correct, since
`syscall(__NR_inotify_init1, IN_CLOEXEC)` is still valid even if the C
library doesn't have that function, but for the time being we don't
want to harm adoption to the unified headers. We'll avoid defining
IN_CLOEXEC and IN_NONBLOCK if we don't have inotify_init1 for the time
being, and maybe revisit this later.

Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/394
Change-Id: Iefdc1662b21045de886c7ad1cbeba6241163d943
2017-05-22 12:58:18 -07:00
..
_system_properties.h Hide internal __system_property_* functions 2017-02-23 14:20:13 -08:00
auxv.h Add missing arch-specific AT_ cruft. 2017-04-19 10:52:35 -07:00
cachectl.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
capability.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
cdefs.h Link to the public post about clang FORTIFY. 2017-04-16 08:50:58 -07:00
endian.h Rename __pure, __pure2, and __purefunc. 2016-09-28 12:36:38 -07:00
epoll.h Undef EPOLL_CLOEXEC for pre-L. 2017-05-22 12:52:00 -07:00
errno.h
eventfd.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
fcntl.h libc: Add sys/fcntl.h for compatibility. 2015-07-08 15:07:17 -06:00
file.h POSIX says flock is in <sys/file.h>, not <unistd.h>. 2015-02-17 09:08:24 -08:00
fsuid.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
inotify.h Don't define IN_CLOEXEC/IN_NONBLOCK for pre-L. 2017-05-22 12:58:18 -07:00
ioctl.h Remove <sys/ioctl_compat.h>. 2016-05-02 12:53:00 -07:00
ipc.h glibc ipc64_perm __key compatibility. 2017-01-27 19:12:32 -08:00
klog.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
limits.h Clean up <sys/limits.h> a bit. 2016-11-30 09:06:53 -08:00
mman.h Only rename mmap to mmap64 if we're L or newer. 2017-03-20 12:57:13 -07:00
mount.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
msg.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
param.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
personality.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
poll.h
prctl.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
procfs.h Fix x86 gdbserver build. 2015-06-24 17:31:24 -07:00
ptrace.h Fixes for building gdbserver (and gdb) out of the box. 2015-06-16 16:04:35 -07:00
queue.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
quota.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
reboot.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
reg.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
resource.h Fix getpriority/setpriority types. 2016-11-29 15:14:11 -08:00
select.h Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
sem.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
sendfile.h Only rename sendfile to sendfile64 if we're L or newer. 2017-03-17 18:50:12 -07:00
shm.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
signal.h
signalfd.h versioner: refactor to use CompilerInstance directly. 2016-11-09 13:50:07 -08:00
socket.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
stat.h libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
statfs.h
statvfs.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
swap.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
syscall.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
sysconf.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
sysinfo.h Add versioning information to symbols. 2016-04-29 16:39:50 -07:00
syslog.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
sysmacros.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
system_properties.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
time.h DO NOT MERGE: The future is now. 2017-04-20 16:57:25 -07:00
timerfd.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
times.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
timex.h Add versioning information to symbols. 2016-04-29 16:39:50 -07:00
ttydefaults.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
types.h Fix an obsolete comment. 2016-12-14 12:43:30 -08:00
ucontext.h versioner: refactor to use CompilerInstance directly. 2016-11-09 13:50:07 -08:00
uio.h Correct the return types of readv and writev. 2016-11-29 14:26:15 -08:00
un.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
unistd.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
user.h Fix instances of '#if __i386__'. 2016-09-15 14:21:28 -07:00
utsname.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
vfs.h Remove unnecessary 'extern's. 2016-07-22 18:57:12 -07:00
vt.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wait.h Add and use constants for the Android API levels. 2016-11-16 16:55:42 -08:00
xattr.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00