blob: 7d99c01532a932d9f67beaf4e4b8d89d6aece307 [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
# SodaModel on 32-bit ARM.
_llseek: 1
access: 1
ARM_set_tls: 1
brk: 1
clock_gettime64: 1
clock_gettime: 1
clone: 1
close: 1
epoll_create1: 1
epoll_ctl: 1
epoll_wait: 1
execve: 1
exit: 1
exit_group: 1
fcntl64: 1
flock: 1
fstat64: 1
futex: 1
getdents64: 1
getegid32: 1
geteuid32: 1
getgid32: 1
getpid: 1
getpriority: 1
getrandom: 1
gettid: 1
getuid32: 1
ioctl: arg1 == TCGETS
lstat64: 1
madvise: 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
readlink: 1
recvmsg: 1
restart_syscall: 1
rt_sigaction: 1
rt_sigprocmask: 1
rt_sigreturn: 1
sched_getparam: 1
sched_getscheduler: 1
sched_yield: 1
send: 1
set_robust_list: 1
set_tid_address: 1
stat64: 1
ugetrlimit: 1
uname: 1
unshare: 1
write: 1