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

James Morris
2009-02-12T05:35:28Z

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@namei.org>