[PATCH] audit: file system auditing based on location and name

David Woodhouse dwmw2 at infradead.org
Thu Jul 7 18:16:35 UTC 2005


On Thu, 2005-07-07 at 11:10 -0700, Greg KH wrote:
> Yes, and then I change namespaces to put /etc/shadow at
> /foo/baz/etc/shadow and then access it that way?  Will the current
> audit system fail to catch that access?

The watch is attached to the inode which you happened to call '/etc' in
your namespace, and takes effect in _any_ namespace regardless of the
path to it.

In the audit trail, you see the path which was used in the audited
process's namespace, and also the filter key which was associated with
that watch when you added it.

-- 
dwmw2





More information about the Linux-audit mailing list