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 time: 1 29 30 epoll_create: 1 31 epoll_create1: 1 32 epoll_wait: 1 33 epoll_pwait: 1 34 epoll_ctl: 1 35 poll: 1 36 37 openat: 1 38 read: 1 39 write: 1 40 writev: 1 41 close: 1 42 fstat: 1 43 stat: 1 44 lseek: 1 45 fcntl: 1 46 readlinkat: 1 47 faccessat: 1 48 pipe2: 1 49 socket: 1 50 connect: 1 51 52 futex: 1 53 54 restart_syscall: 1 55 exit: 1 56 exit_group: 1 57 rt_sigaction: 1 58 rt_sigreturn: 1 59 sigaltstack: 1 60 personality: 1 61 62 brk: 1 63 mmap: 1 64 munmap: 1 65 madvise: 1 66 67 # Allow thread creation. 68 mprotect: 1 69 clone: 1 70 set_robust_list: 1 71 # This is attempted but apparently not necessary; return EPERM. 72 prctl: return 1 73 set_thread_area: 1 74 gettid: 1 75 set_tid_address: 1 76 77 rt_sigprocmask: 1 78 signalfd4: 1 79 ioctl: 1 80 getpriority: 1 81 exit: 1 82 exit_group: 1 83 chdir: 1 84