mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-08 01:08:05 -04:00
universal7570: seccomp: Update for exynos 7570
Change-Id: I79681f70e7c56bff6081a4fd81d2a7ad1cdb5081
This commit is contained in:
parent
1a613d0e2d
commit
926337f331
6 changed files with 180 additions and 6 deletions
52
seccomp/mediaextractor.policy
Normal file
52
seccomp/mediaextractor.policy
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Organized by frequency of systemcall - in descending order for
|
||||
# best performance.
|
||||
ioctl: 1
|
||||
futex: 1
|
||||
prctl: 1
|
||||
write: 1
|
||||
getpriority: 1
|
||||
mmap2: 1
|
||||
close: 1
|
||||
munmap: 1
|
||||
dup: 1
|
||||
mprotect: 1
|
||||
getuid32: 1
|
||||
setpriority: 1
|
||||
sigaltstack: 1
|
||||
openat: 1
|
||||
open: 1
|
||||
clone: 1
|
||||
read: 1
|
||||
clock_gettime: 1
|
||||
lseek: 1
|
||||
writev: 1
|
||||
fstatat64: 1
|
||||
fstatfs64: 1
|
||||
fstat64: 1
|
||||
restart_syscall: 1
|
||||
exit: 1
|
||||
exit_group: 1
|
||||
rt_sigreturn: 1
|
||||
faccessat: 1
|
||||
madvise: 1
|
||||
brk: 1
|
||||
sched_setscheduler: 1
|
||||
gettid: 1
|
||||
rt_sigprocmask: 1
|
||||
sched_yield: 1
|
||||
ugetrlimit: 1
|
||||
geteuid32: 1
|
||||
getgid32: 1
|
||||
getegid32: 1
|
||||
getgroups32: 1
|
||||
nanosleep: 1
|
||||
getrandom: 1
|
||||
|
||||
# for dynamically loading extractors
|
||||
pread64: 1
|
||||
|
||||
# for FileSource
|
||||
readlinkat: 1
|
||||
_llseek: 1
|
||||
|
||||
@include /system/etc/seccomp_policy/crash_dump.arm.policy
|
Loading…
Add table
Add a link
Reference in a new issue