Re: [PATCH] avc: remove unnecessary pointer reassignment

2015-03-09 Thread Paul Moore
On Wed, Mar 4, 2015 at 1:07 PM, Paul Moore wrote: > On Fri, Feb 27, 2015 at 8:15 AM, Stephen Smalley wrote: >> On 02/26/2015 04:54 PM, Jeff Vander Stoep wrote: >>> Commit f01e1af445fa ("selinux: don't pass in NULL avd to >>> avc_has_perm_noaudit") >>> made this pointer reassignment unnecessary.

Re: [PATCH] avc: remove unnecessary pointer reassignment

2015-03-04 Thread Paul Moore
On Fri, Feb 27, 2015 at 8:15 AM, Stephen Smalley wrote: > On 02/26/2015 04:54 PM, Jeff Vander Stoep wrote: >> Commit f01e1af445fa ("selinux: don't pass in NULL avd to >> avc_has_perm_noaudit") >> made this pointer reassignment unnecessary. Avd should continue to reference >> the stack-based copy.

Re: [PATCH] avc: remove unnecessary pointer reassignment

2015-02-27 Thread Stephen Smalley
On 02/26/2015 04:54 PM, Jeff Vander Stoep wrote: > Commit f01e1af445fa ("selinux: don't pass in NULL avd to > avc_has_perm_noaudit") > made this pointer reassignment unnecessary. Avd should continue to reference > the stack-based copy. > > Signed-off-by: Jeff Vander Stoep Acked-by: Stephen Sma

Re: [PATCH] avc: remove unnecessary pointer reassignment

2015-02-26 Thread Nick Kralevich
Acked-By: Nick Kralevich On Thu, Feb 26, 2015 at 1:54 PM, Jeff Vander Stoep wrote: > Commit f01e1af445fa ("selinux: don't pass in NULL avd to > avc_has_perm_noaudit") > made this pointer reassignment unnecessary. Avd should continue to reference > the stack-based copy. > > Signed-off-by: Jeff V

[PATCH] avc: remove unnecessary pointer reassignment

2015-02-26 Thread Jeff Vander Stoep
Commit f01e1af445fa ("selinux: don't pass in NULL avd to avc_has_perm_noaudit") made this pointer reassignment unnecessary. Avd should continue to reference the stack-based copy. Signed-off-by: Jeff Vander Stoep --- security/selinux/avc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(