Thread (6 messages) 6 messages, 5 authors, 2020-01-12

Re: [PATCH] selinux: remove redundant msg_msg_alloc_security

From: Paul Moore <paul@paul-moore.com>
Date: 2020-01-10 16:43:46
Also in: lkml, selinux

On Fri, Jan 10, 2020 at 4:59 AM Huaisheng Ye [off-list ref] wrote:
From: Huaisheng Ye <redacted>

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 <redacted>
---
 security/selinux/hooks.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)
Merged into selinux/next, thanks!

-- 
paul moore
www.paul-moore.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help