summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2021-02-24 11:34:08 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-24 11:36:59 -0800
commit055073f11813a7b675cb19aa6c540a667cd746a5 (patch)
tree9723f7c65906d15fc219c388a63a2e3c6404a354 /runsc/boot
parentacd516cfe2920006a5d2760c78bd2245d498023a (diff)
runsc/filters: permit clock_nanosleep for race
Syzkaller hosts contains many audit messages that runsc tries to call the clock_nanosleep syscall. PiperOrigin-RevId: 359331413
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/filter/extra_filters_race.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/boot/filter/extra_filters_race.go b/runsc/boot/filter/extra_filters_race.go
index 9ff80276a..5b99eb8cd 100644
--- a/runsc/boot/filter/extra_filters_race.go
+++ b/runsc/boot/filter/extra_filters_race.go
@@ -27,6 +27,7 @@ func instrumentationFilters() seccomp.SyscallRules {
Report("TSAN is enabled: syscall filters less restrictive!")
return seccomp.SyscallRules{
syscall.SYS_BRK: {},
+ syscall.SYS_CLOCK_NANOSLEEP: {},
syscall.SYS_CLONE: {},
syscall.SYS_FUTEX: {},
syscall.SYS_MMAP: {},