From d711d4d20b7c6d2161c4455abb5183e7723252a4 Mon Sep 17 00:00:00 2001 From: Tom Cherry <tomcherry@google.com> Date: Thu, 4 Jan 2018 13:04:47 -0800 Subject: [PATCH] Add /system/bin/getprop as toolbox_exec getprop is broken out from toolbox/toybox, however its permissions should remain the same, so label it appropriately. Bug: 36001741 Test: boot bullhead with the new getprop Change-Id: I4114ea21998da95173d882038bc6aebf39b64d7f --- private/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/private/file_contexts b/private/file_contexts index 0765ef0b4..2a66cbfe0 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -187,6 +187,7 @@ /system/bin/tune2fs -- u:object_r:fsck_exec:s0 /system/bin/toolbox -- u:object_r:toolbox_exec:s0 /system/bin/toybox -- u:object_r:toolbox_exec:s0 +/system/bin/getprop u:object_r:toolbox_exec:s0 /system/bin/logcat -- u:object_r:logcat_exec:s0 /system/bin/logcatd -- u:object_r:logcat_exec:s0 /system/bin/sh -- u:object_r:shell_exec:s0 -- GitLab