]> git.baikalelectronics.ru Git - kernel.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)
commit26195dbd089bff5b8b08f0ced3bff435954ee6a8
tree952b111e4f79483efc35ffa4ebeaec412f001ebf
parent99bf226d22b53909b6dbef529272f8f70c316251
selinux: remove unnecessary pointer reassignment

Commit 09d5c8c1101a ("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