Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11a9c2c7 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Update neverallow rules for init_first_stage

We are introducing Microdroid-specific variant of the init_first_stage,
and need to add init_first_stage_defaults and
init_first_stage.microdroid to the neverallow rule.

Bug: 287206497
Test: build com.android.virt APEX
Change-Id: I88543256ab0479d4676865ebb1d16d9d39f1f455
parent df9c3441
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -239,7 +239,9 @@ func createUncompressDexRules() []Rule {
func createInitFirstStageRules() []Rule {
	return []Rule{
		NeverAllow().
			Without("name", "init_first_stage_defaults").
			Without("name", "init_first_stage").
			Without("name", "init_first_stage.microdroid").
			With("install_in_root", "true").
			Because("install_in_root is only for init_first_stage."),
	}