From: Pavel Shilovsky <piastry@etersoft.ru>
To: linux-fsdevel@vger.kernel.org
Subject: [PATCH 1/2] Shared flags: fcntl.h
Date: Mon, 10 Nov 2008 16:58:43 +0300 [thread overview]
Message-ID: <49183E13.8050302@etersoft.ru> (raw)
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
reply other threads:[~2008-11-10 13:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49183E13.8050302@etersoft.ru \
--to=piastry@etersoft.ru \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.