Re: [PATCH 10/11] selinux: Implement the watch_key security hook [ver #7]

From
David Howells <dhowells@redhat.com>
Date
2019-08-30 14:23:50
Also in
keyrings, linux-api, linux-fsdevel, linux-security-module, linux-usb, lkml
Reply to
Stephen Smalley, 2019-08-30
Stephen Smalley [off-list ref] wrote:
quoted
+	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
Thread (42 messages) 42 messages, 7 authors, last reply 2019-09-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help