diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-20 18:59:02 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 01:43:18 -0400 |
commit | 1fc0f78ca9f311c6277e2f1b7655bb4d43ceb311 (patch) | |
tree | 9c6a5879558b7a189f94eae97ac80268e63fe29b /include/linux/fs.h | |
parent | 178ea73521d64ba41d7aa5488fb9f549c6d4507d (diff) | |
download | op-kernel-dev-1fc0f78ca9f311c6277e2f1b7655bb4d43ceb311.zip op-kernel-dev-1fc0f78ca9f311c6277e2f1b7655bb4d43ceb311.tar.gz |
->permission() sanitizing: MAY_NOT_BLOCK
Duplicate the flags argument into mask bitmap.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0c15d5e..60c1fe6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -63,6 +63,7 @@ struct inodes_stat_t { #define MAY_ACCESS 16 #define MAY_OPEN 32 #define MAY_CHDIR 64 +#define MAY_NOT_BLOCK 128 /* called from RCU mode, don't block */ /* * flags in file.f_mode. Note that FMODE_READ and FMODE_WRITE must correspond |