blob: a40eb566cd7ad3745521185bd0232e2cb6fbc233 [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 the syscalls used by the Synaptics touch FW
# updater tool rmi4update when flashing a new firmware onto a device. The
# same tool is used to query the FW version, but that requires less
# syscalls which are specified in a different policy file.
write: 1
read: 1
_newselect: 1
getdents: 1
close: 1
openat: 1
readlinkat: 1
ioctl: 1
open: 1
openat: 1
brk: 1
_llseek: 1
readlink: 1
inotify_init: 1
nanosleep: 1
inotify_add_watch: 1
restart_syscall: 1
exit: 1
uname: 1
mmap2: 1
munmap: 1
fstat64: 1
fcntl: 1
execve: 1
exit_group: 1
ARM_set_tls: 1
readlink: 1
clock_gettime: 1
getpid: 1