blob: 86877bd7b04718a84b2e36eda1216a7937217592 [file] [log] [blame]
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO: replace "ioctl: 1" with arg1 list when seccomp support bytecode filter.
# Because we encode buffer size in the arg1, so it's hard to list all the arg
# values use in the updater code, you can fix it in the future.
# All the values of arg1 are generate by macros HIDIOCSFEATURE(size) and
# HIDIOCGFEATURE(size) defined at linux/hidraw.h.
ioctl: 1
clock_nanosleep: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
openat: 1
newfstatat: 1
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
close: 1
read: 1
brk: 1
fstatfs: 1
lseek: 1
execve: 1
faccessat: 1
set_tid_address: 1
set_robust_list: 1
rseq: 1
prlimit64: 1
getrandom: 1
exit_group: 1
restart_syscall: 1
exit: 1
rt_sigreturn: 1
gettid: 1