Skip to content

Commit

Permalink
Enforce stricter selinux rules
Browse files Browse the repository at this point in the history
  • Loading branch information
canyie committed Feb 5, 2024
1 parent 7ba6eeb commit a23eb6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions template/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ MODDIR=${0%/*}

[ -f "${MODDIR}/sepolicy.rule" ] && exit 0

magiskpolicy --live "allow system_server system_server process { execmem }" \
"allow system_server apk_data_file file *" \
"allow system_server app_data_file file *"
magiskpolicy --live "allow system_server system_server process { execmem }"
2 changes: 0 additions & 2 deletions template/sepolicy.rule
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
allow system_server system_server process { execmem }
allow system_server apk_data_file file *
allow system_server app_data_file file *

0 comments on commit a23eb6f

Please sign in to comment.