On Fri, 31 Jul 2009, Eric Paris wrote: > Currently we duplicate the mmap_min_addr test in cap_file_mmap and in > security_file_mmap if !CONFIG_SECURITY. This patch moves cap_file_mmap > into commoncap.c and then calls that function directly from > security_file_mmap ifndef CONFIG_SECURITY like all of the other capability > checks are done. > > Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> > Acked-by: Serge Hallyn <serue@xxxxxxxxxx> All applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next Please test! -- James Morris <jmorris@xxxxxxxxx> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.