786 Commits

Author SHA1 Message Date
Archilis Wang
9d48113003 Merge "[ALPS04418703] Add mnt_vendor_file permission" into alps-trunk-q0.basic
Change-Id: Ia6cbace12725310eb8d3309bfb76f5ef82ed6b6b
MTK-Commit-Id: 33198a2107ed4b998a140af912bfb0ff899c8a09
2020-01-18 10:12:55 +08:00
Archilis Wang
4df84f7fa4 [ALPS04418703] Add mnt_vendor_file permission
mtk_agpsd needs to save some data in mnt_vendor

MTK-Commit-Id: 9a16e787248a3b6e07dea75bdeee2428ef8ceb2c

Change-Id: I55715e48c3c56e700725cc223ac08f753433cd5d
CR-Id: ALPS04418703
Feature: A-GPS
2020-01-18 10:12:53 +08:00
chia-mao.hung
3273c74f52 Merge "[ALPS04428497] mdp: MMS HIDL for pq version" into alps-trunk-q0.basic
Change-Id: If56f4cc71d1e9bbe0830994e37b3105eb785dfd3
MTK-Commit-Id: cbb1868ed74b02f2ee3858e80636f56710db02dd
2020-01-18 10:12:52 +08:00
Eve
38c772248f [ALPS04428497] mdp: MMS HIDL for pq version
add pq control for jpeg usage

MTK-Commit-Id: fa4d43a6005c174326f4bea2bdc244a03ac0fc0e

Change-Id: Ia996efb0fcca703514a39fc1a3c1eb2d72e1c1f9
CR-Id: ALPS04428497
Feature: [Module]MDP Driver
2020-01-18 10:12:50 +08:00
mtk07406
210222b8d4 [ALPS04431046] GPU: Enable SPHAL for OpenCL
[Detail]
Same process hal modification

MTK-Commit-Id: 54746202d1051616f8d4e65c13d516063899040f

Change-Id: I31873741ce1a25106552d3cc83b22ef866f49433
CR-Id: ALPS04431046
Feature: OpenGL|ES
(cherry picked from commit 53d59eca15de0fdfc5ab1eb6e7ebe45a8dc9ba91)
2020-01-18 10:12:48 +08:00
mtk07742
734b5286a2 [ALPS04462320] SEPolicy:add perm for system_server
For Android Q, there is a more stringent restriction for ioctl,

system_server need some permission to access proc_ged by ioctlcmd

in MTBF.

MTK-Commit-Id: b3250e2378854b801fd8602b5369b48d91268993

Change-Id: I46d46e62dfb7fcc8a5675cc7584fd8f8e069238f
CR-Id: ALPS04462320
Feature: [Module]SystemServer
2020-01-18 10:12:48 +08:00
mtk07742
b110192c83 [ALPS04462320] SEPolicy:add perm for system_server
For Android Q, there is a more stringent restriction for ioctl,
system_server need some permission to access proc_ged by ioctlcmd
in MTBF.

MTK-Commit-Id: 6fe037cc18f278a95a919bb3188ae50fb880a36e

Change-Id: I4f4a3b13f3ee49920ebb588ed5e7094ae0065494
CR-Id: ALPS04462320
Feature: [Module]SystemServer
2020-01-18 10:12:48 +08:00
CS Kuo
eb08f2a396 Merge "[ALPS04423688] wlan: Remove unused codes" into alps-trunk-q0.basic
Change-Id: Ia3e34fd228cd128ad4a3ef87193247b6be0b801f
MTK-Commit-Id: 8a96380238e2fedda0e0aae51aaadd26835f8ce7
2020-01-18 10:12:47 +08:00
Ben Lai
014e70be61 [ALPS04423688] wlan: Remove unused codes
Remove unused codes for hotspot.

MTK-Commit-Id: 8fb09c8c6cb3d9362ae657285dd81f8648e2b271

Change-Id: Idcf2f7359dfb324028a752d8fe3824e0caa93862
CR-Id: ALPS04423688
Feature: Wi-Fi Tethering
Signed-off-by: Ben Lai <ben.lai@mediatek.com>
2020-01-18 10:12:45 +08:00
Code Lin
1cdd0f7bd4 Merge "[ALPS04431920] NP: Add MDLA device SEPolicy" into alps-trunk-q0.basic
Change-Id: Idc43193e6f45c35ef3f4799a1500a9b17c3a503f
MTK-Commit-Id: 7e30f1dccea206f80e4a6ac957e1752565777ac1
2020-01-18 10:12:44 +08:00
Code Lin
da52ff0805 [ALPS04431920] NP: Add MDLA device SEPolicy
Add MDLA device SEPolicy.

