提交 6d05d862 编写于 作者: R Rich Felker

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.
上级 93ea998c
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册