blob: 4bcc077ce8c90dfdf14e5d695f0f2e327379710b [file] [log] [blame]
bohue5f21fc2017-12-15 11:20:58 -08001# 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
bohu2be6d9d2018-03-13 14:32:25 -070019open: 1
bohue5f21fc2017-12-15 11:20:58 -080020getuid32: 1
bohu30c15dc2019-01-25 13:06:05 -080021getuid: 1
22getrlimit: 1
bohue5f21fc2017-12-15 11:20:58 -080023writev: 1
24ioctl: 1
25close: 1
26mmap2: 1
bohu30c15dc2019-01-25 13:06:05 -080027mmap: 1
bohue5f21fc2017-12-15 11:20:58 -080028fstat64: 1
bohud239aa62019-02-02 07:47:42 -080029fstat: 1
Cindy Zhou947f0a42021-01-06 16:49:58 -080030stat: 1
bohu2be6d9d2018-03-13 14:32:25 -070031stat64: 1
Hirokazu Honda61811a62018-07-17 10:12:44 +090032statfs64: 1
bohue5f21fc2017-12-15 11:20:58 -080033madvise: 1
34fstatat64: 1
bohu30c15dc2019-01-25 13:06:05 -080035newfstatat: 1
bohue5f21fc2017-12-15 11:20:58 -080036futex: 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
Chong Zhangdda6ed12019-04-11 10:29:09 -070049readlink: 1
bohue5f21fc2017-12-15 11:20:58 -080050readlinkat: 1
51_llseek: 1
52fstatfs64: 1
bohud239aa62019-02-02 07:47:42 -080053fstatfs: 1
bohue5f21fc2017-12-15 11:20:58 -080054pread64: 1
55mremap: 1
56dup: 1
57set_tid_address: 1
58write: 1
59nanosleep: 1
Hirokazu Hondaba6a4c22018-08-22 19:09:10 +090060sched_setscheduler: 1
61uname: 1
Joel Fernandes3c493472018-12-22 18:11:34 -080062memfd_create: 1
63ftruncate: 1
64ftruncate64: 1
bohue5f21fc2017-12-15 11:20:58 -080065
bohue5f21fc2017-12-15 11:20:58 -080066# Required by AddressSanitizer
67gettid: 1
68sched_yield: 1
69getpid: 1
70gettid: 1
Josh Gaoebb21792018-01-24 16:37:16 -080071
72@include /system/etc/seccomp_policy/crash_dump.x86.policy
Ray Essick0ad729e2019-11-05 15:07:27 -080073@include /system/etc/seccomp_policy/code_coverage.x86.policy