MTK-Commit-Id: 097bfbf9de8c3c8760f436ca8f1964037c4ab7f6

Change-Id: Ie4aaab4fc28eb1daf0d6c88cbe4e86f0f59444af
CR-Id: ALPS04431920
Feature: NeuroPilot
2020-01-18 10:12:37 +08:00
YL Wang
814f844b6e Merge "[ALPS04455064] WMT: Setting SEPolicy for coredump mode property" into alps-trunk-q0.basic
Change-Id: Ib7843e3e6f8ee4cf0a06ce238f0c397c0c0bf11f
MTK-Commit-Id: c589e02628f2793cfbf4f889993fddba582d8082
2020-01-18 10:12:35 +08:00
Robbin Chiu
0fc812491c [ALPS04455064] WMT: Setting SEPolicy for coredump mode property
[Solution]
Set SEPolicy for vendor_init to set property

MTK-Commit-Id: d72a1df1f6ef596f306cc5268bd27ed1216eb9a4

Change-Id: Ie6016a873e251e224b8225797ff3451a3ccd2ac9
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
CR-Id: ALPS04455064
Feature: [Module]WMT Driver
2020-01-18 10:12:34 +08:00
Zhongchao Xia
bed757c9c8 Merge "[ALPS04382560] MDP: open mdp device fail" into alps-trunk-q0.basic
Change-Id: I32eb257de568b42ee3405d57bfeb1407addc0836
MTK-Commit-Id: 4c9bdb05011d86bf33434ada19b957201cfe69a2
2020-01-18 10:12:33 +08:00
Zhongchao Xia
379de5a9b0 [ALPS04382560] MDP: open mdp device fail
[Detail]
1. Change /proc/mdp/device to /dev/mdp_device
2. Modify kernel driver change device node
3. Modify init.rc change device owner
4. Add selinux policy

MTK-Commit-Id: 08cf6d6ee97647a5f1262f475b79b420b616e527

Change-Id: I2bd7ee983116294dd62f247a9d30a67655316bd8
CR-Id: ALPS04382560
Feature: [Module]MDP Driver
2020-01-18 10:12:32 +08:00
Rajkamal R
8b8627c31a Merge "[ALPS04340640] BootAnimation SELinux policy changes" into alps-trunk-q0.basic
Change-Id: Ic4a6d637dc717d4b947c8852d33f00cad0c6eb19
MTK-Commit-Id: 7c3ff3d20f67920bc896748643b2468200433f47
2020-01-18 10:12:30 +08:00
lokesh
a4175cc0e4 [ALPS04340640] BootAnimation SELinux policy changes
Update SELinux policy of bootanimation

MTK-Commit-Id: f97c66dacfd9766f692e753f3aaae1faba66591c

Change-Id: I5f6a5cf18be6430b2365588917d45278140df696
CR-Id: ALPS04340640
Feature: [Module]Settings
2020-01-18 10:12:28 +08:00
Shanshan Guo
4c048b9055 Merge "[ALPS04449311] SEPlolicy: for app to access ged by ioctlcmd" into alps-trunk-q0.basic
Change-Id: Ia283db06b79ae3252a13a674109fb86fa9c27b6f
MTK-Commit-Id: 1fa276d7dd8e8d6fd850582d85240f3a9e253b30
2020-01-18 10:12:27 +08:00
Shanshan Guo
552d39bdd1 [ALPS04449311] SEPlolicy: for app to access ged by ioctlcmd
[Detail]
For Andorid Q, there is a more stringent restriction for ioctl,
app need some permissions to access proc_ged by ioctlcmd.

[Solution]
Add sepolicy for app to access proc_ged by
ioctlcmd=GED_BRIDGE_IO_BOOST_GPU_FREQ.

MTK-Commit-Id: 1d7bd0172f33336abcc94349978bbbd008f5fe9d

Change-Id: I62f422f072dc0881ea4c9f082a4c548b7164d58d
CR-Id: ALPS04449311
Feature: Power Management
2020-01-18 10:12:25 +08:00
Jason Su
e1868bca08 Merge "[ALPS04414889] GNSS HIDL 2.0 feature support" into alps-trunk-q0.basic
Change-Id: If79d0dcd54fcd6d043d2b2b48209be393849b420
MTK-Commit-Id: f25092a07205872b985fb8fe954cc2a06faf93b1
2020-01-18 10:12:24 +08:00
Jason Su
4817794ff1 [ALPS04414889] GNSS HIDL 2.0 feature support
GNSS HIDL 2.0 feature support.

