aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMickaël Salaün <[email protected]>2024-02-27 12:05:50 +0100
committerMickaël Salaün <[email protected]>2024-03-07 11:29:46 +0100
commit782191c74875cc33b50263e21d76080b1411884d (patch)
tree2ae6128bca47d8fa818f40032df2afd7a265539f /lib/test_fortify/write_overflow-strncpy-src.c
parent0e89ef6f790144504ef421dfc21960fc31abc783 (diff)
landlock: Warn once if a Landlock action is requested while disabled
Because sandboxing can be used as an opportunistic security measure, user space may not log unsupported features. Let the system administrator know if an application tries to use Landlock but failed because it isn't enabled at boot time. This may be caused by boot loader configurations with outdated "lsm" kernel's command-line parameter. Cc: [email protected] Fixes: 265885daf3e5 ("landlock: Add syscall implementations") Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Günther Noack <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions