Commit 9a149311 authored by topjohnwu's avatar topjohnwu

Update rules

parent 6900c197
...@@ -265,6 +265,9 @@ void su_rules() { ...@@ -265,6 +265,9 @@ void su_rules() {
enforce("su_device"); enforce("su_device");
enforce("su_daemon"); enforce("su_daemon");
// Patch su to everything
allow("su", ALL, ALL, ALL);
// Autotransition su's socket to su_device // Autotransition su's socket to su_device
add_transition("su_daemon", "device", "su_device", "file"); add_transition("su_daemon", "device", "su_device", "file");
add_transition("su_daemon", "device", "su_device", "dir"); add_transition("su_daemon", "device", "su_device", "dir");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment