diff options
| author | Geliang Tang <tanggeliang@kylinos.cn> | 2026-04-20 17:45:28 +0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-21 13:44:15 +0200 |
| commit | 0eb307d61317b42b120ab02099b597226318358a (patch) | |
| tree | 72643236afea1c72873b9e3b6f754670412c6b94 /scripts/stackusage | |
| parent | 62c4d31d78294bd61cf3403626b789e854357177 (diff) | |
selftests: harness: fix pidfd leak in __wait_for_test
Fix the pidfd leak in kselftest_harness.h's __wait_for_test() where
childfd = syscall(__NR_pidfd_open, t->pid, 0) is never closed.
Fixes: 73a3cde97677 ("selftests: harness: Implement test timeouts through pidfd")
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://patch.msgid.link/a82e275ccfb2609a1984d90ab559fa3af78f1e81.1776678050.git.tanggeliang@kylinos.cn
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
