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