[PATCH 3/8] selftests/bpf: add verifier tests for the namespace LSM hooks
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Oct 26 10:44:02 UTC 2026
> Add a test kfunc that takes a trusted struct ns_common and check that:
>
> - namespace_init and namespace_free arguments can't be passed to it
>
> - namespace_install arguments can
>
> The test fails if namespace_init and namespace_free are treated as
> trusted.
>
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261026-work-security-namespace_free-v1-0-ffa3ebbf71bd@kernel.org?part=3
More information about the Linux-security-module-archive
mailing list