From b7255bf2bfb07d72c0460104aa40063cc64114cc Mon Sep 17 00:00:00 2001
From: Tom Cherry <tomcherry@google.com>
Date: Thu, 11 Jan 2018 12:53:09 -0800
Subject: [PATCH] Add toolbox to vendor partition

Bug: 71861796
Test: no more denials on walleye for shell init scripts
Change-Id: I51eab267c95a915f927b0aaa7db9d678a83093c7
---
 private/file_contexts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/private/file_contexts b/private/file_contexts
index de959d450..4abd8d8b8 100644
--- a/private/file_contexts
+++ b/private/file_contexts
@@ -290,6 +290,7 @@
 /(vendor|system/vendor)(/.*)?                  u:object_r:vendor_file:s0
 /(vendor|system/vendor)/bin/sh                 u:object_r:vendor_shell_exec:s0
 /(vendor|system/vendor)/bin/toybox_vendor      u:object_r:vendor_toolbox_exec:s0
+/(vendor|system/vendor)/bin/toolbox            u:object_r:vendor_toolbox_exec:s0
 /(vendor|system/vendor)/etc(/.*)?              u:object_r:vendor_configs_file:s0
 
 /(vendor|system/vendor)/lib(64)?/egl(/.*)?     u:object_r:same_process_hal_file:s0
-- 
GitLab