abis/mlibc: Define O_PATH

abis/linux: Add compatibility define for O_PATH
options/posix: Define O_PATH

Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
This commit is contained in:
Dennis Bonke 2021-01-24 13:23:18 +01:00
parent 666c09d1d5
commit 0e98b63338
No known key found for this signature in database
GPG key ID: F456F05FBF825330
3 changed files with 3 additions and 0 deletions

View file

@ -23,5 +23,6 @@
#define __MLIBC_O_EXEC __MLIBC_LINUX_O_PATH
#define __MLIBC_O_SEARCH __MLIBC_LINUX_O_PATH
#define __MLIBC_O_PATH __MLIBC_LINUX_O_PATH
#endif // _ABIBITS_ABI_H

View file

@ -21,5 +21,6 @@
#define __MLIBC_O_RSYNC 0x1000
#define __MLIBC_O_SYNC 0x2000
#define __MLIBC_O_CLOEXEC 0x4000
#define __MLIBC_O_PATH 0x8000
#endif // _ABIBITS_ABI_H

View file

@ -34,6 +34,7 @@ extern "C" {
#define O_RSYNC __MLIBC_O_RSYNC
#define O_SYNC __MLIBC_O_SYNC
#define O_CLOEXEC __MLIBC_O_CLOEXEC
#define O_PATH __MLIBC_O_PATH
// MISSING: AT macros