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