[PATCH 2/2] selinux: fix build warning

Paul Moore paul at paul-moore.com
Wed Oct 4 20:34:04 UTC 2017


On Wed, Oct 4, 2017 at 4:27 PM, Stephen Smalley <sds at tycho.nsa.gov> wrote:
> On Wed, 2017-10-04 at 20:32 +0200, Corentin Labbe wrote:
>> 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 at gmail.com>
>
> Acked-by: Stephen Smalley <sds at tycho.nsa.gov>

Merged, thanks again.

-- 
paul moore
www.paul-moore.com
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list