blob: fa806ef0e3e66abae678b70c4a04ac8eda299bf5 [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
read: 1
open: 1
stat64: 1
mmap2: 1
fstat64: 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