From 75d0b33d0fd8a1ca3746a641c144f185598da9b3 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 17 Nov 2021 08:55:35 +0100 Subject: [PATCH] mkdir /metadata/sepolicy Test: make -j; launch_cvd; adb shell ls -laZ /metadata/sepolicy Bug: 199914227 Change-Id: I005d3eee0e047da9a7f671e87a0274fedaf59447 --- rootdir/init.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 27fa05951..2589619ea 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -583,6 +583,7 @@ on post-fs restorecon_recursive /metadata/apex mkdir /metadata/staged-install 0770 root system + mkdir /metadata/sepolicy 0700 root root on late-fs # Ensure that tracefs has the correct permissions. # This does not work correctly if it is called in post-fs.