aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-21 20:18:17 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-21 20:18:17 +0200
commit1fc6416cf9446cbf75818fd61772610e74709065 (patch)
tree5d19d296e1a8c97c8e12b55ece4cd0935be1cd6c
parentd36e429bc6964a40845bd1e386e2ee4f3790e342 (diff)
downloadpasst-1fc6416cf9446cbf75818fd61772610e74709065.tar
passt-1fc6416cf9446cbf75818fd61772610e74709065.tar.gz
passt-1fc6416cf9446cbf75818fd61772610e74709065.tar.bz2
passt-1fc6416cf9446cbf75818fd61772610e74709065.tar.lz
passt-1fc6416cf9446cbf75818fd61772610e74709065.tar.xz
passt-1fc6416cf9446cbf75818fd61772610e74709065.tar.zst
passt-1fc6416cf9446cbf75818fd61772610e74709065.zip
seccomp: Add newfstatat to list of allowed syscalls
...it looks like, on a recent Fedora installation, daemon() uses it. Reported-by: Giuseppe Scrivano <gscrivan@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--passt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passt.c b/passt.c
index 399cc08..6436a45 100644
--- a/passt.c
+++ b/passt.c
@@ -278,7 +278,7 @@ static void pid_file(struct ctx *c) {
* #syscalls prlimit64 epoll_ctl epoll_create1 epoll_wait accept4 accept listen
* #syscalls socket bind connect getsockopt setsockopt recvfrom sendto shutdown
* #syscalls openat fstat fcntl lseek clone setsid exit_group getpid
- * #syscalls clock_gettime
+ * #syscalls clock_gettime newfstatat
* #syscalls:pasta rt_sigreturn
*/
int main(int argc, char **argv)