Commit | Line | Data |
---|---|---|
29bf3001 FF |
1 | diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/linux/fcntl.h ./usr/include/linux/fcntl.h |
2 | --- /home/fornwall/lib/android-ndk/sysroot/usr/include/linux/fcntl.h 2017-06-07 01:07:52.000000000 +0200 | |
3 | +++ ./usr/include/linux/fcntl.h 2017-06-18 01:44:54.697429382 +0200 | |
4 | @@ -46,6 +46,14 @@ | |
5 | #define DN_MULTISHOT 0x80000000 | |
6 | #define AT_FDCWD - 100 | |
7 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
8 | + | |
9 | +/* Termux patch: This flag is not supported on Android 6.0+, and should not | |
10 | + be needed since there are not setuid binaries. Define AT_EACCESS to 0 to | |
11 | + avoid packages defining their own AT_EACCESS (which e.g. coreutil does) | |
12 | + since that will only result in errors. See: | |
13 | + https://android.googlesource.com/platform/bionic/+/3577825%5E!/ */ | |
14 | +#define AT_EACCESS 0 | |
15 | + | |
16 | #define AT_SYMLINK_NOFOLLOW 0x100 | |
17 | #define AT_REMOVEDIR 0x200 | |
18 | #define AT_SYMLINK_FOLLOW 0x400 |