selinux: make more use of current_sid()
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 15 Mar 2024 17:31:00 +0000 (18:31 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 27 Mar 2024 22:25:18 +0000 (18:25 -0400)
commitcdc12eb41224cb8f1c2e4d0599925d1dacf5b051
treeb17f15fc4c0cd970262c293fcd8a17267cfbae93
parent4b3124de63c6b1b38fc791c279c25e1811ca114d
selinux: make more use of current_sid()

Use the internal helper current_sid() where applicable.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c
security/selinux/xfrm.c