Skip to content

Commit

Permalink
sepolicy: debugfs guarded and disabled on user builds
Browse files Browse the repository at this point in the history
Following
LineageOS/android_device_qcom_sepolicy@fc9b1c6,
debugfs is now guarded by PRODUCT_SET_DEBUGFS_RESTRICTIONS and disabled
on user builds.
  • Loading branch information
vincentvidal authored and derfelot committed Jul 29, 2023
1 parent 834a6cb commit bde1cc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sepolicy/vendor/kernel.te
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
allow kernel proc_cmdline:file r_file_perms;

# /sys/kernel/debug/ipc_logging
allow kernel qti_debugfs:dir r_dir_perms;
no_debugfs_restriction(`
userdebug_or_eng(`
allow kernel qti_debugfs:dir r_dir_perms;
')
')

0 comments on commit bde1cc1

Please sign in to comment.