linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Shared flags: fcntl.h
@ 2008-11-10 13:58 Pavel Shilovsky
  0 siblings, 0 replies; only message in thread
From: Pavel Shilovsky @ 2008-11-10 13:58 UTC (permalink / raw)
  To: linux-fsdevel

diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h
index b847741..d9002e2 100644
--- a/include/asm-generic/fcntl.h
+++ b/include/asm-generic/fcntl.h
@@ -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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-10 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10 13:58 [PATCH 1/2] Shared flags: fcntl.h Pavel Shilovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).