[PATCH 1/2] Shared flags: fcntl.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux