summaryrefslogtreecommitdiffstats
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorJames Morris2012-01-09 02:16:48 +0100
committerJames Morris2012-01-09 02:16:48 +0100
commit8fcc99549522fc7a0bbaeb5755855ab0d9a59ce8 (patch)
treea118eaef15d4ba22247f45ee01537ecc906cd161 /include/linux/security.h
parentLinux 3.2 (diff)
parentima: fix invalid memory reference (diff)
downloadkernel-qcow2-linux-8fcc99549522fc7a0bbaeb5755855ab0d9a59ce8.tar.gz
kernel-qcow2-linux-8fcc99549522fc7a0bbaeb5755855ab0d9a59ce8.tar.xz
kernel-qcow2-linux-8fcc99549522fc7a0bbaeb5755855ab0d9a59ce8.zip
Merge branch 'next' into for-linus
Conflicts: security/integrity/evm/evm_crypto.c Resolved upstream fix vs. next conflict manually. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index e8c619d39291..dd5bbe88d6ee 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.
@@ -2044,7 +2046,7 @@ static inline void security_inode_free(struct inode *inode)
static inline int security_inode_init_security(struct inode *inode,
struct inode *dir,
const struct qstr *qstr,
- initxattrs initxattrs,
+ const initxattrs initxattrs,
void *fs_data)
{
return 0;