OSDN Git Service

LSM: Make some functions static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 16 Jan 2019 05:44:32 +0000 (05:44 +0000)
committerJames Morris <james.morris@microsoft.com>
Fri, 18 Jan 2019 19:46:44 +0000 (11:46 -0800)
commit3e8c73671244af16f1a6042f1c10d13b75cd1156
treee21ca9a80022c6b4938fb1398ff2b90158823a1f
parent1cfb2a512e74e577bb0ed7c8d76df90a41a83f6a
LSM: Make some functions static

Fixes the following sparse warnings:

security/security.c:533:5: warning:
 symbol 'lsm_task_alloc' was not declared. Should it be static?
security/security.c:554:5: warning:
 symbol 'lsm_ipc_alloc' was not declared. Should it be static?
security/security.c:575:5: warning:
 symbol 'lsm_msg_msg_alloc' was not declared. Should it be static?

Fixes: f4ad8f2c4076 ("LSM: Infrastructure management of the task security")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/security.c