From 78429f5f4dff60ed56de56ae8524e6f50acee96a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 12 Aug 2026 11:23:32 +0100 Subject: [PATCH] privsep: Allow __NR__llseek as well as __NR_llseek on linux I have no idea why this has an extra _ Fixes pidfile cleanup on x86 Debian Bookworm. --- src/privsep-linux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/privsep-linux.c b/src/privsep-linux.c index f90d7400c..bd26f9088 100644 --- a/src/privsep-linux.c +++ b/src/privsep-linux.c @@ -376,6 +376,9 @@ static struct sock_filter ps_seccomp_filter[] = { #ifdef __NR_llseek SECCOMP_ALLOW(__NR_llseek), #endif +#ifdef __NR__llseek + SECCOMP_ALLOW(__NR__llseek), +#endif #ifdef __NR_madvise /* needed for musl */ SECCOMP_ALLOW(__NR_madvise), #endif