Skip to content
Snippets Groups Projects
Commit 6bde9cf6 authored by David Anderson's avatar David Anderson
Browse files

Allow init to symlink userdata during first stage mounting.

In order to boot into GSI, we need init's first-stage block-device
machinery to find userdata. This will create its symlink before sepolicy
is loaded, leading to denials in the second stage.

Bug: 121209697
Test: device boots
Change-Id: Ibf3398c811016e09747116cf17393e8d22541bb2
parent f0264fe2
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ allow init {
misc_block_device
recovery_block_device
system_block_device
userdata_block_device
}:{ blk_file lnk_file } relabelto;
# setrlimit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment