[ALPS04284125] Sepolicy: add lost label

[Detail]
netd_socket is deprecated in a/26f84c6.
The netd_socket used in mulitple modem generation,
for cross modem compatibility we add a dummy label to
prevent splitting new branch.

MTK-Commit-Id: b949378b387f9eb942de90b7475aea4ec711f68c

Change-Id: I5179175d9df973a0da01d4520269468b70f742ce
CR-Id: ALPS04284125
Feature: Modem Interface Driver
This commit is contained in:
Juju Sung 2020-01-18 10:13:13 +08:00
parent 9581c04e51
commit f680189e6c
6 changed files with 9 additions and 2 deletions

View File

@ -353,3 +353,5 @@ type sysfs_dis_nafg, fs_type, sysfs_type;
type aee_dipdebug_vendor_file, file_type, data_file_type;
type netd_socket, file_type, coredomain_socket;

View File

@ -12,7 +12,7 @@
#############################
# Custom files
(/vendor)?/custom(/.*)? u:object_r:custom_file:s0
/dev/socket/netd u:object_r:netd_socket:s0
#############################

View File

@ -1625,6 +1625,8 @@
(roletype object_r nvram_agent_service_26_0)
(typeattribute thermalindicator_26_0)
(roletype object_r thermalindicator_26_0)
(type netd_socket)
(roletype object_r netd_socket)
(type hostapd_socket)
(roletype object_r hostapd_socket)
(type hal_audio_default)

View File

@ -42,3 +42,5 @@
# For boot type
/sys/devices/virtual/BOOT/BOOT/boot/boot_type(/.*)? u:object_r:sysfs_boot_type:s0
/dev/socket/netd u:object_r:netd_socket:s0

View File

@ -4,4 +4,4 @@
#for drm key install
type provision_file, file_type, data_file_type;
type key_install_data_file, file_type, data_file_type;
type key_install_data_file, file_type, data_file_type;

View File

@ -12,6 +12,7 @@
(type mediacasserver_service)
(type tracing_shell_writable)
(type tracing_shell_writable_debug)
(type netd_socket)
(typeattributeset tracing_shell_writable_debug_26_0 (debugfs_tracing_debug tracing_shell_writable_debug))
(typeattributeset priv_app_26_0 (mediaprovider priv_app))