Bad file access on the rise
Matthew Garrett
mjg59 at srcf.ucam.org
Sun Jun 9 22:21:16 UTC 2013
On Sun, Jun 09, 2013 at 04:55:40PM -0400, Doug Ledford wrote:
> I would never encourage it in terms of suggesting people try to second
> guess the kernel's rules and limitations. However, you can use such a
> technique to weed out otherwise known to fail cases, at least in
> instances like this where it is a garbage collection operation and
> failure to guess properly is obviously far from critical.
You can in some circumstances, and not in others. And in the
circumstances where you can't, you're going to generate audit records.
That's undesirable, and so we should try to find a solution that works
under all circumstances, not just the ones where we can add a stat() in
front and call it done.
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the devel
mailing list