selinux: ioctl_has_perm should be static
authorGeliang Tang <geliangtang@163.com>
Wed, 21 Oct 2015 21:44:27 +0000 (17:44 -0400)
committerPaul Moore <pmoore@redhat.com>
Wed, 21 Oct 2015 21:44:27 +0000 (17:44 -0400)
commit1d2a168a085f1c65b895f258ee11a52813d25af6
tree5d3d0cbb40dfbf61d9a78c79b61bb16c5a2050c3
parent9529c7886c0741847eeb85cf2b0e0730eebe4fa5
selinux: ioctl_has_perm should be static

Fixes the following sparse warning:

 security/selinux/hooks.c:3242:5: warning: symbol 'ioctl_has_perm' was
 not declared. Should it be static?

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Jeff Vander Stoep <jeffv@google.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/hooks.c