Skip to content

Commit

Permalink
update 20_arch_syscall_whitelist.conf
Browse files Browse the repository at this point in the history
unlinkat needs to be whitelisted otherwise sdwdate fails with error: SECCOMP auid=4294967295 uid=102 gid=108 ses=4294967295 subj==/usr/bin/sdwdate (enforce) pid=3328 comm="sdwdate" exe="/usr/bin/python3.9" sig=31 arch=c00000b7 syscall=35 compat=0 ip=0xf37077846c74 code=0x80000000
  • Loading branch information
cyb3rw0lf committed Jan 30, 2022
1 parent 87c422f commit 6b5f101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/sdwdate.postinst
Expand Up @@ -96,7 +96,7 @@ if [[ "${arch}" =~ "arm" ]] || [[ "${arch}" =~ "aarch" ]]; then
## ARM-specific syscalls.
syscall_whitelist="\
[Service]
SystemCallFilter=faccessat readlinkat newfstatat mkdirat dup3 ppoll pselect6"
SystemCallFilter=faccessat readlinkat newfstatat mkdirat dup3 ppoll pselect6 unlinkat"
elif [[ "${arch}" =~ "ppc" ]]; then
## PowerPC-specific syscalls.
syscall_whitelist="\
Expand Down

0 comments on commit 6b5f101

Please sign in to comment.