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

2015-01-19 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 o

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(

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 pa

[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 o