summaryrefslogtreecommitdiff
path: root/seccomp/cras-seccomp-arm.policy
blob: f917036f8b70496ae55998c08410ddeffe6f0678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Copyright 2018 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.

clock_gettime: 1
poll: 1
read: 1
ppoll: 1
write: 1
recv: 1
send: 1
recvmsg: 1
lstat64: 1
fstat64: 1
open: 1
openat: 1
close: 1
fcntl64: 1
readlinkat: 1
sendmsg: 1
access: 1
getrandom: 1
mmap2: 1
epoll_wait: 1
getsockopt: 1
accept: 1
stat64: 1
mprotect: 1
gettimeofday: 1
getdents64: 1
brk: 1
statfs: 1
readlink: 1
munmap: 1
rt_sigaction: 1
lgetxattr: 1
unlink: 1
lsetxattr: 1
rt_sigprocmask: 1
ftruncate: 1
futex: 1
execve: 1
set_robust_list: 1
socket: arg0 == AF_UNIX || arg0 == AF_BLUETOOTH || arg0 == AF_NETLINK
clone: 1
setsockopt: 1
geteuid32: 1
ugetrlimit: 1
uname: 1
connect: 1
bind: 1
_llseek: 1
getuid32: 1
getgid32: 1
getegid32: 1
pipe: 1
flock: 1
# set_tls: 1
set_tid_address: 1
exit_group: 1
getsockname: 1
getdents: 1
nanosleep: 1
epoll_ctl: 1
sched_setscheduler: 1
restart_syscall: 1
rt_sigreturn: 1
getresuid32: 1
exit: 1
prctl: arg0 == PR_SET_NAME
clock_getres: 1
epoll_create1: 1
fchmod: 1
setrlimit: 1
listen: 1
gettid: 1
sched_get_priority_min: 1
chmod: 1
madvise: 1
getresgid32: 1
pipe2: 1
sched_get_priority_max: 1
sysinfo: 1
flock: 1

# Allow ioctl command of type 'A' and 'U' for SNDRV_PCM_IOCTL_* and
# SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
# HCIGETDEVINFO
ioctl: arg1 in 0xffff41ff && arg1 & 0x00004100 || arg1 in 0xffff55ff && arg1 & 0x00005500 || arg1 == 0x8008451b || arg1 == 0x81004506 || arg1 == 0x80084525 || arg1 == 0x800448d3
getpid: 1
prlimit64: 1
tgkill: 1
mremap: 1
dup: 1