lkml.org 
[lkml]   [2019]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 10/11] selinux: Implement the watch_key security hook [ver #7]
Date
Stephen Smalley <sds@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

\
 
 \ /
  Last update: 2019-08-30 16:24    [W:0.377 / U:11.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site