On Thu, Jul 07, 2005 at 07:16:35PM +0100, David Woodhouse wrote:
 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. 
Ok, thanks, that makes sense.
greg k-h