[PATCH v2 3/7] selftests/bpf: add verifier tests for the namespace LSM hooks
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Oct 29 16:46:48 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.
>
> Acked-by: Alexei Starovoitov <ast at kernel.org>
> Acked-by: Daniel Borkmann <daniel at iogearbox.net>
> Tested-by: Daniel Borkmann <daniel at iogearbox.net>
> 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/20261029-work-security-namespace_free-v2-0-65591dbba7b3@kernel.org?part=3
More information about the Linux-security-module-archive
mailing list