Do not auto transit

This commit is contained in:
topjohnwu 2017-04-17 16:30:58 +08:00
parent e99185f011
commit 7f6cd5e469

View File

@ -191,10 +191,6 @@ void sepol_min_rules() {
sepol_allow("su", "su", "fifo_file", ALL);
sepol_allow("su", "su", "lnk_file", ALL);
sepol_allow("su", "su", "dir", ALL);
// Autotransition su socket to su_device
sepol_typetrans("su", "device", "file", "su_device", NULL);
sepol_typetrans("su", "device", "dir", "su_device", NULL);
sepol_allow("su_device", "tmpfs", "filesystem", "associate");
// For sepolicy live patching