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
21writev: 1
22ioctl: 1
23close: 1
24mmap2: 1
25fstat64: 1
26stat64: 1
27madvise: 1
28fstatat64: 1
29futex: 1
30munmap: 1
31faccessat: 1
32_llseek: 1
33lseek: 1
34clone: 1
35sigaltstack: 1
36setpriority: 1
37restart_syscall: 1
38exit: 1
39exit_group: 1
40rt_sigreturn: 1
41ugetrlimit: 1
42readlinkat: 1
43_llseek: 1
44fstatfs64: 1
45pread64: 1
46mremap: 1
47dup: 1
48set_tid_address: 1
49write: 1
50nanosleep: 1
51
52# Required by AddressSanitizer
53gettid: 1
54sched_yield: 1
55getpid: 1
56gettid: 1
57
58@include /system/etc/seccomp_policy/crash_dump.x86.policy
59