mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Test all Landlock system calls, ptrace hooks semantic and filesystem access-control with multiple layouts. Test coverage for security/landlock/ is 93.6% of lines. The code not covered only deals with internal kernel errors (e.g. memory allocation) and race conditions. Cc: James Morris <[email protected]> Cc: Jann Horn <[email protected]> Cc: Serge E. Hallyn <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Mickaël Salaün <[email protected]> Reviewed-by: Vincent Dagonneau <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: James Morris <[email protected]>
6 lines
66 B
C
6 lines
66 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
int main(void)
|
|
{
|
|
return 0;
|
|
}
|