smack: differentiate between subjective and objective task credentials
authorPaul Moore <paul@paul-moore.com>
Fri, 19 Feb 2021 20:04:58 +0000 (15:04 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 22 Mar 2021 19:24:14 +0000 (15:24 -0400)
commit1fb057dcde11b355fc9acde95cee3b2caa5dafb0
tree3c821b21ccfe51a95353a5f9c0f11f15c897d29c
parenteb1231f73c4d7dc26db55e08c070e6526eaf7ee5
smack: differentiate between subjective and objective task credentials

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.

Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/smack/smack.h
security/smack/smack_lsm.c