]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: remove redundant msg_msg_alloc_security
authorHuaisheng Ye <yehs1@lenovo.com>
Fri, 10 Jan 2020 09:58:56 +0000 (17:58 +0800)
committerPaul Moore <paul@paul-moore.com>
Fri, 10 Jan 2020 16:32:13 +0000 (11:32 -0500)
commit486b152d189b05349f451397ab3014a180e38326
tree13d6f7ecb8c3ddf9e08aa1bb54763736ca492b74
parent42984b4befcc4326c3c45d89759dc3ae33f12adc
selinux: remove redundant msg_msg_alloc_security

selinux_msg_msg_alloc_security only calls msg_msg_alloc_security but
do nothing else. And also msg_msg_alloc_security is just used by the
former.

Remove the redundant function to simplify the code.

Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c