Revert "Fix SELinux prop spoofing"

This reverts commit cd7249510d.
This commit is contained in:
chiteroman 2024-09-04 01:10:35 +02:00
parent eb1a06b475
commit 372112cd4d
No known key found for this signature in database

View File

@ -23,7 +23,9 @@ resetprop_if_match vendor.boot.mode recovery unknown
# Hiding SELinux | Permissive status
resetprop_if_diff ro.boot.selinux enforcing
resetprop_if_diff ro.build.selinux 1
if [ -n "$(resetprop ro.build.selinux)" ]; then
resetprop --delete ro.build.selinux
fi
# Hiding SELinux | Use toybox to protect *stat* access time reading
if [[ "$(toybox cat /sys/fs/selinux/enforce)" == "0" ]]; then