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

From: James Morris
Date: Tue Aug 04 2009 - 19:46:35 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.

These patches could do with more review / ack / signoff. Anyone? Bueller?

However, if there are no further comments, I'll likely apply these to
security-testing#next.


- James
--
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/