From 6d05d862975188039e648273ceab350d9ab5b69e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 15 Sep 2012 23:45:41 -0400 Subject: 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. --- arch/mips/bits/fcntl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/mips') 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 -- cgit v1.2.1