1 # 2 # Copyright (C) 2014 The Android Open Source Project 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 17 gettid: 1 18 getuid: 1 19 geteuid: 1 20 getgid: 1 21 getegid: 1 22 getresuid: 1 23 getresgid: 1 24 25 clock_getres: 1 26 clock_gettime: 1 27 gettimeofday: 1 28 29 epoll_create1: 1 30 epoll_pwait: 1 31 epoll_ctl: 1 32 33 openat: 1 34 read: 1 35 write: 1 36 writev: 1 37 close: 1 38 fstat: 1 39 lseek: 1 40 fcntl: 1 41 readlinkat: 1 42 faccessat: 1 43 pipe2: 1 44 socket: 1 45 connect: 1 46 sendto: 1 47 48 futex: 1 49 50 restart_syscall: 1 51 exit: 1 52 exit_group: 1 53 rt_sigreturn: 1 54 sigaltstack: 1 55 personality: 1 56 57 brk: 1 58 mmap: 1 59 munmap: 1 60 madvise: 1 61 62 # Allow thread creation. 63 mprotect: 1 64 clone: 1 65 set_robust_list: 1 66 # This is attempted but apparently not necessary; return EPERM. 67 prctl: return 1 68 gettid: 1 69 set_tid_address: 1 70 71 rt_sigprocmask: 1 72 signalfd4: 1 73 ioctl: 1 74 getpriority: 1 75 exit: 1 76 exit_group: 1 77 chdir: 1 78