[PATCH 15/27] selftests/landlock: Close leaked file descriptors
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Oct 8 14:32:30 UTC 2026
> Several tests do not close file descriptors they open: the /dev/null FD
> in restrict_self_fd and restrict_self_fd_flags, and the parent's ends
> of the synchronization pipes in various ptrace, audit, signal and
> abstract UNIX socket tests.
>
> Close them once they are not needed anymore.
>
> Assisted-by: LLM
> Signed-off-by: Günther Noack <gnoack3000 at gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261008142604.39107-2-gnoack3000@gmail.com?part=15
More information about the Linux-security-module-archive
mailing list