1049e185fSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 2049e185fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3049e185fSopenharmony_ci# you may not use this file except in compliance with the License. 4049e185fSopenharmony_ci# You may obtain a copy of the License at 5049e185fSopenharmony_ci# 6049e185fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7049e185fSopenharmony_ci# 8049e185fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9049e185fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10049e185fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11049e185fSopenharmony_ci# See the License for the specific language governing permissions and 12049e185fSopenharmony_ci# limitations under the License. 13049e185fSopenharmony_ci 14049e185fSopenharmony_ci# For now, it supports architechture of ['arm', 'arm64']. 15049e185fSopenharmony_ci 16049e185fSopenharmony_ci@returnValue 17049e185fSopenharmony_ciTRAP 18049e185fSopenharmony_ci 19049e185fSopenharmony_ci@allowList 20049e185fSopenharmony_cigetcwd;all 21049e185fSopenharmony_cieventfd2;all 22049e185fSopenharmony_ciepoll_create1;all 23049e185fSopenharmony_ciepoll_ctl;all 24049e185fSopenharmony_cidup;all 25049e185fSopenharmony_cidup3;arm64 26049e185fSopenharmony_cifcntl;arm64 27049e185fSopenharmony_ciioctl;all 28049e185fSopenharmony_cimkdirat;arm64 29049e185fSopenharmony_ciunlinkat;arm64 30049e185fSopenharmony_cistatfs;arm64 31049e185fSopenharmony_ciftruncate;arm64 32049e185fSopenharmony_cifaccessat;arm64 33049e185fSopenharmony_cifchmodat;arm64 34049e185fSopenharmony_ciopenat;all 35049e185fSopenharmony_ciclose;all 36049e185fSopenharmony_cipipe2;all 37049e185fSopenharmony_cigetdents64;all 38049e185fSopenharmony_cilseek;arm64 39049e185fSopenharmony_ciread;all 40049e185fSopenharmony_ciwrite;all 41049e185fSopenharmony_cireadv;all 42049e185fSopenharmony_ciwritev;all 43049e185fSopenharmony_cipread64;all 44049e185fSopenharmony_cipselect6;arm64 45049e185fSopenharmony_cippoll;all 46049e185fSopenharmony_cireadlinkat;all 47049e185fSopenharmony_cinewfstatat;arm64 48049e185fSopenharmony_cifstat;arm64 49049e185fSopenharmony_cicapget;all 50049e185fSopenharmony_cicapset;all 51049e185fSopenharmony_ciexit;all 52049e185fSopenharmony_ciexit_group;all 53049e185fSopenharmony_ciset_tid_address;all 54049e185fSopenharmony_cifutex;all 55049e185fSopenharmony_ciset_robust_list;arm64 56049e185fSopenharmony_cinanosleep;all 57049e185fSopenharmony_cisetitimer;all 58049e185fSopenharmony_ciclock_gettime;arm64 59049e185fSopenharmony_ciclock_nanosleep;all 60049e185fSopenharmony_ciptrace;all 61049e185fSopenharmony_cisched_setscheduler;all 62049e185fSopenharmony_cisched_getaffinity;all 63049e185fSopenharmony_cirestart_syscall;all 64049e185fSopenharmony_citkill;arm64 65049e185fSopenharmony_citgkill;all 66049e185fSopenharmony_cisigaltstack;all 67049e185fSopenharmony_cirt_sigsuspend;arm64 68049e185fSopenharmony_cirt_sigaction;all 69049e185fSopenharmony_cirt_sigprocmask;all 70049e185fSopenharmony_cirt_sigreturn;all 71049e185fSopenharmony_cisetuid;arm64 72049e185fSopenharmony_cigetpgid;all 73049e185fSopenharmony_cisetsid;all 74049e185fSopenharmony_ciuname;all 75049e185fSopenharmony_cigetrlimit;arm64 76049e185fSopenharmony_cigetrusage;arm64 77049e185fSopenharmony_ciumask;all 78049e185fSopenharmony_ciprctl;all 79049e185fSopenharmony_cigettimeofday;arm64 80049e185fSopenharmony_cimincore;all 81049e185fSopenharmony_cigetpid;all 82049e185fSopenharmony_cigetppid;all 83049e185fSopenharmony_cigetuid;arm64 84049e185fSopenharmony_cigeteuid;arm64 85049e185fSopenharmony_cigetgid;arm64 86049e185fSopenharmony_cigetegid;arm64 87049e185fSopenharmony_cigettid;all 88049e185fSopenharmony_cisysinfo;all 89049e185fSopenharmony_cisocket;all 90049e185fSopenharmony_cisocketpair;all 91049e185fSopenharmony_cibind;all 92049e185fSopenharmony_ciconnect;all 93049e185fSopenharmony_cigetsockname;all 94049e185fSopenharmony_cigetpeername;all 95049e185fSopenharmony_cisendto;all 96049e185fSopenharmony_cirecvfrom;all 97049e185fSopenharmony_cisetsockopt;all 98049e185fSopenharmony_cigetsockopt;all 99049e185fSopenharmony_cisendmsg;all 100049e185fSopenharmony_cirecvmsg;all 101049e185fSopenharmony_cibrk;all 102049e185fSopenharmony_cimunmap;all 103049e185fSopenharmony_cimremap;all 104049e185fSopenharmony_ciclone;all 105049e185fSopenharmony_ciexecve;all 106049e185fSopenharmony_cimmap;arm64 107049e185fSopenharmony_cimprotect;all 108049e185fSopenharmony_cimadvise;all 109049e185fSopenharmony_cirt_tgsigqueueinfo;all 110049e185fSopenharmony_ciwait4;all 111049e185fSopenharmony_ciprlimit64;all 112049e185fSopenharmony_cisched_setattr;all 113049e185fSopenharmony_cisched_getattr;all 114049e185fSopenharmony_cigetrandom;all 115049e185fSopenharmony_cimembarrier;all 116049e185fSopenharmony_cifork;arm 117049e185fSopenharmony_ciopen;arm 118049e185fSopenharmony_ciaccess;arm 119049e185fSopenharmony_cimkdir;arm 120049e185fSopenharmony_cipipe;arm 121049e185fSopenharmony_cidup2;arm 122049e185fSopenharmony_cireadlink;arm 123049e185fSopenharmony_cisigreturn;arm 124049e185fSopenharmony_ci_llseek;arm 125049e185fSopenharmony_cipoll;arm 126049e185fSopenharmony_cimmap2;arm 127049e185fSopenharmony_cifstat64;arm 128049e185fSopenharmony_cigetuid32;arm 129049e185fSopenharmony_cigetgid32;arm 130049e185fSopenharmony_cigeteuid32;arm 131049e185fSopenharmony_cigetegid32;arm 132049e185fSopenharmony_cisetuid32;arm 133049e185fSopenharmony_cifcntl64;arm 134049e185fSopenharmony_cistatfs64;arm 135049e185fSopenharmony_cifstatat64;arm 136049e185fSopenharmony_cistatx;arm 137049e185fSopenharmony_ciclock_gettime64;arm 138049e185fSopenharmony_ciset_tls;arm 139049e185fSopenharmony_cisetpriority;all 140049e185fSopenharmony_cisched_yield;all 141049e185fSopenharmony_ci_newselect;arm 142049e185fSopenharmony_cifsync;all 143049e185fSopenharmony_cimsync;all 144049e185fSopenharmony_ciprocess_vm_readv;all 145049e185fSopenharmony_cishutdown;all 146049e185fSopenharmony_cifgetxattr;all 147049e185fSopenharmony_ciepoll_pwait;all 148049e185fSopenharmony_citimerfd_create;all 149049e185fSopenharmony_citimerfd_settime;all 150049e185fSopenharmony_cifchown;all