Re: [TOMOYO #9 (2.6.27-rc7-mm1) 1/6] LSM adapter functions.

From: Kentaro Takeda
Date: Wed Oct 01 2008 - 04:20:22 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/