From b23f71d97d39751c23b923a935635fdbcdab15c8 Mon Sep 17 00:00:00 2001
From: Jiyong Park <jiyong@google.com>
Date: Fri, 16 Nov 2018 18:24:46 +0900
Subject: [PATCH] Set filecontext for the test apex

Label the surfaceflinger binary as surfaceflinger_exec

Test: m apex.test; m; device is bootable

Change-Id: I22297ba514f7ba298a1d0d4b476a447f26e48078
---
 apex/apex.test-file_contexts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apex/apex.test-file_contexts b/apex/apex.test-file_contexts
index bd71a2ac8..3dffd86d5 100644
--- a/apex/apex.test-file_contexts
+++ b/apex/apex.test-file_contexts
@@ -1,2 +1,3 @@
 /manifest\.json   u:object_r:system_file:s0
 (/.*)?            u:object_r:system_file:s0
+/bin/surfaceflinger u:object_r:surfaceflinger_exec:s0
-- 
GitLab