From: wzt.wzt@gmail.com Date: Mon, 19 Apr 2010 01:16:17 +0000 (+0800) Subject: Security: Fix the comment of cap_file_mmap() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6f262d8e1acb7b1605b811700326163fa707d355;p=linux-beck.git 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 Acked-by: Eric Paris Signed-off-by: James Morris --- diff --git a/security/commoncap.c b/security/commoncap.c index 61669730da98..c45c4d20baa8 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.