Home | History | Annotate | Download | only in shims
      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 exit: 1
     17 read: 1
     18 # open: return EPERM
     19 open: return 1
     20 close: 1
     21 # execve: return EPERM
     22 execve: return 1
     23 time: 1
     24 lseek: 1
     25 access: 1
     26 brk: 1
     27 # ioctl: arg1 == SIOCGIFNAME || arg1 == SIOCGIFNETMASK
     28 ioctl: arg1 == 0x8910 || arg1 == 0x891b
     29 getrlimit: 1
     30 mmap: 1
     31 munmap: 1
     32 uname: 1
     33 mprotect: 1
     34 bind: 1
     35 connect: 1
     36 getsockname: 1
     37 recv: 1
     38 recvfrom: 1
     39 send: 1
     40 sendto: 1
     41 # socket: arg0 == PF_LOCAL || arg0 == PF_INET || arg0 == PF_NETLINK
     42 socket: arg0 == 1 || arg0 == 2 || arg0 == 16
     43 rt_sigreturn: 1
     44 rt_sigaction: 1
     45 rt_sigprocmask: 1
     46 fstat64: 1
     47 fcntl64: 1
     48 futex: 1
     49 exit_group: 1
     50 set_tid_address: 1
     51 restart_syscall: 1
     52 set_thread_area: 1
     53 set_robust_list: 1
     54 sendmsg: 1
     55