https://git.rsbac.org/cgi-bin/gitweb.cgi?p=linux-6.1.y.git;a=summary
RSBAC for Linux 6.1 (Long Term)
Current version: 6.1.31
commit 2d7dc0e60f2fd77cd2c6663d15e5385545308b6f Author: Amon Ott ao@rsbac.org Date: Thu Jun 1 07:45:04 2023 +0200
__sys_setresuid(), __sys_setresgid(): move RSBAC check before no-op check. The kernel no-op check bypasses the RSBAC check and notification, but in RSBAC, setresuid(getuid(), -1, -1) is security relevant and needs to update state. As a side effect, we now also check before the kernel capability check and might see more RSBAC messages as a result.
kernel/sys.c | 138 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 66 insertions(+), 72 deletions(-)