exynos9610: Fix early boot denials
authorNolen Johnson <johnsonnolen@gmail.com>
Wed, 24 Apr 2024 20:33:46 +0000 (16:33 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Wed, 24 Apr 2024 21:52:34 +0000 (17:52 -0400)
* Many of these properties are useless or do nothing.

Change-Id: I02335afffef70fa040ccb6f0ea91d9717f7e33ae

sepolicy/vendor/fsck.te
sepolicy/vendor/genfs_contexts
sepolicy/vendor/property_contexts
sepolicy/vendor/vendor_ims_app.te
sepolicy/vendor/vendor_init.te
vendor.prop

index 195b16473b845e0506e14627bd510e03a5a5f2ac..1d1850cb43d3e5b944b373504d5b05a702b8470b 100644 (file)
@@ -1 +1,3 @@
 allow fsck self:capability kill;
+
+allow fsck sysfs_scheduler:file r_file_perms;
index 5ccd39f995bafcc3e9d0cfcbaf5a47bf8c0556e8..f5fded7c136e83e47d42fd5f5bd2d911a5dbcd39 100644 (file)
@@ -34,6 +34,7 @@ genfscon sysfs /devices/platform/11d40000.hsi2c/i2c-1/1-005a/leds/vibrator
 genfscon sysfs /devices/platform/12c30000.mfc0/video4linux/video6/name                                                  u:object_r:sysfs_v4l:s0
 genfscon sysfs /devices/platform/12c30000.mfc0/video4linux/video7/name                                                  u:object_r:sysfs_v4l:s0
 genfscon sysfs /devices/platform/13520000.ufs/host0/target0:0:0/0:0:0:0/block/sda/queue/scheduler                       u:object_r:sysfs_scheduler:s0
+genfscon sysfs /devices/platform/13520000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda42/partition                       u:object_r:sysfs_scheduler:s0
 genfscon sysfs /devices/platform/13830000.i2c/i2c-7/7-003b/power_supply                                                 u:object_r:sysfs_battery:s0
 genfscon sysfs /devices/platform/13830000.i2c/i2c-7/7-003c/power_supply                                                 u:object_r:sysfs_battery:s0
 genfscon sysfs /devices/platform/13830000.i2c/i2c-8/8-003b/power_supply                                                 u:object_r:sysfs_battery:s0
@@ -56,6 +57,8 @@ genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power
 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu00x-battery/power_supply/battery/temp                    u:object_r:sysfs_battery_writable:s0
 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-charger/power_supply                                 u:object_r:sysfs_battery:s0
 genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu106-powermeter/power_supply/s2mu106_pmeter/type          u:object_r:sysfs_battery:s0
+genfscon sysfs /devices/platform/13940000.spi/spi_master/spi9/spi9.0/madera-extcon/extcon/extcon0/cable.1/name          u:object_r:sysfs_extcon:s0
+genfscon sysfs /devices/platform/13940000.spi/spi_master/spi9/spi9.0/madera-extcon/extcon/extcon0/cable.3/name          u:object_r:sysfs_extcon:s0
 genfscon sysfs /devices/platform/14490000.fimc_is/debug/fixed_sensor_fps                                                u:object_r:sysfs_fimc_writable:s0
 genfscon sysfs /devices/platform/148b0000.decon_f/dqe/dqe                                                               u:object_r:sysfs_dqe:s0
 genfscon sysfs /devices/platform/148b0000.decon_f/psr_info                                                              u:object_r:sysfs_decon:s0
index 4033741fd64fca323be8a1b40216bc47bc2f5cd2..b83686f03faf5701a203db844e19a5c5728113fd 100644 (file)
@@ -22,6 +22,7 @@ persist.vendor.radio.               u:object_r:vendor_radio_prop:s0
 persist.vendor.ril.                 u:object_r:vendor_radio_prop:s0
 ro.product.model.dm                 u:object_r:vendor_radio_prop:s0
 ro.radio.imei.sv                    u:object_r:vendor_radio_prop:s0
+vendor.radio.smsdomain              u:object_r:vendor_radio_prop:s0
 vendor.radio.ril.                   u:object_r:vendor_radio_prop:s0
 vendor.radio.cp.                    u:object_r:vendor_radio_prop:s0
 vendor.ril.                         u:object_r:vendor_radio_prop:s0
index b71694c0984ed6013533f92aaf4c4da12dbf4b0e..1d51319f810ad12b6ee58073e2bb2687e6eff259 100644 (file)
@@ -14,6 +14,7 @@ allow vendor_ims_app radio_data_file:dir rw_dir_perms;
 allow vendor_ims_app radio_data_file:file create_file_perms;
 
 allow vendor_ims_app system_data_file:dir search;
+allow vendor_ims_app user_profile_root_file:dir search;
 
 allow vendor_ims_app misc_vendor_data_file:dir create_dir_perms;
 allow vendor_ims_app misc_vendor_data_file:file create_file_perms;
index 37c2dbcfb49c75482ee7d6087f9ceddd9f42eb70..788a8b86b4c1f5858f030adeb256769eabc27a8c 100644 (file)
@@ -18,9 +18,12 @@ allow vendor_init tmpfs:lnk_file create_file_perms;
 
 allow vendor_init system_data_root_file:dir { relabelto setattr };
 allow vendor_init fingerprint_vendor_data_file:dir r_dir_perms;
+allow vendor_init vendor_userdir_file:dir getattr;
 
 allow vendor_init unlabeled:{ dir file } { read getattr relabelfrom };
 
 set_prop(vendor_init, moto_boot_prop)
 set_prop(vendor_init, rmnet_mux_prop)
+set_prop(vendor_init, vendor_ims_prop)
+set_prop(vendor_init, vendor_hwc_prop)
 set_prop(vendor_init, vendor_radio_prop)
index f8e1ebb2d1679b9fb1bf7382e94c4ac05163977c..57c85c29409ab6508643cb0ac8162f02901d81fe 100644 (file)
@@ -73,10 +73,6 @@ persist.vendor.radio.dual.volte=1
 ## Logging
 persist.vendor.wlbtlog.maxfilesize=50
 persist.vendor.wlbtlog.maxfiles=5
-ro.debug_level=0x494d
-
-## Media
-media.settings.xml=/vendor/etc/media_profiles_vendor_V1.xml
 
 ## Navigation Bar
 qemu.hw.mainkeys=0
@@ -95,7 +91,6 @@ ro.hardware.soc.manufacturer=slsi
 persist.radio.multisim.config=dsds
 persist.vendor.ril.crash_handling_mode=2
 persist.vendor.ril.emergencynumber.sim=1
-radio.smsdomain=0
 ro.carrier=europen
 ro.vendor.config.build_carrier=europen
 ro.vendor.radio.imei.sv=25