Skip to contentSkip to conversation

Shared flags: fcntl.h

PATCH In review Pavel Shilovsky 1 participant 1 message Nov 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Shared flags: fcntl.h

include/asm-generic/fcntl.h +0 -0
index b847741..d9002e2 100644
@@ -51,6 +51,16 @@

#ifndef O_CLOEXEC
#define O_CLOEXEC 02000000 /* set close_on_exec */
#endif
+#ifndef O_DENYREAD
+#define O_DENYREAD 004000000 /* Do not permit read access */
+#endif
+#ifndef O_DENYWRITE
+#define O_DENYWRITE 010000000 /* Do not permit write access */
+#endif
+#ifndef O_DENYDELETE
+#define O_DENYDELETE 020000000 /* Do not permit delete or rename
+ operations */
+#endif
#ifndef O_NDELAY
#define O_NDELAY O_NONBLOCK
#endif