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