blob: 92587bd52074fb7bb236f3e7d28a3a059dcc05ab [file] [log] [blame] [edit]
# Copyright 2025 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Policy file for Paradetech touchscreen tools.
# It is used to update firmware.
rseq: 1
brk: 1
clock_nanosleep: 1
# pthread_create() function is used to capture data of hidraw node,
# it's necessary for basic communication
clone: 1
close: 1
dup: 1
dup3: 1
exit: 1
exit_group: 1
faccessat: 1
fstat: 1
fstatfs: 1
futex: 1
getrandom: arg2 in ~GRND_RANDOM
# ioctl:
# TCGETS: 0x5401
# HIDIOCGRDESCSIZE: 0x80044801
# HIDIOCGRAWINFO: 0x80084803
ioctl: arg1 == 0x5401 || arg1 == 0x80084803 || arg1 == 0x80044801
lseek: 1
madvise: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
newfstatat: 1
openat: 1
pipe2: 1
prlimit64: 1
pselect6: 1
read: 1
restart_syscall: 1
rt_sigaction: 1
rt_sigprocmask: 1
rt_sigreturn: 1
set_robust_list: 1
set_tid_address: 1
write: 1