Searched hist:eba39ca4 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | eba39ca4 Fri May 06 11:08:19 CDT 2022 Mickaël Salaün <mic@digikod.net> landlock: Change landlock_restrict_self(2) check ordering
According to the Landlock goal to be a security feature available to unprivileges processes, it makes more sense to first check for no_new_privs before checking anything else (i.e. syscall arguments).
Merge inval_fd_enforce and unpriv_enforce_without_no_new_privs tests into the new restrict_self_checks_ordering. This is similar to the previous commit checking other syscalls.
Link: https://lore.kernel.org/r/20220506160820.524344-10-mic@digikod.net Cc: stable@vger.kernel.org Signed-off-by: Mickaël Salaün <mic@digikod.net>
|
/openbmc/linux/security/landlock/ |
H A D | syscalls.c | eba39ca4 Fri May 06 11:08:19 CDT 2022 Mickaël Salaün <mic@digikod.net> landlock: Change landlock_restrict_self(2) check ordering
According to the Landlock goal to be a security feature available to unprivileges processes, it makes more sense to first check for no_new_privs before checking anything else (i.e. syscall arguments).
Merge inval_fd_enforce and unpriv_enforce_without_no_new_privs tests into the new restrict_self_checks_ordering. This is similar to the previous commit checking other syscalls.
Link: https://lore.kernel.org/r/20220506160820.524344-10-mic@digikod.net Cc: stable@vger.kernel.org Signed-off-by: Mickaël Salaün <mic@digikod.net>
|