]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: fix build warning
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Wed, 4 Oct 2017 18:32:18 +0000 (20:32 +0200)
committerPaul Moore <paul@paul-moore.com>
Wed, 4 Oct 2017 20:32:42 +0000 (16:32 -0400)
commit4298555df5e5cb956549de5b01e4c77b1e4bc00a
treeff1a4a94d220c5e7c0493c62a92190315a7bde8e
parentc0d4f464caeb075e3bb9063a64cd63c093ac03ad
selinux: fix build warning

This patch make selinux_task_prlimit() static since it is not used
anywhere else.
This fix the following build warning:
security/selinux/hooks.c:3981:5: warning: no previous prototype for 'selinux_task_prlimit' [-Wmissing-prototypes]

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c