summaryrefslogtreecommitdiff
path: root/arch/powerpc/bits/fcntl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-01 19:31:06 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-01 19:31:06 -0400
commitfd427c4eaeed4d1099acc7b6188e41c6cfa5bca5 (patch)
tree967ce8c4489f4a9167239d03a66f4ab79dcbe736 /arch/powerpc/bits/fcntl.h
parentabfe1f65417a75b39fdcb2bf673c1d75bbee1204 (diff)
downloadmusl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.tar.gz
musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.tar.bz2
musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.tar.xz
musl-fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5.zip
move O_PATH definition back to arch bits
while it's the same for all presently supported archs, it differs at least on sparc, and conceptually it's no less arch-specific than the other O_* macros. O_SEARCH and O_EXEC are still defined in terms of O_PATH in the main fcntl.h.
Diffstat (limited to 'arch/powerpc/bits/fcntl.h')
-rw-r--r--arch/powerpc/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/bits/fcntl.h b/arch/powerpc/bits/fcntl.h
index 548e5741..c3f875e5 100644
--- a/arch/powerpc/bits/fcntl.h
+++ b/arch/powerpc/bits/fcntl.h
@@ -15,6 +15,7 @@
#define O_DIRECT 0400000
#define O_LARGEFILE 0200000
#define O_NOATIME 01000000
+#define O_PATH 010000000
#define O_TMPFILE 020040000
#define O_NDELAY O_NONBLOCK