diff --git a/parser/mount.cc b/parser/mount.cc index c7f11f4aa..8f8092adb 100644 --- a/parser/mount.cc +++ b/parser/mount.cc @@ -1166,21 +1166,7 @@ fail: void mnt_rule::post_parse_profile(Profile &prof) { if (trans) { - perm32_t perms = 0; - int n = add_entry_to_x_table(&prof, trans); - if (!n) { - PERROR("Profile %s has too many specified profile transitions.\n", prof.name); - exit(1); - } - - if (perms & AA_USER_EXEC) - perms |= SHIFT_PERMS(n << 10, AA_USER_SHIFT); - if (perms & AA_OTHER_EXEC) - perms |= SHIFT_PERMS(n << 10, AA_OTHER_SHIFT); - perms = ((perms & ~AA_ALL_EXEC_MODIFIERS) | - (perms & AA_ALL_EXEC_MODIFIERS)); - - trans = NULL; + /* TODO: pivot_root profile transition */ } }