]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lsm: integrate lsm_early_cred() and lsm_early_task() into caller
authorPaul Moore <paul@paul-moore.com>
Sat, 12 Jul 2025 20:27:39 +0000 (16:27 -0400)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:17 +0000 (19:24 -0400)
commit92ed3500c9a91f43e094c9b8fb4bab9976565d74
treec25d377428e10628d043607c0c60e76e0f0d0736
parentcb1513db7a6ed82d22853608d78bbf72ad8c67c1
lsm: integrate lsm_early_cred() and lsm_early_task() into caller

With only one caller of lsm_early_cred() and lsm_early_task(), insert
the functions' code directly into the caller and ger rid of the two
functions.

Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: John Johansen <john.johhansen@canonical.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/lsm_init.c