Disable build-time debugfs restrictions on GSI builds

These restrictions enable macros that disable sepolicy access to debugfs
for unauthorized clients on S-launching devices. However, since the
Android S GSI build must also be fully functional on earlier devices
that could have possibly depended on debugfs, disable the build-time
restrictions on GSI builds.

Bug: 184381659
Test: make
Change-Id: I583693df5c30d9bab28f76a6c1e4e9db8e5fd89f
Merged-In: I583693df5c30d9bab28f76a6c1e4e9db8e5fd89f
This commit is contained in:
Hridya Valsaraju 2021-06-14 13:59:07 -07:00
parent 0e06c113f0
commit dbc00eb135

View file

@ -42,6 +42,9 @@ PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
# Disable the build-time debugfs restrictions on GSI builds
PRODUCT_SET_DEBUGFS_RESTRICTIONS := false
# GSI targets should install "unflattened" APEXes in /system
TARGET_FLATTEN_APEX := false