Files
android_kernel_fxtec_sm6115/kernel
Micah Morton bd3cbe14b0 BACKPORT: LSM: add SafeSetID module that gates setid calls
This change ensures that the set*uid family of syscalls in kernel/sys.c
(setreuid, setuid, setresuid, setfsuid) all call ns_capable_common with
the CAP_OPT_INSETID flag, so capability checks in the security_capable
hook can know whether they are being called from within a set*uid
syscall. This change is a no-op by itself, but is needed for the
proposed SafeSetID LSM.

Change-Id: Ie661692d340f57b74c5cd6623159c028795d481f
Signed-off-by: Micah Morton <mortonm@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
2025-09-08 01:35:16 -04:00
..
2025-04-04 11:11:29 +02:00
2025-08-28 03:26:22 +03:00
2021-02-07 14:48:38 +01:00