• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
30stat: 1
31stat64: 1
32statfs64: 1
33madvise: 1
34fstatat64: 1
35newfstatat: 1
36futex: 1
37munmap: 1
38faccessat: 1
39_llseek: 1
40lseek: 1
41clone: 1
42sigaltstack: 1
43setpriority: 1
44restart_syscall: 1
45exit: 1
46exit_group: 1
47rt_sigreturn: 1
48ugetrlimit: 1
49readlink: 1
50readlinkat: 1
51_llseek: 1
52fstatfs64: 1
53fstatfs: 1
54pread64: 1
55mremap: 1
56dup: 1
57set_tid_address: 1
58write: 1
59nanosleep: 1
60sched_setscheduler: 1
61uname: 1
62memfd_create: 1
63ftruncate: 1
64ftruncate64: 1
65
66# Required by AddressSanitizer
67gettid: 1
68sched_yield: 1
69getpid: 1
70gettid: 1
71
72@include /system/etc/seccomp_policy/crash_dump.x86.policy
73@include /system/etc/seccomp_policy/code_coverage.x86.policy
74