]> Gentwo Git Trees - linux/.git/commit
selinux: rename task_security_struct to cred_security_struct
authorStephen Smalley <stephen.smalley.work@gmail.com>
Thu, 13 Nov 2025 20:23:13 +0000 (15:23 -0500)
committerPaul Moore <paul@paul-moore.com>
Thu, 20 Nov 2025 21:43:50 +0000 (16:43 -0500)
commit75f72fe289a7f76204a728668edcf20e4a2a6097
treec68b7cbca7cf942bef3b63f9fc9cdf0bba15a7dd
parent211ddde0823f1442e4ad052a2f30f050145ccada
selinux: rename task_security_struct to cred_security_struct

Before Linux had cred structures, the SELinux task_security_struct was
per-task and although the structure was switched to being per-cred
long ago, the name was never updated. This change renames it to
cred_security_struct to avoid confusion and pave the way for the
introduction of an actual per-task security structure for SELinux. No
functional change.

Cc: stable@vger.kernel.org
Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c
security/selinux/include/objsec.h