Re: [RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-14 Thread Paul Moore
On Wednesday, January 14, 2015 04:37:17 PM Richard Guy Briggs wrote: > On 15/01/08, Paul Moore wrote: > > In order to ensure that filenames are not released before the audit > > subsystem is done with the strings there are a number of hacks built > > into the fs and audit subsystems around

Re: [RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: > In order to ensure that filenames are not released before the audit > subsystem is done with the strings there are a number of hacks built > into the fs and audit subsystems around getname() and putname(). To > say these hacks are "ugly" would be kind. > > This

Re: [RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and putname(). To say these hacks are ugly would be kind. This patch

Re: [RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-14 Thread Paul Moore
On Wednesday, January 14, 2015 04:37:17 PM Richard Guy Briggs wrote: On 15/01/08, Paul Moore wrote: In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and

[RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-08 Thread Paul Moore
In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and putname(). To say these hacks are "ugly" would be kind. This patch removes the filename hackery in favor

[RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-08 Thread Paul Moore
In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and putname(). To say these hacks are ugly would be kind. This patch removes the filename hackery in favor of