mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-18 19:12:38 +02:00
Merge pull request #405 from salvogiangri/main
Fix SELinux prop spoofing
This commit is contained in:
commit
c671450d12
@ -23,9 +23,7 @@ resetprop_if_match vendor.boot.mode recovery unknown
|
|||||||
|
|
||||||
# Hiding SELinux | Permissive status
|
# Hiding SELinux | Permissive status
|
||||||
resetprop_if_diff ro.boot.selinux enforcing
|
resetprop_if_diff ro.boot.selinux enforcing
|
||||||
if [ -n "$(resetprop ro.build.selinux)" ]; then
|
resetprop_if_diff ro.build.selinux 1
|
||||||
resetprop --delete ro.build.selinux
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Hiding SELinux | Use toybox to protect *stat* access time reading
|
# Hiding SELinux | Use toybox to protect *stat* access time reading
|
||||||
if [[ "$(toybox cat /sys/fs/selinux/enforce)" == "0" ]]; then
|
if [[ "$(toybox cat /sys/fs/selinux/enforce)" == "0" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user