From 1555cfe95f68a50f13cb7494de22117608af1dbb Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Mon, 19 Dec 2011 11:32:56 -0800 Subject: [PATCH] --- yaml --- r: 283257 b: refs/heads/master c: 114d6e9c103736487c967060d0a7aec9a7fce967 h: refs/heads/master i: 283255: c8e433109612de4bec3a9c5914c5f34a2b8d6a69 v: v3 --- [refs] | 2 +- trunk/include/linux/security.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 855022346059..af76bcb043e0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2ff6fa8fafd6fa94029fa0558a6b85956930f1f5 +refs/heads/master: 114d6e9c103736487c967060d0a7aec9a7fce967 diff --git a/trunk/include/linux/security.h b/trunk/include/linux/security.h index 051d4e96cb1f..16bb52a65fa3 100644 --- a/trunk/include/linux/security.h +++ b/trunk/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.