Skip to content

Commit

Permalink
Revert "Fix SELinux prop spoofing"
Browse files Browse the repository at this point in the history
This reverts commit cd72495.
  • Loading branch information
chiteroman committed Sep 3, 2024
1 parent eb1a06b commit 372112c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 372112c

Please sign in to comment.