1
0
mirror of https://passt.top/passt synced 2024-09-30 19:15:47 +00:00

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>
This commit is contained in:
Stefano Brivio 2021-10-16 16:54:23 +02:00
parent 2c7d1ce088
commit 85038e9410

View File

@ -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)