summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-15 23:45:41 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-15 23:45:41 -0400
commit6d05d862975188039e648273ceab350d9ab5b69e (patch)
tree3a0e3f09fb5ca331bf178fe43a272e9a50d08902 /arch/i386
parent93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6 (diff)
downloadmusl-6d05d862975188039e648273ceab350d9ab5b69e.tar.gz
musl-6d05d862975188039e648273ceab350d9ab5b69e.tar.bz2
musl-6d05d862975188039e648273ceab350d9ab5b69e.tar.xz
musl-6d05d862975188039e648273ceab350d9ab5b69e.zip
add O_EXEC open mode
the linux O_PATH mode provides the necessary semantics for both the O_SEARCH and O_EXEC modes defined and required by POSIX 2008.
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/bits/fcntl.h b/arch/i386/bits/fcntl.h
index 6325a332..04b7484c 100644
--- a/arch/i386/bits/fcntl.h
+++ b/arch/i386/bits/fcntl.h
@@ -11,6 +11,7 @@
#define O_NOFOLLOW 0400000
#define O_CLOEXEC 02000000
#define O_SEARCH 010000000
+#define O_EXEC 010000000
#define O_ASYNC 020000
#define O_DIRECT 040000