Re: [PATCH -v4 1/3] Capabilities: move cap_file_mmap tocommoncap.c

From: James Morris
Date: Wed Aug 05 2009 - 20:21:33 EST


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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/