sdm660-common: sepolicy: Add restricted permissions to vendor_init

The core SEPolicy for vendor_init is being restricted to the proper
Treble restrictions.  Since this is a legacy device, it is tagged as a
data_between_core_and_vendor_violators and the needed permissions are
added to its device specific vendor_init.te

Bug: 62875318
Test: boot walleye without audits
Change-Id: I13aaa2278e71092d740216d3978dc720afafe8ea
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
This commit is contained in:
Tom Cherry 2018-01-23 14:15:24 -08:00 committed by Max Weffers
parent 36ef559156
commit f3aa8e3d2b
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -1,6 +1,8 @@
#============= vendor_init ==============
typeattribute vendor_init data_between_core_and_vendor_violators;
allow vendor_init {
media_rw_data_file
system_data_file
tombstone_data_file
}:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom };