1 # 2 # Copyright (C) 2015 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 # Tested on link 18 gettid: 1 19 getuid: 1 20 geteuid: 1 21 getgid: 1 22 getegid: 1 23 getresuid: 1 24 getresgid: 1 25 26 clock_getres: 1 27 clock_gettime: 1 28 gettimeofday: 1 29 time: 1 30 31 socket: 1 32 socketpair: 1 33 connect: 1 34 getsockname: 1 35 pipe: 1 36 sendmsg: 1 37 sendto: 1 38 recvmsg: 1 39 recvfrom: 1 40 41 epoll_create: 1 42 epoll_wait: 1 43 epoll_ctl: 1 44 poll: 1 45 46 open: 1 47 read: 1 48 write: 1 49 close: 1 50 51 inotify_init: 1 52 inotify_add_watch: 1 53 inotify_rm_watch: 1 54 select: 1 55 56 fstat: 1 57 stat: 1 58 lseek: 1 59 lstat: 1 60 fcntl: 1 61 62 futex: 1 63 set_robust_list: 1 64 restart_syscall: 1 65 exit: 1 66 exit_group: 1 67 rt_sigreturn: 1 68 rt_sigprocmask: 1 69 signalfd4: 1 70 71 brk: 1 72 mmap: 1 73 madvise: 1 74 mprotect: 1 75 munmap: 1 76 77 clone: 1 78 # These calls are attempted but apparently not necessary; return EPERM 79 prctl: return 1 80 ioctl: return 1 81