integration: output debug information in fd leak test

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai
2026-02-09 10:40:18 +11:00
parent a462d6f8a8
commit bb9ee2b0df
+2
View File
@@ -69,6 +69,8 @@ is_allowed_fdtarget() {
if ! is_allowed_fdtarget "$target"; then
echo "Violation: FD $fd_name -> '$target'"
violation_found=1
else
echo "Permitted: FD $fd_name -> '$target'"
fi
done < <(find "/proc/$pid/fd" -type l -print0)
[ "$violation_found" -eq 0 ]