MTK-Commit-Id: f0cdd26e9b65f70a4025c542743ff0d2b32359b7

Change-Id: Ic50f73813934c218c6917f5ab7aa735fcc0478d0
CR-Id: ALPS04414889
Feature: Location AOSP
2020-01-18 10:12:19 +08:00
Max Tseng
4973f6afc9 [ALPS04400468] Fix build error for AINR sepolicy
[Detail]
Build error due to miss ;

MTK-Commit-Id: 9ff79edcad3b00db3ed3143b62a5078a8765f3de

Change-Id: Idccb173c592417bd36bc71c096b21c1f255204d4
CR-Id: ALPS04400468
Feature: [Android Default] Camera Application Basic Functions
2020-01-18 10:12:15 +08:00
Max Tseng
e90d91bd45 [ALPS04400468] Sepolicy : AINR Thermal Boost
[Detail]
Improve AINR performance, to remove Thermal Restriction

MTK-Commit-Id: 3c332337e985649df2d23d0077356c2b9af0b3de

Change-Id: I913184e1cb97d3b750d57bf23ebdd6e86f7e8bd0
CR-Id: ALPS04400468
Feature: [Android Default] Camera Application Basic Functions
2020-01-18 10:12:15 +08:00
Ian-Y Chen (陳尹)
a7f37cdfba Merge "[ALPS04328846] power: add system server permission" into alps-trunk-q0.basic
Change-Id: Ie075ee31359da1349bfa23e92702ca17ba840112
MTK-Commit-Id: 35f28a0438545016d9b453a2c238a3f8e7309d12
2020-01-18 10:12:14 +08:00
Ian-Y Chen
f6646fd2a6 [ALPS04328846] power: add system server permission
[Detail]
1. Add system server permission for power_hal_mgr_service
2. Remove su permission
3. Use macro to set permission

MTK-Commit-Id: 465f6b986296ecd46404c4cfd497bfd80c0a1842

Change-Id: I65041fd264cae53b850e013f12679c84c3b9eb36
CR-Id: ALPS04328846
Feature: [Module]PowerHAL
2020-01-18 10:12:13 +08:00
YL Wang
7dd5ed2019 Merge "[ALPS04419955] WMT: stp_dump moving to vendor" into alps-trunk-q0.basic
Change-Id: Ib706133bdd8d041971987dffadf9c46cbfd9d5da
MTK-Commit-Id: eb4c5ddfa8f365b59ec5f3be570997c69bdbe157
2020-01-18 10:12:11 +08:00
Robbin Chiu
7238f50dd0 [ALPS04419955] WMT: stp_dump moving to vendor
[Solution]
Set SEPolicy for stp_dump

MTK-Commit-Id: 5caf8dd3780faaf3c8933406756ef7298560590c

Change-Id: I3f2ac66941eb5f54f4b2079fbeef15e1ebe1e2b6
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
CR-Id: ALPS04419955
Feature: [Module]WMT Driver
2020-01-18 10:12:09 +08:00
Chuangjie Xia (夏创杰)
4ae3ce9f4e Merge "[ALPS04427301] fix mp3 playback power loading too high because of sepolicy" into alps-trunk-q0.basic
Change-Id: Ie58138a9058a0db040789d95c86c3be2a57614da
MTK-Commit-Id: bdd330cd89b677f83d9f7c23aea896a26df31cb5
2020-01-18 10:12:07 +08:00
Mengjie Xie
d9cf2f8615 [ALPS04427301] fix mp3 playback power loading too high because of sepolicy
when open selinux, mp3 playback will lead to high power loading,
reason is that due to selinux,mediaextractor process cant get
music process name, so lower power feature cannot work

Add sepolicy to fix the issue.

MTK-Commit-Id: 10dad319efacefe5807a7932a63ca34f6bb881a5

Change-Id: I1e41f0e07134fad957fe3f98b99fcc8985f3ebd7
CR-Id: ALPS04427301
Feature: [Android Default] MP3 Playback
2020-01-18 10:12:06 +08:00
Yuru Zhu (朱禹儒)
1701212f4c Merge "[ALPS04386294] Move debugtool to EM" into alps-trunk-q0.basic
Change-Id: I07d9028a1a8269bae6e33cf4a4f45af6b62799a8
MTK-Commit-Id: bb651141c47618e88c71ee1dac3a559de220a331
2020-01-18 10:12:05 +08:00
yuru.zhu
57d468a379 [ALPS04386294] Move debugtool to EM
[Solution] Move debugtool source code to EM

