aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-03 16:10:26 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-03 16:10:26 -0500
commit4941a742dcd35d80d16fc96906cd022e03a3799b (patch)
tree0fc9a5aea45fa3c5b028c7979ed6166bcfbba950
parentbuild: update README->README.md name (diff)
downloadpax-utils-1.1.6.tar.gz
pax-utils-1.1.6.tar.bz2
pax-utils-1.1.6.zip
security: whitelist readlinkatv1.1.6
Newer arches omit readlink entirely (like aarch64). Reported-by: Steev Klimaszewski <steev@gentoo.org>
-rw-r--r--security.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security.c b/security.c
index b635ccf..8019860 100644
--- a/security.c
+++ b/security.c
@@ -136,6 +136,7 @@ static void pax_seccomp_init(bool allow_forking)
/* Syscalls listed because of sandbox. */
SCMP_SYS(readlink),
+ SCMP_SYS(readlinkat),
SCMP_SYS(getcwd),
/* Syscalls listed because of fakeroot. */