about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/fcntl.h1
-rw-r--r--arch/i386/bits/fcntl.h1
-rw-r--r--arch/mips/bits/fcntl.h1
-rw-r--r--arch/x86_64/bits/fcntl.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/bits/fcntl.h b/arch/arm/bits/fcntl.h
index 7e746026..c0afa615 100644
--- a/arch/arm/bits/fcntl.h
+++ b/arch/arm/bits/fcntl.h
@@ -11,6 +11,7 @@
 #define O_NOFOLLOW  0100000
 #define O_CLOEXEC  02000000
 #define O_SEARCH  010000000
+#define O_EXEC    010000000
 
 #define O_ASYNC      020000
 #define O_DIRECT    0200000
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
diff --git a/arch/mips/bits/fcntl.h b/arch/mips/bits/fcntl.h
index 6f912fb9..ad847f08 100644
--- a/arch/mips/bits/fcntl.h
+++ b/arch/mips/bits/fcntl.h
@@ -16,6 +16,7 @@
 #define O_CLOEXEC  02000000
 #define O_PATH    010000000
 #define O_SEARCH  010000000
+#define O_EXEC    010000000
 
 #define O_NDELAY O_NONBLOCK
 
diff --git a/arch/x86_64/bits/fcntl.h b/arch/x86_64/bits/fcntl.h
index c02b0b53..e8db7ae6 100644
--- a/arch/x86_64/bits/fcntl.h
+++ b/arch/x86_64/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