blob: c8f49d8326a9232331c6c2073567969b00556fcf [file] [log] [blame]
# Copyright 2018 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.
# These seccomp rules specify only the syscalls used by the SiS FW updater
# tool. The updater tool SiSUpdateFW should only be used through
# minijail with these rules.
ioctl: 1
write: 1
read: 1
select: 1
mmap: 1
brk: 1
fstat: 1
lseek: 1
open: 1
openat: 1
nanosleep: 1
rt_sigaction: 1
close: 1
restart_syscall: 1
exit: 1
rt_sigreturn: 1
uname: 1
exit_group: 1
rt_sigprocmask: 1
arch_prctl: 1
getrlimit: 1
munmap: 1
set_robust_list: 1
readlink: 1
execve: 1
set_tid_address: 1
time: 1
futex: 1
getpid: 1
prlimit64: arg2 == 0 && arg3 != 0