]> git.karo-electronics.de Git - karo-tx-linux.git/commit
selinux: remove unnecessary pointer reassignment
authorJeff Vander Stoep <jeffv@google.com>
Thu, 26 Feb 2015 21:54:17 +0000 (13:54 -0800)
committerPaul Moore <pmoore@redhat.com>
Tue, 7 Apr 2015 00:04:54 +0000 (20:04 -0400)
commit83d4a806ae46397f606de7376b831524bd3a21e5
tree952b111e4f79483efc35ffa4ebeaec412f001ebf
parent4f9a60f5c7e74f3e413a1ede1e8b959d01df4e57
selinux: remove unnecessary pointer reassignment

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 <jeffv@google.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
[PM: tweaked subject line]
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/avc.c