blob: af833fc158dcedaa7149fe1d51446d2352cbbe00 [file] [log] [blame]
# Copyright 2016 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 Wacom FW updater
# tool. The updater wacom_flash should only be used through minijail with
# these rules.
write: 1
nanosleep: 1
clock_gettime: 1
clock_nanosleep: 1
clock_nanosleep_time64: 1
read: 1
open: 1
openat: 1
stat64: 1
statx: 1
mmap2: 1
fstat64: 1
fstatat64: 1
mprotect: 1
close: 1
ioctl: arg1 == 0x706 || arg1 == 0x707
brk: 1
munmap: 1
restart_syscall: 1
exit: 1
rt_sigreturn: 1
access: 1
exit_group: 1
ARM_set_tls: 1
uname: 1
execve: 1
_llseek: 1
getpid: 1