diff options
author | Kees Cook <keescook@chromium.org> | 2011-12-19 11:32:56 -0800 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-12-20 09:36:23 +1100 |
commit | 114d6e9c103736487c967060d0a7aec9a7fce967 (patch) | |
tree | 4f1fb57be558104adfef77ed2173f14a536e5219 /include/linux/security.h | |
parent | 2ff6fa8fafd6fa94029fa0558a6b85956930f1f5 (diff) | |
download | linux-114d6e9c103736487c967060d0a7aec9a7fce967.tar.gz linux-114d6e9c103736487c967060d0a7aec9a7fce967.tar.bz2 linux-114d6e9c103736487c967060d0a7aec9a7fce967.zip |
security: update security_file_mmap() docs
This documents the fields added to security_file_mmap() that were
introduced in ed0321895182ffb6ecf210e066d87911b270d587.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 051d4e96cb1f..16bb52a65fa3 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -590,6 +590,8 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) * @reqprot contains the protection requested by the application. * @prot contains the protection that will be applied by the kernel. * @flags contains the operational flags. + * @addr contains virtual address that will be used for the operation. + * @addr_only contains a boolean: 0 if file-backed VMA, otherwise 1. * Return 0 if permission is granted. * @file_mprotect: * Check permissions before changing memory access permissions. |