Archilis Wang
2cd382c5d0
Merge "[ALPS03885737] Correct agps sepolicy" into alps-trunk-p0.basic
...
Change-Id: I230be47b417acda0389d0f6bd62c426c8eebe125
MTK-Commit-Id: 7bedf66ca5fe633252754247a93a73d551e6985b
2020-01-18 09:38:28 +08:00
Archilis Wang
9afa8ed220
[ALPS03885737] Correct agps sepolicy
...
Adjust the policy for sdcard
MTK-Commit-Id: 40655afcc8e97b13642f5164987134d506579680
Change-Id: I338ea9b4b6b452b3e59230e692a7ff1850a63c6d
CR-Id: ALPS03885737
Feature: A-GPS
2020-01-18 09:38:17 +08:00
Zhen Jiang
43c391097f
Merge "[ALPS03886692] Delete illegal rules" into alps-trunk-p0.basic
...
Change-Id: If77297abb8511d3ead3baf0451e949ae683f9d2b
MTK-Commit-Id: 32969d05b433fa31ce01691599692edada73b38c
2020-01-18 09:37:59 +08:00
mtk13799
e3378ef109
[ALPS03886692] Delete illegal rules
...
[Detail]Delete illegal rules
MTK-Commit-Id: c1921fd0b224dd0c88a5cf417c4a89eb824bf217
Change-Id: I8c36bc8566c2310d3d01c998d6c003f199bd204c
Signed-off-by: mtk13799 <xin.huang@mediatek.com>
CR-Id: ALPS03886692
Feature: [Android Default]Dedicated APN for Tethering
2020-01-18 09:37:56 +08:00
Yuxian Xu
af8b6473d2
[ALPS03886572] Mobile Log selinux rule porting
...
[Detail]
Mobile Log selinux rule porting:
1. fix the violation on P
2. relable some kernel interfaces.
MTK-Commit-Id: 4108ed13f3e7693c3642b6f073c5444f133b3c38
Change-Id: I1fac185779510f10b9b94bdf6ec40573237d846a
CR-Id: ALPS03886572
Feature: Mobile Log Tool
2020-01-18 09:37:45 +08:00
Gang Wei
35d89a9938
Merge "[ALPS03888283] Modify meta_tst.te" into alps-trunk-p0.basic
...
Change-Id: I615b124ec98c451ed086df1b3eadb60465aba93a
MTK-Commit-Id: 945a876118d041bb24f90c90e625c44a41a6f7fb
2020-01-18 09:37:38 +08:00
Dian Wang
73695bfcce
[ALPS03888283] Modify meta_tst.te
...
[Detail] Modify meta_tst.te for Android P
[Solution]
Add comport type and uart info sepolicy
MTK-Commit-Id: b2f1a2b46f1bc8135b98dd306ff4353b3ba5383f
Change-Id: Ib40eb5e5a9512d7d33b25b191e04eab9684fe121
CR-Id: ALPS03888283
Feature: SP META Tool
2020-01-18 09:37:36 +08:00
Lei Shi
37ed25d0f9
[ALPS03869735] Properties rename in Android P
...
Rename persist.radio.last_iccid_sim to
persist.vendor.radio.last_iccid_sim.
MTK-Commit-Id: 6db1504ac7d3acd22bfa500dd65dd2905c5e8297
Change-Id: I91d63f59e2676e406fbac16593f4c1b571ab0bc5
CR-Id: ALPS03869735
Feature: Mobile Telephony Network
2020-01-18 09:37:21 +08:00
Jih-Cheng Chiu (邱日成)
664c95ece8
Merge "[ALPS03869840] P migration: Remove label aosp prop" into alps-trunk-p0.basic
...
Change-Id: I1ddf6448644d16bb3b6af3904a3a0e083de58335
MTK-Commit-Id: 252f87ac42bc933aa35c0c2bf3d6e894026973a1
2020-01-18 09:37:06 +08:00
Ju-Yi Cheng
80531326ac
[ALPS03869840] P migration: Remove label aosp prop
...
[Detail] Vendor partition shouldnt access aosp defined property
which is not in whitlist. So remove the related changes of labeled
aosp property.
This reverts commit 9d534a80d67e7457a1411b8b36249898ed4c6986.
This reverts commit 901fb42d2e3856a139b90420922f558d7231ea7d.
This reverts commit 41dc8fb567b409e149e59f4f514268ca5883c7ab.
[Solution] Remove label of ro.sf.lcd_density.
MTK-Commit-Id: 02cf063b8407a9d9242f064c86767200e9c0ac0a
Change-Id: I02dcc2fa3fda95c498f0ef70d9aa6bd9224d3b02
CR-Id: ALPS03869840
Feature: [Module]SurfaceFlinger/HWComposer
2020-01-18 09:37:01 +08:00
YC Shen
0b44149daf
Merge "[ALPS03883958] wlan: phaseout wifi2agps" into alps-trunk-p0.basic
...
Change-Id: I27811d7d767ae0b752b22860a4823ca28f1eb537
MTK-Commit-Id: 88a5c2177930425b8602c2fa2dcbaed9e0c1fe21
2020-01-18 09:37:00 +08:00
Herman Yang
428f9561fd
[ALPS03883958] wlan: phaseout wifi2agps
...
Remove .te and file permission used by wifi2agps
MTK-Commit-Id: 461c08d098a31cfb6dc6b5c8655ede3cc47e8292
Change-Id: Ib737729c94dc0e6427ac9f510c79923aff58d7ce
CR-Id: ALPS03883958
Feature: [Module]wpa_supplicant
2020-01-18 09:36:49 +08:00
Guoyi Qu
a6ef7466fe
[ALPS03866092] connsys log support
...
Selinux:porting code to P branch
MTK-Commit-Id: 507ec96911d24544a769fec4126a8582eb7246c9
Change-Id: I5104eb3e3de8a13e060f4af2db6c88f4dd669429
CR-Id: ALPS03866092
Feature: Connsys Log Tool
2020-01-18 09:36:45 +08:00
Siyuan Jiang (江思源)
e7d66802f0
Merge "[ALPS03866092] Add sepolicy for /dev/fw_log_bt" into alps-trunk-p0.basic
...
Change-Id: I9e26ba1f321d7a2b85dc38a39687e50794795277
MTK-Commit-Id: 259641ddbb2bc15920d2f2bb0a8830b25dda52da
2020-01-18 09:36:44 +08:00
Siyuan Jiang
e90468349d
[ALPS03866092] Add sepolicy for /dev/fw_log_bt
...
[Detail]
Create sepolicy definition for /dev/fw_log_bt
MTK-Commit-Id: 4ef13c078eb67716e42948ec72d1bc26a5e207eb
Change-Id: Iad81acd8ceb6f3e3a21e719209e6c91e9e28c517
CR-Id: ALPS03866092
Feature: BT Chipset Capability
2020-01-18 09:36:31 +08:00
Ming-Pei Hsu
9a23d8ea96
Merge "[ALPS03845186] SIM related system properties rename" into alps-trunk-p0.basic
...
Change-Id: I0a6551f62ac28f9d6e007cf08a0623dca2148c6e
MTK-Commit-Id: 56d9e1fc63fa70dcb7d1c7f6fe08f17aa5ececdf
2020-01-18 09:36:26 +08:00
ming-pei.hsu
d2c84d6a69
[ALPS03845186] SIM related system properties rename
...
Add vendor keyword for MTK added system properties.
MTK-Commit-Id: c0b0f66cffe90e543b71c07dd8d1f07b6a30288c
Change-Id: I06af970436e0df87d9eae478f6540411028f996f
CR-Id: ALPS03845186
Feature: SIM
2020-01-18 09:36:22 +08:00
Chaoran Zhang
b586fe6d85
Merge "[ALPS03866092] add dev policy for fw_log_gps" into alps-trunk-p0.basic
...
Change-Id: I7ffb1e0dd33801c960a32f100a3acb2295625c85
MTK-Commit-Id: 8540fee4700e776b3f9067f79cc9879f02fbff49
2020-01-18 09:36:14 +08:00
Chaoran Zhang
7fdca91eee
[ALPS03866092] add dev policy for fw_log_gps
...
[Detail]
add dev policy for fw_log_gps
[Solution]
add dev policy for fw_log_gps
MTK-Commit-Id: 4435dfa949ec7886ca9015a93bcf175568ab1621
Change-Id: I88a56ee23d456e5d43036fba79acd34ce024d35d
CR-Id: ALPS03866092
Feature: MTKLogger
(cherry picked from commit aa7953e06029de4ad0bcc0e615aef842eedc6460)
(cherry picked from commit ffa21f0c868c50daeff539f7be970d5398d8c3e6)
2020-01-18 09:36:07 +08:00
Lili Lin
04af79e76b
Merge "[ALPS03881723] Workaround build error" into alps-trunk-p0.basic
...
Change-Id: Icbca2e3a8f9d7b91377b15de2bab913d213c109d
MTK-Commit-Id: d3da42caa59407e610b7763595c51ed443d72cbd
2020-01-18 09:36:05 +08:00
Lili Lin
59f0ec9f6e
[ALPS03881723] Workaround build error
...
[Detail] enable PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE = true, will cause build error
[Solution] Mark rules that violate AOSP neverallow rules
MTK-Commit-Id: c850c6f1fcb8de76235ea2be51becb7a2ccc6190
Change-Id: Ib9a80f4495d6db588133f929c9ea70e7215ad2aa
CR-Id: ALPS03881723
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:35:54 +08:00
Larry Liang
a94ac3e353
Merge "[ALPS03841705] AEE porting on Android P" into alps-trunk-p0.basic
...
Change-Id: Ie88c8fb29e6e51f122cb41103b6807dc9486b8a5
MTK-Commit-Id: 17ddd9047c584201262777a2b7209980d600ab49
2020-01-18 09:35:50 +08:00
mtk11285
457f1855f1
[ALPS03841705] AEE porting on Android P
...
[Detail]
1. modify property according to P rule
2. add some selinux rules
3. relable /proc/slabinfo /proc/zraminfo
MTK-Commit-Id: aa654138c8b48d223b614c81d2f39d7cd6eedd1f
Change-Id: Ib47383553b0d320d3766780f35c397be60dc1339
CR-Id: ALPS03841705
Feature: Android Exception Engine(AEE)
2020-01-18 09:35:48 +08:00
lokesh
bea2ef85fd
[ALPS03870695] SELinux poilcy violation
...
[Detail] Fix SELinux poicy violation in bootanimation
[Solution] Removed unnecessary code from te file
MTK-Commit-Id: f770df059573e3379505534bfbe86e090ed82139
Change-Id: I9808b8bfe1008d7608e7de8f923ee36779dce953
CR-Id: ALPS03870695
Feature: Boot Animation
2020-01-18 09:35:32 +08:00
Chaoran Zhang
50e56dcbb1
Merge "[ALPS03872369] Rename property to "vendor.xx"" into alps-trunk-p0.basic
...
Change-Id: I57cf73e86e7a6aba4aad91412c56699f17713e9e
MTK-Commit-Id: b8c6cebe8de71db1669bccd934ef7102bc32207a
2020-01-18 09:35:28 +08:00
Chaoran Zhang
98dbe25ff8
[ALPS03872369] Rename property to "vendor.xx"
...
[Detail]
Rename property to "vendor.xx"
[Solution]
Rename property to "vendor.xx"
MTK-Commit-Id: 87caf0e36e6fdba1493399d2fae880f86e4f8024
Change-Id: Ia5015020a88fcb84609635938792f86a6492aa3f
CR-Id: ALPS03872369
Feature: Location Chipset Capability
2020-01-18 09:35:23 +08:00
Lili Lin
6a8302cec7
Merge "[ALPS03878175] Remove nvram policy" into alps-trunk-p0.basic
...
Change-Id: I94bcecce9d7a461fd77283796f260381b7b9f882
MTK-Commit-Id: b37cccde7337b13e9d0065a902d37a12bea9512d
2020-01-18 09:35:12 +08:00
Lili Lin
c5ef24d95d
[ALPS03878175] Remove nvram policy
...
[Detail]
1. Since Android P, system and vendor cannot use
on-disk files to communicate.
Nvram is vendor_data_file, while audio-daemon is system process.
2. Actually since Android O, audio-daemon use
AudioSystem::getParameters() to send command to audio driver who is
the real one who touch the nvram. This is already a HIDL,
In other words, audio-daemon does not touch nvram directly.
[Solution] Remove unnecessary policy, which may cause build break.
MTK-Commit-Id: ed37b24d8b1d939ee4d428e3ed49ba3155e953ec
Change-Id: I87c9cf8a6fb3952e24f0fb140b5cc65a59712350
CR-Id: ALPS03878175
Feature: Audio Tuning Tool
2020-01-18 09:35:08 +08:00
Vink Shen
bb8ea108ab
Merge "[ALPS03852714] Trustonic TEE: Fix persistent partition path" into alps-trunk-p0.basic
...
Change-Id: I30c9855e625ece1891141d98fdeb486cf45a1274
MTK-Commit-Id: e93f930503be15d3a640d9770e60bbe4db9f2b8a
2020-01-18 09:35:04 +08:00
Vink Shen
acf2d42d84
[ALPS03852714] Trustonic TEE: Fix persistent partition path
...
[Detail] Fix persistent partition path for Android P
MTK-Commit-Id: b49324e4ff63196b8051882cbe439ecb8ca44d2d
Change-Id: I7b22f6d7f07b26bf3f0e787ee372b7bd52b16fe5
CR-Id: ALPS03852714
Feature: Trustonic TEE (Trusted Execution Environment)
2020-01-18 09:34:53 +08:00
Elvin Lin
faea99188f
Merge "[ALPS03861775] Remove the sysfs_power_supply label" into alps-trunk-p0.basic
...
Change-Id: I3b1741c833f3f4308cbfa55da01fb79aa3bd38cc
MTK-Commit-Id: 0ffe2945e2d33b28c18bc00308701cc7e4321312
2020-01-18 09:34:49 +08:00
Elvin Lin
c25696d051
[ALPS03861775] Remove the sysfs_power_supply label
...
[Detail]
Since Android P, battery-related information should be declared as native
sysfs_batteryinfo, which can be accessed by healthd and other processes
asking for battery information.
[Solution]
1. Remove sysfs_power_supply.
2. Change the usage from sysfs_power_supply to sysfs_batteryinfo.
MTK-Commit-Id: 5713190900415312f7904cdf6d46a891996d5786
Change-Id: I10099570afdb48f0806d6979a3fb11b9b9e59fbe
CR-Id: ALPS03861775
Feature: Charger
2020-01-18 09:34:44 +08:00
bo.shang
933f54b148
[ALPS03879689] mdlogger SELinux error
...
[Solution] Fix boot mode selinux error
MTK-Commit-Id: 561f4064456c585ee83e66fc863065d77f256ff8
Change-Id: Id272b61b7e2fc462726770ccde9bd31c1725ce9e
CR-Id: ALPS03879689
Feature: C2K Modem Log Tool
2020-01-18 09:34:33 +08:00
Shane Chien
cce2bb9a1a
Merge "[ALPS03870469] Audio: remove useless selinux setting" into alps-trunk-p0.basic
...
Change-Id: I45274ad549efa086e9f59f6d23158185e5a431d1
MTK-Commit-Id: 25e7b18cdaa870edba45da80d4c7822d020622a0
2020-01-18 09:34:27 +08:00
Shane Chien
d16a43dba8
[ALPS03870469] Audio: remove useless selinux setting
...
[Detail]
remove useless selinux setting
MTK-Commit-Id: 2b85d091ab892d172bc812ec0888bc1f389af8c6
Change-Id: I6b7ea973f98b4bd5c4b04379d2eef4ea6cc89aac
CR-Id: ALPS03870469
Feature: Phone Sound
2020-01-18 09:34:22 +08:00
Ming-Pei Hsu
5e4495d7ce
Merge "[ALPS03875603] Relabel telephony switch property" into alps-trunk-p0.basic
...
Change-Id: I668eca7c355690a730642773663585b2ad981479
MTK-Commit-Id: c1738190079af936773914e5c8a08349459c5e7f
2020-01-18 09:34:12 +08:00
ming-pei.hsu
9fcff12f5c
[ALPS03875603] Relabel telephony switch property
...
Relabel global telephony configuration properties.
MTK-Commit-Id: 2666cdeb888a5c7c0e87358766d60857cd3dc896
Change-Id: I317dd786e6ea32087a6866adeb415e35bc5017e1
CR-Id: ALPS03875603
Feature: Telephony feature switch dynamically
2020-01-18 09:34:04 +08:00
mtk12101
4dc268f514
[ALPS03825066] Fix build error
...
[Detail]
1.The types on /sys/ must be associated with the
"sysfs_type" attribute: sysfs_keypad_file
2.sysfs_type only have read permission
[Solution]
1.Change sysfs_keypad_file to sysfs_type
2.Modify the permission to read about sysfs_type
MTK-Commit-Id: 4cf285589167b25623a67c6b951c796846a9a3ad
Change-Id: I3dd516eaf9959611c9a2b003cb3af07a35da5442
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:33:59 +08:00
Shan Zhang (张山)
2ca1a3e6b8
Merge "[ALPS03804621] [P migration] Revert "Remove SEPolicy violated"" into alps-trunk-p0.basic
...
Change-Id: I1f5509362726d31f4012d39f2444b8ab4d0b44a5
MTK-Commit-Id: c84d1583503782d39e02209d7b814a192e6470dd
2020-01-18 09:33:50 +08:00
Allen Chu
7a473d8720
[ALPS03804621] [P migration] Revert "Remove SEPolicy violated"
...
[Detail]
Modify file.te to avoid this violated:
type sysfs_keypad_file, file_type,sysfs_type;
==>type sysfs_keypad_file, fs_type;
So, revert this change.
MTK-Commit-Id: d60f20634eecfc97b7286c493884b3bea6d8e875
Change-Id: I9a1cd1d6888e4b9eb2fb1b70a4ad91d256e950c3
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 09:33:43 +08:00
Shan Zhang (张山)
d274e48a91
Merge "[ALPS03825066] Fix build error" into alps-trunk-p0.basic
...
Change-Id: I613f71842f979761499d572b7e1ed1e7d74d4849
MTK-Commit-Id: 234828c4443151f26ab17b3d7ea81a50356362e1
2020-01-18 09:33:38 +08:00
mtk12101
b46f5159b8
[ALPS03825066] Fix build error
...
[Detail]
1.Google neverallow to modify the /proc and /sys folder
2.vendor & system process can not access each file
[Solution]
1.Change the type of sysfs_file to common file
2.Mark the rules which violate the neverallow rules
MTK-Commit-Id: 326790e7af9c782f3dace5c667b4b07860370933
Change-Id: Ifa61d2561078d3b6cde612806607d35d6cfdc4d6
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:33:28 +08:00
Allen Chu
f58168abbd
[ALPS03804621] [P migration] Remove SEPolicy violated
...
[Detail]
Android P adds "never allow" rule for access system file
MTK-Commit-Id: 819e979bea9491adf5fe40d804a9a49ea3931e86
Change-Id: Ie2bc5ce87a9ce0249ec8e4df03a416a7f94cb4d5
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 09:33:20 +08:00
Weilun Liu
a428ebd38c
[ALPS03861873] fix build error
...
[Detail]
correct sepolicy format, should add ,
between proerty name definition
MTK-Commit-Id: b215a791362fa12c54cd99019a25608bc2771a18
Change-Id: I546219cebc8ea2b656a8ea61d9fa2cbbb2dc1c8d
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
2020-01-18 09:33:13 +08:00
Black Chen
975daae102
[ALPS03866092] wlan: add sepolicy for /dev/fw_log_wifi
...
[Detail]
Create sepolicy definition for /dev/fw_log_wifi
[Solution]
N/A
MTK-Commit-Id: 28b450dc71b48735fef6b58ade1f97bc8d81da8f
Change-Id: If932821d83e6999a3068a7520ea987b7a2ce09f8
Signed-off-by: Black Chen <black-ch.chen@mediatek.com>
CR-Id: ALPS03866092
Feature: Connsys Log Tool
(cherry picked from commit 39d8afbc1344efe75a4c591fec4e8eab78db1c61)
2020-01-18 09:33:04 +08:00
Weilun Liu
ba9c40f244
[ALPS03861873] rename system property
...
[Detail]
rename ril.ipo to vendor.ril.ipo
MTK-Commit-Id: ceb3557c1f5abe011a8f1fbb92985d5ae1bc22e0
Change-Id: Ibc09f1687774046013d673a8db74f9aa911a277f
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
2020-01-18 09:32:55 +08:00
Max Huang
f5716bff04
Merge "[ALPS03866092] Debug Utility: add sepolicy for /dev/fw_log_wmt" into alps-trunk-p0.basic
...
Change-Id: Iaa70f5f8ea3d8883a6713f76de2205f7e3cc9bad
MTK-Commit-Id: b408cb4b919e30d4fc3d1c6c444ccc0dc8dced36
2020-01-18 09:32:52 +08:00
Danny Shih
633ed5a00e
[ALPS03866092] Debug Utility: add sepolicy for /dev/fw_log_wmt
...
[Detail]
Create sepolicy definition for /dev/fw_log_wmt
MTK-Commit-Id: ffee8a32646445eec5ddb80e4ca4f22b6a74f54e
Change-Id: I68560eaf5f7d8e03317aae494d1861141077a31e
Feature: Connsys Log Tool
Signed-off-by: Danny Shih <danny.shih@mediatek.com>
CR-Id: ALPS03866092
(cherry picked from commit 85aad3cfc9bd3809ea78fcb72d23cb70e8dba462)
2020-01-18 09:32:41 +08:00
Weilun Liu (劉維倫)
ecd8df2454
Merge "[ALPS03861873] rename system property" into alps-trunk-p0.basic
...
Change-Id: I617e270fac5c7f520a6b1af27a67c88a3376eb9f
MTK-Commit-Id: 5c8f561320e8662c1c1c3f01569100f48b411a7e
2020-01-18 09:32:31 +08:00
Weilun Liu
099ce766c2
[ALPS03861873] rename system property
...
[Detail]
1. rename ril.mux to ril.vendor.mux
2. rename ril.ipo to vendor.ril.ipo
MTK-Commit-Id: 78bc6ff5295857d43026874250bf19005601f04f
Change-Id: I11f24cfb470db4ca4ed9108bce66a6bf956095fd
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
2020-01-18 09:32:27 +08:00