Re: [PATCH V6 2/4] audit: clean simple fsnotify implementation

2015-08-01 Thread Richard Guy Briggs
On 15/07/16, Paul Moore wrote: > On Tuesday, July 14, 2015 11:50:24 AM Richard Guy Briggs wrote: > > This is to be used to audit by executable rules, but audit watches > > should be able to share this code eventually. > > > > At the moment the audit watch code is a lot more complex, that code only

Re: [PATCH V6 2/4] audit: clean simple fsnotify implementation

2015-07-16 Thread Paul Moore
On Tuesday, July 14, 2015 11:50:24 AM Richard Guy Briggs wrote: > This is to be used to audit by executable rules, but audit watches > should be able to share this code eventually. > > At the moment the audit watch code is a lot more complex, that code only > creates one fsnotify watch per parent

[PATCH V6 2/4] audit: clean simple fsnotify implementation

2015-07-14 Thread Richard Guy Briggs
This is to be used to audit by executable rules, but audit watches should be able to share this code eventually. At the moment the audit watch code is a lot more complex, that code only creates one fsnotify watch per parent directory. That 'audit_parent' in turn has a list of 'audit_watches' whic