Skip to content

Commit ec0474d

Browse files
committed
New pidfile needs lseek
1 parent 3d6b101 commit ec0474d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/privsep-linux.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ static struct sock_filter ps_seccomp_filter[] = {
364364
/* SECCOMP BPF is newer than nl80211 so we don't need SIOCGIWESSID
365365
* which lives in the impossible to include linux/wireless.h header */
366366
#endif
367+
#ifdef __NR_lseek
368+
SECCOMP_ALLOW(__NR_lseek),
369+
#endif
367370
#ifdef __NR_madvise /* needed for musl */
368371
SECCOMP_ALLOW(__NR_madvise),
369372
#endif

0 commit comments

Comments
 (0)