File foo.patch of Package passt

--- passt-20251215.b40f5cd/passt.c.old	2026-04-01 08:43:19.786876897 +0200
+++ passt-20251215.b40f5cd/passt.c	2026-04-01 08:44:05.062618844 +0200
@@ -340,6 +340,8 @@
 	struct timespec now;
 	struct sigaction sa;
 
+  close_range(0, ~0U, CLOSE_RANGE_UNSHARE);
+
 	if (clock_gettime(CLOCK_MONOTONIC, &log_start))
 		die_perror("Failed to get CLOCK_MONOTONIC time");
 
openSUSE Build Service is sponsored by