• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14# For now, it supports architechture of ['arm', 'arm64'].
15
16@returnValue
17TRAP
18
19@allowList
20timer_create;all
21timer_settime;all
22timer_delete;all
23getcwd;all
24eventfd2;all
25epoll_create1;all
26epoll_ctl;all
27dup;all
28dup3;arm64
29fcntl;arm64
30ioctl;all
31mkdirat;arm64
32unlinkat;arm64
33statfs;arm64
34ftruncate;arm64
35faccessat;arm64
36fchmodat;arm64
37openat;all
38close;all
39pipe2;all
40getdents64;all
41lseek;arm64
42read;all
43write;all
44readv;all
45writev;all
46pread64;all
47pselect6;arm64
48ppoll;all
49readlinkat;all
50newfstatat;arm64
51fstat;arm64
52capget;all
53capset;all
54exit;all
55exit_group;all
56set_tid_address;all
57futex;all
58set_robust_list;arm64
59nanosleep;all
60setitimer;all
61clock_gettime;arm64
62clock_nanosleep;all
63ptrace;all
64sched_setscheduler;all
65sched_getaffinity;all
66restart_syscall;all
67tkill;arm64
68tgkill;all
69sigaltstack;all
70rt_sigsuspend;arm64
71rt_sigaction;all
72rt_sigprocmask;all
73rt_sigreturn;all
74setuid;arm64
75getpgid;all
76setsid;all
77uname;all
78getrlimit;arm64
79getrusage;arm64
80umask;all
81prctl;all
82gettimeofday;arm64
83mincore;all
84getpid;all
85getppid;all
86getuid;arm64
87geteuid;arm64
88getgid;arm64
89getegid;arm64
90gettid;all
91sysinfo;all
92socket;all
93socketpair;all
94bind;all
95connect;all
96getsockname;all
97getpeername;all
98sendto;all
99recvfrom;all
100setsockopt;all
101getsockopt;all
102sendmsg;all
103recvmsg;all
104brk;all
105munmap;all
106mremap;all
107clone;all
108execve;all
109mmap;arm64
110mprotect;all
111madvise;all
112rt_tgsigqueueinfo;all
113wait4;all
114prlimit64;all
115sched_setattr;all
116sched_getattr;all
117getrandom;all
118membarrier;all
119fork;arm
120open;arm
121access;arm
122mkdir;arm
123pipe;arm
124dup2;arm
125readlink;arm
126sigreturn;arm
127_llseek;arm
128poll;arm
129mmap2;arm
130fstat64;arm
131getuid32;arm
132getgid32;arm
133geteuid32;arm
134getegid32;arm
135setuid32;arm
136fcntl64;arm
137statfs64;arm
138fstatat64;arm
139statx;arm
140clock_gettime64;arm
141set_tls;arm
142setpriority;all
143sched_yield;all
144_newselect;arm
145fsync;all
146msync;all
147process_vm_readv;all
148shutdown;all
149fgetxattr;all
150epoll_pwait;all
151timerfd_create;all
152timerfd_settime;all
153fchown;all
154sched_getscheduler;all
155memfd_create;all
156getgroups;arm64
157getgroups32;arm