Wei Wang
8ce5e19a67
Power: Implement PowerHal 1.2
...
Convert all perfd hints into PowerHAL hints
Test: do camera/audio powerhint
Bug: 62041945
Change-Id: I82c8ca99b76d70d716eabedb617a126446646b7d
2017-12-04 11:56:39 -08:00
Jeff Vander Stoep
78395856c9
sepolicy: Remove tracking of resolved denial am: d90b6a6589 am: 201fc696bd
...
am: 3264cc9451
Change-Id: I894763c2001407d651ff4c5703c01d95c430911d
2017-11-28 19:11:15 +00:00
Max Bires
7b7d6fd5de
Removing entry from bug_map that belongs in global policy am: 8dfbc9c280 am: 9be94e1031
...
am: 81d95c7216
Change-Id: I8e2136894a6c80521b44e2b50cc9d876ffbb074e
2017-11-28 19:10:57 +00:00
Jeff Vander Stoep
3264cc9451
sepolicy: Remove tracking of resolved denial am: d90b6a6589
...
am: 201fc696bd
Change-Id: I4ff76e832f9c4e54ca1a239bc48a6c13f5ca9d42
2017-11-28 18:27:54 +00:00
Jeff Vander Stoep
201fc696bd
sepolicy: Remove tracking of resolved denial
...
am: d90b6a6589
Change-Id: I0f3a4750522a6ed4c247c359398b62eddf09afd2
2017-11-28 18:23:54 +00:00
Max Bires
81d95c7216
Removing entry from bug_map that belongs in global policy am: 8dfbc9c280
...
am: 9be94e1031
Change-Id: I6c2eaa83eab89844c3283644bba91ed36992be97
2017-11-28 18:06:23 +00:00
Max Bires
9be94e1031
Removing entry from bug_map that belongs in global policy
...
am: 8dfbc9c280
Change-Id: I301105abf86b0108554609ccde4585649e6a0479
2017-11-28 17:57:53 +00:00
Jeff Vander Stoep
d90b6a6589
sepolicy: Remove tracking of resolved denial
...
Bug: 67860826
Test: build
Change-Id: I9e7bb8e0af75e499d024228e26abf12ff4418d55
2017-11-28 08:10:31 -08:00
Max Bires
8dfbc9c280
Removing entry from bug_map that belongs in global policy
...
Test: entry no longer exists in this file
Change-Id: I8b16c772983dfd79a54cd049ba3295cc6cdecd41
(cherry picked from commit d946b273ba )
2017-11-28 08:09:48 -08:00
TreeHugger Robot
74c2d71fec
Merge "wahoo: Change ramdump property names"
2017-11-28 01:21:14 +00:00
Jeff Vander Stoep
4dc6659501
Merge "This change is primarily a revert of 611c3d70a" am: 3bd6a7ab6f am: 508cfa70b8
...
am: 3764ba8cdb
Change-Id: I9cfbf5af90cc519df3d817569d3e480f3d19f252
2017-11-22 21:32:05 +00:00
Jeff Vander Stoep
3764ba8cdb
Merge "This change is primarily a revert of 611c3d70a" am: 3bd6a7ab6f
...
am: 508cfa70b8
Change-Id: Ib0222df8a3a9657d2f075966bce48bb93f000c48
2017-11-22 21:29:36 +00:00
Jeff Vander Stoep
508cfa70b8
Merge "This change is primarily a revert of 611c3d70a"
...
am: 3bd6a7ab6f
Change-Id: Iedfc834e35dac481cdf49df8917256164f740b1a
2017-11-22 21:26:35 +00:00
Treehugger Robot
3bd6a7ab6f
Merge "This change is primarily a revert of 611c3d70a"
2017-11-22 21:21:13 +00:00
Tom Cherry
a4761a9f71
Merge "Move mkdir /data/nfc/... to rootdir init.rc" am: e3ffe7bffd am: 99955d9cdf
...
am: 2ed108ffe0
Change-Id: I7491d781311fcf2ac115dabe2005800db1fbc7cd
2017-11-22 20:12:43 +00:00
Tom Cherry
2ed108ffe0
Merge "Move mkdir /data/nfc/... to rootdir init.rc" am: e3ffe7bffd
...
am: 99955d9cdf
Change-Id: If3063f644c4c2b3ce9880e9117cab0270c5e0d21
2017-11-22 20:08:22 +00:00
Tom Cherry
99955d9cdf
Merge "Move mkdir /data/nfc/... to rootdir init.rc"
...
am: e3ffe7bffd
Change-Id: I7c32865226dad0393aea804533e8edf1b0fa8d94
2017-11-22 20:03:56 +00:00
Tom Cherry
e3ffe7bffd
Merge "Move mkdir /data/nfc/... to rootdir init.rc"
2017-11-22 19:56:10 +00:00
Jeff Vander Stoep
8d21715fc2
This change is primarily a revert of 611c3d70a
...
Commit 611c3d70a "Move hal_bootctl rules to hal_bootctl_default"
breaks sideloading OTAs. It was introduced to fix a CTS regression
due to overly broad access to the vendor-owned misc_block partition.
The change also did a refactor of permissions for the bootctl HAL.
The fix leaves the one-line CTS fix in place and reverts the rest of
the refactor. This results in no change in permissions for the recovery
process which is already granted access to the misc_block partion in
core policy. "allow recovery dev_type:blk_file rw_file_perms;"
Bug: 69566734
Test: adb sideload ota
Change-Id: I67504482b166e1cf278be213e42bfde2ddfa6e67
2017-11-22 19:18:52 +00:00
Oleg Matcovschi
a54d493853
wahoo: Change ramdump property names
...
Avoid using vendor names in properties.
Change-Id: I1d0bc294584daa6910fc778ada05631440d3e707
2017-11-22 09:50:53 -08:00
Jeffrey Vander Stoep
ae7ff6e177
Merge "Move hal_bootctl rules to hal_bootctl_default" am: cee6d6db58 am: 5dc4c280f7
...
am: 9cac94dbaf
Change-Id: Ib6522f0e739970a366330bedd390934600a00a3c
2017-11-22 05:03:39 +00:00
Jeffrey Vander Stoep
9cac94dbaf
Merge "Move hal_bootctl rules to hal_bootctl_default" am: cee6d6db58
...
am: 5dc4c280f7
Change-Id: I8f4b6a5f7d654baefe99da94b5dd69a1a8901134
2017-11-22 05:01:06 +00:00
Jeffrey Vander Stoep
5dc4c280f7
Merge "Move hal_bootctl rules to hal_bootctl_default"
...
am: cee6d6db58
Change-Id: I608d31eae81625a48e75dd143c13156b4ab5acc9
2017-11-22 04:58:37 +00:00
Jeffrey Vander Stoep
cee6d6db58
Merge "Move hal_bootctl rules to hal_bootctl_default"
2017-11-22 04:55:18 +00:00
Jeff Vander Stoep
611c2d70a0
Move hal_bootctl rules to hal_bootctl_default
...
This more clearly attributes the permissions to the actual domain and
prevents a build breakage when building recovery due to a
userdebug-only neverallow exemption for hal_bootctl.
Bug: 69566734
Test: build user build
Change-Id: I5ed3c04b3709ac7b00234402788f5f1ae88e6f61
2017-11-21 13:34:45 -08:00
Tom Cherry
707978a594
Move mkdir /data/nfc/... to rootdir init.rc
...
These are directories used by the system so they should be created by
the system.
Test: treehugger
Change-Id: Ie0473d53a3ffd476faeb2dcb08497c0554b3b172
2017-11-21 10:29:50 -08:00
Max Bires
b6238646a1
Adding intermittent taimen denials to bug_map and adding dontaudit am: 8760ea13c8 am: b1c7925f39
...
am: aff5731c44
Change-Id: I6b91310b9634bbfbd90f1a05a06450afcd02d8f2
2017-11-20 22:02:30 +00:00
Max Bires
aff5731c44
Adding intermittent taimen denials to bug_map and adding dontaudit am: 8760ea13c8
...
am: b1c7925f39
Change-Id: I87acc9a42b31bce78a688d17ccb72bc57f847e44
2017-11-20 21:46:59 +00:00
Max Bires
b1c7925f39
Adding intermittent taimen denials to bug_map and adding dontaudit
...
am: 8760ea13c8
Change-Id: I65596064dcea4ef10fbed479af37429df1b3d55b
2017-11-20 21:38:30 +00:00
Max Bires
3ac7b069e7
Adding bug map entry for surfaceflinger denial am: 79c6875ae1 am: a18b856873
...
am: c34f83ca6e -s ours
Change-Id: I325d26d3861ef5c9cb2ea156a826e91490d07f94
2017-11-20 20:24:58 +00:00
Max Bires
b0804bf928
Adding bug map entries for boot denials am: 6f8f263c64 am: 2d5b503deb
...
am: 8ad4301e14 -s ours
Change-Id: If3946307e70347560b7cf7457e718c3bf01a5257
2017-11-20 20:24:40 +00:00
Max Bires
c34f83ca6e
Adding bug map entry for surfaceflinger denial am: 79c6875ae1
...
am: a18b856873
Change-Id: I2136fdfe79376fb2394ab33b1d0e73e647622cb4
2017-11-20 20:22:02 +00:00
Max Bires
8ad4301e14
Adding bug map entries for boot denials am: 6f8f263c64
...
am: 2d5b503deb
Change-Id: Ie98762bb38cb2865cc2517c25e6b48a9ae174e39
2017-11-20 20:21:56 +00:00
Max Bires
a18b856873
Adding bug map entry for surfaceflinger denial
...
am: 79c6875ae1
Change-Id: I62af409b7d870f2562f8a585468f0c5ce76f6934
2017-11-20 20:18:02 +00:00
Max Bires
2d5b503deb
Adding bug map entries for boot denials
...
am: 6f8f263c64
Change-Id: I63f5b9a494f535b499bc7a6bbb94016e6182b414
2017-11-20 20:17:58 +00:00
Max Bires
0e4f621620
Adding allow rules and bug_map entries to clean up boot on taimen am: bf29a6610c am: 2eb295df29
...
am: 8954b7958d -s ours
Change-Id: I62afd705cf3d286bb41133441f46a9144fe4d9ea
2017-11-20 19:59:26 +00:00
Max Bires
8954b7958d
Adding allow rules and bug_map entries to clean up boot on taimen am: bf29a6610c
...
am: 2eb295df29
Change-Id: I3f9b9453e1717498e76b254fc16d3d988a37d28e
2017-11-20 19:56:52 +00:00
Max Bires
2eb295df29
Adding allow rules and bug_map entries to clean up boot on taimen
...
am: bf29a6610c
Change-Id: Id3c3164c7fbbdda81a8a038f87181b2e535bb608
2017-11-20 19:53:53 +00:00
Max Bires
8760ea13c8
Adding intermittent taimen denials to bug_map and adding dontaudit
...
These intermittent denials are making it look like taimen boot tests are
occasionally unhealthy due to untracked denials. This will remove the
failing tests issue.
Bug: 68705274
Test: these intermittent denials are now tracked or properly
dontaudit'ed
Change-Id: I342cff19d7bde73fee93fd8461c9c0680511e23c
Merged-In: I342cff19d7bde73fee93fd8461c9c0680511e23c
(cherry picked from commit 552978d27c )
2017-11-20 19:01:58 +00:00
Max Bires
79c6875ae1
Adding bug map entry for surfaceflinger denial
...
Test: the surfaceflinger denial is properly tagged
Change-Id: I734aa3880491504c2c7e73236bda11e3cd111384
Merged-In: I734aa3880491504c2c7e73236bda11e3cd111384
(cherry picked from commit cb67b3d170 )
2017-11-20 19:01:53 +00:00
Max Bires
6f8f263c64
Adding bug map entries for boot denials
...
Test: bug metadata is properly attached to relevant denials
Change-Id: I20fba3a86104f494131714056b2809ae6a62d416
Merged-In: I20fba3a86104f494131714056b2809ae6a62d416
(cherry picked from commit 6f475be419 )
2017-11-20 19:01:47 +00:00
Max Bires
bf29a6610c
Adding allow rules and bug_map entries to clean up boot on taimen
...
Allow rule denials:
denied { ioctl } for pid=863 comm="rild"
path="/vendor/radio/qcril_database/qcril.db" dev="dm-1" ino=900
ioctlcmd=f50c scontext=u:r:rild:s0 tcontext=u:object_r:vendor_file:s0
tclass=file
denied { read } for pid=1609 comm="batterystats-wo" name="show_stat"
dev="sysfs" ino=37781 scontext=u:r:system_server:s0
tcontext=u:object_r:sysfs:s0 tclass=file
denied { search } for pid=1609 comm="system_server"
name="800f000.qcom,spmi" dev="sysfs" ino=19648
scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_msm_subsys:s0
tclass=dir
bug_map denial entries:
denied { create } for pid=751 comm="main" name="tasks"
scontext=u:r:zygote:s0 tcontext=u:object_r:cgroup:s0 tclass=fil
denied { getattr } for pid=1609 comm="system_server"
path="/vendor/framework" dev="dm-1" ino=291
scontext=u:r:system_server:s0
tcontext=u:object_r:vendor_framework_file:s0 tclass=dir
Test: denials either don't show up or are properly tagged with a bug
number
Change-Id: Ibf841033ac5480ddb975772840680011cb331a7d
Merged-In: Ibf841033ac5480ddb975772840680011cb331a7d
(cherry picked from commit 53146f8cc0 )
2017-11-20 18:46:26 +00:00
TreeHugger Robot
5c2b0d3e38
Merge "init.power.sh: remove CPUBW min freq setting"
2017-11-17 20:53:21 +00:00
Wei Wang
3729835533
init.power.sh: remove CPUBW min freq setting
...
CPU BW is set to 200Mhz in QC MTP, since on Pixel, we also adjust CPU BW
in touch PowerHint, we can relax the setting to 100Mhz.
Bug: 69271302
Test: boot
Change-Id: Iead3634d9c6fb0b3edc24ab0a19d62157a6a1793
2017-11-16 22:04:28 -08:00
Ruchi Kandoi
b0af94d3a0
Use nfc_nci.msm8998 instead of nfc_nci.$(TARGET_BOARD_PLATFORM) am: c2283035e2 am: 4886cb6b08
...
am: fb84bc6130
Change-Id: I4af8efd95d5432c0bedbfa205ef6bb263428f0aa
2017-11-17 00:14:15 +00:00
Ruchi Kandoi
fb84bc6130
Use nfc_nci.msm8998 instead of nfc_nci.$(TARGET_BOARD_PLATFORM) am: c2283035e2
...
am: 4886cb6b08
Change-Id: Iab53fe86f69df9a6f8bd03995760e1dcfc66b12f
2017-11-17 00:10:45 +00:00
Ruchi Kandoi
4886cb6b08
Use nfc_nci.msm8998 instead of nfc_nci.$(TARGET_BOARD_PLATFORM)
...
am: c2283035e2
Change-Id: If56d7587dc442ba66f288b544e839735b84ee502
2017-11-17 00:09:14 +00:00
Ruchi Kandoi
c2283035e2
Use nfc_nci.msm8998 instead of nfc_nci.$(TARGET_BOARD_PLATFORM)
...
Fixes: 69413085
Fixes: 69414641
Test: Make clean; make and flash.
Change-Id: I0edeb196ab28ff44cade1611e181eeedd42f79c3
2017-11-16 13:08:01 -08:00
Tom Cherry
bc563cf96a
Merge "Add vendor_init.te" am: c0959d9ff8 am: c28270b47c
...
am: 3506ef33a3
Change-Id: Ib652a46bee64b02e567642d0c838f5c4f7d9cd54
2017-11-16 17:42:20 +00:00
Tom Cherry
3506ef33a3
Merge "Add vendor_init.te" am: c0959d9ff8
...
am: c28270b47c
Change-Id: I7543b913805e3c62e3a3ecc6ff6b0e97cc1bf299
2017-11-16 17:39:47 +00:00