-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure seccomp_policy for android O
- Loading branch information
1 parent
8ab76a4
commit ef85ab7
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Seccomp policy | ||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/seccomp_policy/mediacodec.policy:system/vendor/etc/seccomp_policy/mediacodec.policy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# device specific syscalls | ||
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy | ||
pselect6: 1 | ||
eventfd2: 1 | ||
sendto: 1 | ||
recvfrom: 1 | ||
_llseek: 1 | ||
sysinfo: 1 | ||
getcwd: 1 | ||
getdents64: 1 | ||
inotify_init1: 1 | ||
inotify_add_watch: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# device specific syscalls. | ||
# extension of services/mediaextractor/minijail/seccomp_policy/mediaextractor-seccomp-arm.policy | ||
readlinkat: 1 | ||
pread64: 1 |