blob: 5d16c64883bdddbfad05dc0406f34e31b6071e75 [file] [edit]
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file lists out the seccomp policy for allowed syscalls for
# WebPlatformHandwritingModel.
brk: 1
clock_gettime: 1
close: 1
epoll_ctl: 1
epoll_pwait: 1
eventfd2: 1
exit_group: 1
flock: 1
fstatfs: 1
futex: 1
getcpu: 1
getpid: 1
getrandom: arg2 in ~GRND_RANDOM
gettid: 1
gettimeofday: 1
lseek: 1
memfd_create: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
newfstatat: 1
openat: 1
process_vm_readv: 1
read: 1
recvmsg: 1
rt_sigprocmask: 1
sched_getaffinity: 1
sched_getscheduler: 1
sendto: 1
sysinfo: 1
uname: 1
write: 1