MTK-Commit-Id: f9aae70ea8b8c0075e93ade1fcbedc3bc25aa484

Change-Id: I0a16d8cac8c1cf64cbc88ed9a9de6bd29e3e740b
CR-Id: ALPS04386294
Feature: MTKLogger
2020-01-18 10:12:01 +08:00
Shanshan Guo
203b3d02de [ALPS04428389] SEPlolicy: for app to access ged by ioctlcmd
[Detail]
For Andorid Q, there is a more stringent restriction for ioctl,
app need some permissions to access proc_ged by ioctlcmd.

[Solution]
Group existing sepolicies for different types app to access
proc_ged by ioctlcmd together in appdomain.

MTK-Commit-Id: e9ba9a00dbbc063388c8120048a72fd8f7ce497c

Change-Id: I24a4671259a68a0fda756d37c16b7e61801e6cc8
CR-Id: ALPS04428389
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:12:00 +08:00
Ning Cui
be375a5c38 Merge "[ALPS04423573] Led: add sepolicy for lazy hal" into alps-trunk-q0.basic
Change-Id: I3240f308da6632df550a32b5607e89bf72315acb
MTK-Commit-Id: 78f8b67b3716c647d416b4e384656237f824d7c7
2020-01-18 10:11:59 +08:00
mtk14723
d28ce5e220 [ALPS04423573] Led: add sepolicy for lazy hal
[Detail]
Add selinux for lazy hidl, to make lazy hidl service can be started

MTK-Commit-Id: d2bbc3f95ab7f2d7dfafe932515053226747ea78

Change-Id: Id6fd21bf7794dbc42454202b081113a9c040722c
CR-Id: ALPS04423573
Feature: [Android Default] Backlight
2020-01-18 10:11:57 +08:00
Ning Cui
735845c0fc Merge "[ALPS04411237] Vibrator: add sepolicy lazy hidl" into alps-trunk-q0.basic
Change-Id: I5524e06ee343d2e1d87d300722d622c5382a8f63
MTK-Commit-Id: 288239634030deafcfe540670e6fc420dea7a6be
2020-01-18 10:11:56 +08:00
mtk14723
5ae2f3b4d1 [ALPS04411237] Vibrator: add sepolicy lazy hidl
[Detail]
add selinux for lazy hidl, to make lazy hidl service can be started

MTK-Commit-Id: 68eae2f272d3cee8db8377cb298e2227bf21c6fd

Change-Id: Ic1c4ce80ed2574093bdd42f1061aca66596f3dca
CR-Id: ALPS04411237
Feature: [Module]Vibrator
2020-01-18 10:11:54 +08:00
mtk07742
bc8a258620 [ALPS04424750] SEPolicy:add perm for system_server
For Android Q, there is a more stringent restriction for ioctl,
system_server need some permissoin to access proc_ged by ioctlcmd
in MTBF.

MTK-Commit-Id: f4a14dea0b118232234da13c860c66e1b31b3c5d

Change-Id: Idd1b3376f8980273f5e91985d91729c1ab50dd59
CR-Id: ALPS04424750
Feature: [Module]SystemServer
2020-01-18 10:11:50 +08:00
Larry Liang
a0555034dc Merge "[ALPS04424749] add aee_aedv allow rule" into alps-trunk-q0.basic
Change-Id: Iae7a214cb298ac05e17cd0cef897f0d89cf017f2
MTK-Commit-Id: 4a6e3b3d334bd65f0cf4c4c1dd91eb9b962071f7
2020-01-18 10:11:49 +08:00
Huaiming Li
1bc79d92c7 [ALPS04424749] add aee_aedv allow rule
add aee_aedv allow rule to map hwservicemanager_prop file in MTBF

MTK-Commit-Id: cedf4801cb6014d22b030b4b56740e2f04a20302

Change-Id: I8b701883eba743bfc6bc311526ab974a91a9803b
CR-Id: ALPS04424749
Feature: Android Exception Engine(AEE)
2020-01-18 10:11:48 +08:00
mtk14723
ce2ae4de97 [ALPS04414154] Backlight: set factory as an client of hal_light
[Detail]
Set factory as an client of hal_light,
so that factory can access hal_light service

MTK-Commit-Id: aa59bfbc9d04a2ede701ff67e6ae587f6e5c4394

