1# Copyright (C) 2017 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15read: 1
16mprotect: 1
17prctl: 1
18openat: 1
19open: 1
20getuid32: 1
21getuid: 1
22getrlimit: 1
23writev: 1
24ioctl: 1
25close: 1
26mmap2: 1
27mmap: 1
28fstat64: 1
29fstat: 1
30stat64: 1
31statfs64: 1
32madvise: 1
33fstatat64: 1
34newfstatat: 1
35futex: 1
36munmap: 1
37faccessat: 1
38_llseek: 1
39lseek: 1
40clone: 1
41sigaltstack: 1
42setpriority: 1
43restart_syscall: 1
44exit: 1
45exit_group: 1
46rt_sigreturn: 1
47ugetrlimit: 1
48readlink: 1
49readlinkat: 1
50_llseek: 1
51fstatfs64: 1
52fstatfs: 1
53pread64: 1
54mremap: 1
55dup: 1
56set_tid_address: 1
57write: 1
58nanosleep: 1
59sched_setscheduler: 1
60uname: 1
61memfd_create: 1
62ftruncate: 1
63ftruncate64: 1
64
65# Required by AddressSanitizer
66gettid: 1
67sched_yield: 1
68getpid: 1
69gettid: 1
70
71@include /system/etc/seccomp_policy/crash_dump.x86.policy
72@include /system/etc/seccomp_policy/code_coverage.x86.policy
73