# Re: \[PATCH v2 15/27\] selftests/landlock: Close leaked file descriptors

- From: sashiko-bot@kernel.org
- Date: 2026-11-04 21:14:44 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2026/11/17864694
- Thread: https://ratatoskr.run/linux-security-module/2026/11/17864489/t.md

```text
> 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.
> 
> Signed-off-by: Günther Noack <redacted>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-selftests-refactor-v2-0-c52f23f7ce33@gmail.com?part=15

```
