Introduce Selinux policies for the mainline supplicant.
Aside from binder access, supplicant requires some
networking capabilities in order to work as expected.
Bug: 365585450
Test: Manual test - retrieve the mainline supplicant
binder in frameworks/base, and call a test
method using its AIDL interface
Change-Id: Id76fe09b2ecae758ed93b92d92020d45f19d2501
diff --git a/private/file.te b/private/file.te
index 98fbd35..559b0fe 100644
--- a/private/file.te
+++ b/private/file.te
@@ -169,6 +169,9 @@
# /data/misc/connectivityblobdb
type connectivityblob_data_file, file_type, data_file_type, core_data_file_type;
+# /data/misc/wifi/mainline_supplicant
+type mainline_supplicant_data_file, file_type, data_file_type, core_data_file_type;
+
# Type for /mnt/pre_reboot_dexopt
type pre_reboot_dexopt_file, file_type;