aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorMickaël Salaün <[email protected]>2025-05-28 14:44:25 +0000
committerMickaël Salaün <[email protected]>2025-06-19 11:55:38 +0000
commit94a7ce26428d3a7ceb46c503ed726160578b9fcc (patch)
treeea9e77d402670b68f4e975f465b2caf639e4532a /security/selinux/hooks.c
parentLinux 6.16-rc2 (diff)
downloadkernel-94a7ce26428d3a7ceb46c503ed726160578b9fcc.tar.gz
kernel-94a7ce26428d3a7ceb46c503ed726160578b9fcc.zip
selftests/landlock: Fix readlink check
The audit_init_filter_exe() helper incorrectly checks the readlink(2) error because an unsigned integer is used to store the result. Use a signed integer for this check. Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Fixes: 6a500b22971c ("selftests/landlock: Add tests for audit flags and domain IDs") 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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions