diff options
author | wzt.wzt@gmail.com <wzt.wzt@gmail.com> | 2010-04-19 09:16:17 +0800 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-20 08:47:11 +1000 |
commit | 6f262d8e1acb7b1605b811700326163fa707d355 (patch) | |
tree | 86a40905713bfb79c8a635fe9366b3d9ffdaa8b6 /security/commoncap.c | |
parent | 05b90496f2f366b9d3eea468351888ddf010782a (diff) | |
download | kernel_samsung_aries-6f262d8e1acb7b1605b811700326163fa707d355.zip kernel_samsung_aries-6f262d8e1acb7b1605b811700326163fa707d355.tar.gz kernel_samsung_aries-6f262d8e1acb7b1605b811700326163fa707d355.tar.bz2 |
Security: Fix the comment of cap_file_mmap()
In the comment of cap_file_mmap(), replace mmap_min_addr to be dac_mmap_min_addr.
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index 6166973..c45c4d2 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -931,7 +931,7 @@ int cap_vm_enough_memory(struct mm_struct *mm, long pages) * @addr: address attempting to be mapped * @addr_only: unused * - * If the process is attempting to map memory below mmap_min_addr they need + * If the process is attempting to map memory below dac_mmap_min_addr they need * CAP_SYS_RAWIO. The other parameters to this function are unused by the * capability security module. Returns 0 if this mapping should be allowed * -EPERM if not. |