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