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

2015-01-22 Thread Paul Moore
On Thursday, January 22, 2015 11:09:42 AM Richard Guy Briggs wrote: > On 15/01/22, 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: [PATCH v2 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-22 Thread Richard Guy Briggs
On 15/01/22, 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: [PATCH v2 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-22 Thread Paul Moore
On Thursday, January 22, 2015 11:09:42 AM Richard Guy Briggs wrote: On 15/01/22, 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

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

2015-01-22 Thread Richard Guy Briggs
On 15/01/22, 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

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

2015-01-21 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

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

2015-01-21 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