Don't use the cred->security pointer directly.
Provide a helper function that provides the security blob pointer.
Signed-off-by: Casey Schaufler
---
security/selinux/hooks.c | 54 +++
security/selinux/include/objsec.h | 5 +++
security/selinux/xfrm.c
On Tue, Sep 11, 2018 at 9:41 AM, Casey Schaufler wrote:
> Don't use the cred->security pointer directly.
> Provide a helper function that provides the security blob pointer.
>
> Signed-off-by: Casey Schaufler
Like smack, this seems to be largely:
s/$identifier->security/selinux_cred($identifier