aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-16 16:54:23 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-16 16:54:23 +0200
commit85038e94104717f6c814756fbc798196e319b48f (patch)
tree325e2eead518eed2b1d10e5c55f11583d4be8d87
parent2c7d1ce088ba9b588652f58616eb2a8d7748ca88 (diff)
downloadpasst-85038e94104717f6c814756fbc798196e319b48f.tar
passt-85038e94104717f6c814756fbc798196e319b48f.tar.gz
passt-85038e94104717f6c814756fbc798196e319b48f.tar.bz2
passt-85038e94104717f6c814756fbc798196e319b48f.tar.lz
passt-85038e94104717f6c814756fbc798196e319b48f.tar.xz
passt-85038e94104717f6c814756fbc798196e319b48f.tar.zst
passt-85038e94104717f6c814756fbc798196e319b48f.zip
passt: Add clock_gettime to list of allowed syscalls
...depending on the system clock source, glibc might use it to fetch the wall time. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--passt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/passt.c b/passt.c
index 6878668..e88df72 100644
--- a/passt.c
+++ b/passt.c
@@ -277,6 +277,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:pasta rt_sigreturn
*/
int main(int argc, char **argv)