Re: [RFC PATCH 3/4] smack: differentiate between subjective and objective task credentials

2021-03-08 Thread Richard Guy Briggs
On 2021-02-19 18:29, Paul Moore wrote: > With the split of the security_task_getsecid() into subjective and > objective variants it's time to update Smack to ensure it is using > the correct task creds. > > Signed-off-by: Paul Moore FWIW Reviewed-by: Richard Guy Briggs > --- >

Re: [RFC PATCH 2/4] selinux: clarify task subjective and objective credentials

2021-03-08 Thread Richard Guy Briggs
On 2021-02-19 18:29, Paul Moore wrote: > SELinux has a function, task_sid(), which returns the task's > objective credentials, but unfortunately is used in a few places > where the subjective task credentials should be used. Most notably > in the new security_task_getsecid_subj() LSM hook. > >

Re: [RFC PATCH 1/4] lsm: separate security_task_getsecid() into subjective and objective variants

2021-03-08 Thread Richard Guy Briggs
On 2021-02-19 18:29, Paul Moore wrote: > Of the three LSMs that implement the security_task_getsecid() LSM > hook, all three LSMs provide the task's objective security > credentials. This turns out to be unfortunate as most of the hook's > callers seem to expect the task's subjective credentials,