[PATCH 10/11] selinux: Implement the watch_key security hook [ver #7]
David Howells
dhowells at redhat.com
Fri Aug 30 14:23:41 UTC 2019
Stephen Smalley <sds at tycho.nsa.gov> wrote:
> > + u32 sid = cred_sid(current_cred());
>
> How does this differ from current_sid()?
>
> And has current_sid() not been converted to use selinux_cred()? Looks like
> selinux_kernfs_init_security() also uses current_security() directly.
It probably doesn't - okay I'll use that instead.
David
More information about the Linux-security-module-archive
mailing list