From: Eric Paris Date: Wed, 5 Dec 2007 07:45:31 +0000 (-0800) Subject: VM/Security: add security hook to do_brk X-Git-Tag: v2.6.24-rc5~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecaf18c15aac8bb9bed7b7aa0e382fe252e275d5;p=pandora-kernel.git VM/Security: add security hook to do_brk Given a specifically crafted binary do_brk() can be used to get low pages available in userspace virtual memory and can thus be used to circumvent the mmap_min_addr low memory protection. Add security checks in do_brk(). Signed-off-by: Eric Paris Acked-by: Alan Cox Cc: Stephen Smalley Cc: James Morris Cc: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed