]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: various sparse fixes
authorPaul Moore <paul@paul-moore.com>
Thu, 27 Jan 2022 15:56:13 +0000 (10:56 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 2 Feb 2022 00:08:28 +0000 (19:08 -0500)
commit3cf4d8ef19910ce051d709cbf7a7a541c2a39dcc
treece81cfb714f72eb8081c13dfc5ebd60342cb5106
parentd074b560da4667b3fc9c41d77d6a3067803de5f2
selinux: various sparse fixes

When running the SELinux code through sparse, there are a handful of
warnings.  This patch resolves some of these warnings caused by
"__rcu" mismatches.

 % make W=1 C=1 security/selinux/

Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c
security/selinux/ibpkey.c
security/selinux/netnode.c
security/selinux/netport.c