Re: [TOMOYO #15 0/8] TOMOYO Linux

From: James Morris
Date: Thu Feb 12 2009 - 00:35:29 EST


On Thu, 5 Feb 2009, Kentaro Takeda wrote:

> TOMOYO Linux is a name-based MAC extension (LSM module) for the Linux kernel.
>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

Please fix the following issue detected by sparse:

$ make C=2 SUBDIRS=security/tomoyo CF="-D__cold__="
CHECK security/tomoyo/common.c
CHECK security/tomoyo/realpath.c
CHECK security/tomoyo/tomoyo.c
security/tomoyo/tomoyo.c:110:8: warning: symbol 'buf' shadows an earlier one
security/tomoyo/tomoyo.c:100:7: originally declared here

The fix is not obvious. You should be running sparse, too.

I also fixed up the link order so security=tomoyo works when root_plug is
enabled.


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