[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48E332AE.7050001@nttdata.co.jp>
Date: Wed, 01 Oct 2008 17:19:58 +0900
From: Kentaro Takeda <takedakn@...data.co.jp>
To: "Serge E. Hallyn" <serue@...ibm.com>
CC: Stephen Smalley <sds@...ho.nsa.gov>,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, haradats@...data.co.jp,
Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
Al Viro <viro@...IV.linux.org.uk>
Subject: Re: [TOMOYO #9 (2.6.27-rc7-mm1) 1/6] LSM adapter functions.
Serge E. Hallyn wrote:
>> harmless application/library probing that would be denied by DAC anyway.
>> Same issue would seemingly apply for learning modes of TOMOYO or
>> AppArmor.
> Good point. Kentaro, is that an issue for you?
Indeed, since learning mode of TOMOYO is inherently the same feature
as auditing, it is affected by noise. But it doesn't matter so much.
The main problem is the difference of error code between DAC and MAC.
DAC errors such as ENOENT or EROFS should be returned to callers
first so that callers will not be surprised by MAC errors such as
EPERM.
Regards,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists