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