Skip to content

Commit

Permalink
kernel: Add init selinux rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Jan 15, 2024
1 parent 653225b commit e934bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/selinux/rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ void apply_kernelsu_rules()
ksu_allow(db, "kernel", "system_data_file", "dir", ALL);
// our ksud triggered by init
ksu_allow(db, "init", "adb_data_file", "file", ALL);
ksu_allow(db, "init", "adb_data_file", "dir", ALL); // #1289
ksu_allow(db, "init", KERNEL_SU_DOMAIN, ALL, ALL);
// we need to umount modules in zygote
ksu_allow(db, "zygote", "adb_data_file", "dir", "search");
Expand Down

0 comments on commit e934bfb

Please sign in to comment.