Change-Id: I86ddb045d73175f10ee57061150a387394009967
CR-Id: ALPS04414154
Feature: Factory Mode
2020-01-18 10:11:47 +08:00
Jamy Tseng
e36513694d Merge "[ALPS04421353] MtkCam: modify sepolicy for jpeg" into alps-trunk-q0.basic
Change-Id: I2b2e3b23760f93ef27ca627e16a874d38b6ae9eb
MTK-Commit-Id: e36f1561a6d79042b0cada9acc6c66d9e0aa40ac
2020-01-18 10:11:46 +08:00
gang.wei
30e74341f8 [ALPS04383447] ATM support
[Detail] add permission for ATM feature.

MTK-Commit-Id: d087a9725316afb22da601262442c6a897e82922

Change-Id: I2432069bb99588e39c12a5775ce49959e3a45e95
CR-Id: ALPS04383447
Feature: SP META Tool
2020-01-18 10:11:46 +08:00
jamy.tseng
142bfb6b36 [ALPS04421353] MtkCam: modify sepolicy for jpeg
[Detail]
add ioctl for camerahalserver jpegnode
jpegnode need to control jpeg io

MTK-Commit-Id: c1adc06defb2aab6e9402f45c0f2b92bcfa83a5e

Change-Id: Ie8f65b38133fc46b3a46e3ed04b42d6f09ad13cc
CR-Id: ALPS04421353
Feature: Cshot (Continuous Shot)
2020-01-18 10:11:44 +08:00
Shiuan Huang
a0f777e564 [ALPS04167940] PQ : Add sepolicy for libscltm and libhdrvideo
[Detail]
More strictly selinux policy that system process cannot access vendor
partition,
unless label the specific vendor lib to same_process_hal_file

[Solution]
Add same-process HAL files and their dependencies

MTK-Commit-Id: 565e78ca92a83f2aaf44bc599b91f9cb61a5bec5

Change-Id: Id5450d9ae3467b9aae8be20d3d1934e3e1f8a375
CR-Id: ALPS04167940
Feature: MiraVision
(cherry picked from commit c62b2f1b4d75034ce130d909a574aa8d6879b345)
2020-01-18 10:11:43 +08:00
GW Chen
990a78584a Merge "[ALPS04383692] GPU: gpu hidl ioctl permission" into alps-trunk-q0.basic
Change-Id: I371680559e57520a098cba4e3760bd9ff20c85bc
MTK-Commit-Id: 20d27a464529c092fe3d4e9ed90cbab5ae8dbc85
2020-01-18 10:11:43 +08:00
GuanWen Chen
6775f03fcb [ALPS04383692] GPU: gpu hidl ioctl permission
[Detail]
Add gpu hidl ioctl permission

MTK-Commit-Id: 0a22c8a73634941e3559a82396c587d41a68e1c2

Change-Id: I0dfbc9c69689a3906e5c84fd0991333aff79c0c7
CR-Id: ALPS04383692
Feature: OpenGL|ES
2020-01-18 10:11:41 +08:00
Chang-An Chen
a805926cb2 Merge "[ALPS04401328] ota update: fix selinux permission for AB update with dynamic partition" into alps-trunk-q0.basic
Change-Id: I3c9b01edb02113777792a9810ac80d898a73220f
MTK-Commit-Id: 0f4eecb18e01ddab215d735d8e79f31713f77162
2020-01-18 10:11:39 +08:00
Freddy Hsin
379d6e6659 [ALPS04401328] ota update: fix selinux permission for AB update with dynamic partition
fix selinux permission for AB update with dynamic partition

MTK-Commit-Id: c2d57620806b07535ab52f11924d25561d8758f8

Change-Id: I8d2dfae862ace8f7b82d4b7cd543291886b19078
Signed-off-by: Freddy Hsin <freddy.hsin@mediatek.com>
CR-Id: ALPS04401328
Feature: [Android Default] SIU (SD Image Update)
2020-01-18 10:11:37 +08:00
Yuru Zhu (朱禹儒)
7c45ad3722 Merge "[ALPS04382560] Add selinux permission" into alps-trunk-q0.basic
Change-Id: I6eed10aeae5c5b88ed9590a79e4a5aedfa6c09a4
MTK-Commit-Id: 200441e66598da3ea48761acddb8bee4d3d519ae
2020-01-18 10:11:33 +08:00
bo.shang
1aa4b07238 [ALPS04382560] Add selinux permission
Add map permission for kernel API dump error

MTK-Commit-Id: 07c68bea7a790c49b3870393bf046688a19b2e58

Change-Id: I01b3f39bcc365ccedb1fc029b92307e91bece05a
CR-Id: ALPS04382560
Feature: Network Log Tool
2020-01-18 10:11:31 +08:00