android_device_oneplus_dre/seccomp/qspm.policy
LuK1337 5e1e5980eb sm8250-common: Import seccomp policy
Change-Id: I37ce3ffb096b18e08f994d0dc327456f850e35eb
2021-01-06 18:47:30 +01:00

78 lines
1.5 KiB
Text

# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ioctl: 1
futex: 1
openat: 1
getuid: 1
writev: 1
newfstatat: 1
fstat: 1
rt_sigaction: 1
prctl: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
close: 1
rt_sigreturn: 1
restart_syscall: 1
exit: 1
exit_group: 1
mprotect: 1
faccessat: 1
getrlimit: 1
read: 1
lseek: 1
getdents64: 1
write: 1
readlinkat: 1
fstatfs: 1
pread64: 1
munmap: 1
mremap: 1
dup: 1
renameat: 1
unlinkat: 1
madvise: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
fstat: 1
clock_gettime: 1
socket: arg0 == AF_UNIX
rt_sigprocmask: 1
connect: 1
getrandom: 1
fcntl: 1
execve: 1
getpid: 1
set_tid_address: 1
sched_getscheduler: 1
sigaltstack: 1
sched_getaffinity: 1
pipe2: 1
# crash dump policy additions
sigreturn: 1
gettid: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_tgsigqueueinfo: 1
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1