blob: 848873adf22cd21dbe36b015e4ded896d3d19398 [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# 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.
_llseek: 1
brk: 1
clock_gettime64: 1
clock_gettime: 1
close: 1
epoll_create1: 1
epoll_ctl: 1
epoll_wait: 1
eventfd2: 1
exit_group: 1
fcntl64: 1
flock: 1
fstat64: 1
fstatfs64: 1
fstatfs: 1
futex: 1
getegid32: 1
geteuid32: 1
getgid32: 1
getpid: 1
getrandom: 1
gettid: 1
getuid32: 1
ioctl: arg1 == TCGETS
memfd_create: 1
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
openat: 1
pipe2: 1
read: 1
recvmsg: 1
rt_sigprocmask: 1
send: 1
socket: arg0 == AF_UNIX
write: 1