Commit Graph

3639 Commits

Author SHA1 Message Date
Florian Mayer
ad96f59b8c Revert "Add device sepolicy for fastbootd"
This reverts commit 4c27ffa26f.

Reason for revert: I1f97659736429fe961319c642f458c80f199ffb4 broke user builds.

Change-Id: I287353f4df4a6579ca85440d9277e54cf019c32e
2018-08-15 10:46:19 +00:00
Hridya Valsaraju
4c27ffa26f Add device sepolicy for fastbootd
This is required to allow flashing.

Bug: 78793464
Test: adb reboot fastboot && fastboot flashall
Change-Id: I5964d27ea1541a1c644d325b613db4423c4bf271
2018-08-09 10:21:33 -07:00
Xin Li
9ff3cc386f Merge Android Pie into master
Bug: 112104996
Change-Id: Idc8075e8e05d75b90a512c096be41fcc50846cf7
2018-08-06 16:50:11 -07:00
Myles Watson
3964dd56d7 Merge "wahoo: Move genfs rfkill to system/sepolicy"
am: e8e45d58ab

Change-Id: I755ef53a0aa3cf7b9280236ed2805dfd023c4f66
2018-06-27 19:21:31 -07:00
Treehugger Robot
e8e45d58ab Merge "wahoo: Move genfs rfkill to system/sepolicy" 2018-06-28 00:31:05 +00:00
Myles Watson
40afce6ba7 wahoo: Move genfs rfkill to system/sepolicy
Test: build
Change-Id: I33c62fff88217ce049a2e91cfee7ef77f42069f9
Merged-In: I33c62fff88217ce049a2e91cfee7ef77f42069f9
2018-06-27 23:56:07 +00:00
Dan Willemsen
c6a673fef9 taimen&walleye builds have overriding commands
am: 55a3497cda

Change-Id: I3121733556846b51e3134c636b8ee7419cfdf821
2018-06-20 10:01:54 -07:00
Dan Willemsen
55a3497cda taimen&walleye builds have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.

Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2018-06-19 22:28:20 -07:00
Tom Cherry
c70c413817 Merge "Remove qmuxd from init scripts and sepolicy" into stage-aosp-master 2018-06-19 14:51:09 +00:00
Tom Cherry
239143641a [automerger skipped] Remove qmuxd from init scripts and sepolicy
am: 7a4e80089a  -s ours

Change-Id: Iaa5fffc539e0599d550c55612b0798ecd6bb6d0d
2018-06-18 17:13:14 -07:00
Tom Cherry
ceb0f1e8f1 Remove qmuxd from init scripts and sepolicy
This daemon doesn't exist on the device and causes init errors during
boot.

init: /vendor/etc/init/hw/init.walleye.rc: 745: Unable to decode GID
for 'qcom_diag': getpwnam failed: No such file or directory

init: Could not start service 'vendor.qmuxd' as part of class 'main':
Cannot find '/vendor/bin/qmuxd': No such file or directory

Test: tree-hugger passes
Merged-In: Ib2bc1739cac088af3e9ef2e0482f2536dad8fb8c
Change-Id: Ib2bc1739cac088af3e9ef2e0482f2536dad8fb8c
2018-06-19 00:13:13 +00:00
Tom Cherry
7a4e80089a Remove qmuxd from init scripts and sepolicy
This daemon doesn't exist on the device and causes init errors during
boot.

init: /vendor/etc/init/hw/init.walleye.rc: 745: Unable to decode GID
for 'qcom_diag': getpwnam failed: No such file or directory

init: Could not start service 'vendor.qmuxd' as part of class 'main':
Cannot find '/vendor/bin/qmuxd': No such file or directory

Test: tree-hugger passes
Merged-In: Ib2bc1739cac088af3e9ef2e0482f2536dad8fb8c
Change-Id: Ib2bc1739cac088af3e9ef2e0482f2536dad8fb8c
2018-06-18 18:00:28 +00:00
Xin Li
821e4cbc04 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: I25e1d63f3c1f31809b2572eae465a98ca6e27be8
2018-06-08 11:06:54 -07:00
Stanley Tng
ea5c6f752f Disable the Hearing Aid profile for Pixel 2
am: 6799a52d08

Change-Id: I1634e4624f55d0c5d52ba453b99375206d5de516
2018-06-07 16:50:09 -07:00
Stanley Tng
6799a52d08 Disable the Hearing Aid profile for Pixel 2
Bug: 109880029
Test: Compile
Change-Id: I7c641444e85be61f8737fa7172ef7a0c849e79f2
2018-06-07 11:57:37 -07:00
Jiyong Park
9af73c6484 [automerger skipped] Merge "Temporarily whitelisting system domains writing vendor props" am: 3125af3c16
am: 11d2300472  -s ours

Change-Id: I38010e94f812f2417039fc0e70768b8c9486962b
2018-06-06 00:50:31 -07:00
Jiyong Park
11d2300472 Merge "Temporarily whitelisting system domains writing vendor props"
am: 3125af3c16

Change-Id: Iee20d8a616db2cd91a4529aa2e5a9c252c48457f
2018-06-05 21:05:03 -07:00
Treehugger Robot
3125af3c16 Merge "Temporarily whitelisting system domains writing vendor props" 2018-06-06 03:54:11 +00:00
Steven Moreland
5fc0655e34 camera hal is hal_graphics_allocator_client am: 217cd8b6d3
am: 8350459855

Change-Id: I4aa22dbf87223e6277f79803ce572bad7f1a936e
2018-06-05 08:33:43 -07:00
Steven Moreland
8350459855 camera hal is hal_graphics_allocator_client
am: 217cd8b6d3

Change-Id: Id579cd6c326d95ecd79770554761dab1b80c3823
2018-06-05 08:30:09 -07:00
Jaekyun Seok
b270f439e1 Fix access denials for Render script props
am: 591308e3bf

Change-Id: I8c1eac05f6df3b828c65111c801ca983e5f8e58b
2018-06-04 19:43:42 -07:00
Jaekyun Seok
591308e3bf Fix access denials for Render script props
ro.vendor.graphics.memory and vendor.debug.rs.* are used by Render
script (one of same-process HALs).
So they should be public-readable because Render script can be loaded
from almost everywhere.

Bug: 109653662
Test: succeeded building and tested with taimen
Change-Id: I5c6d6dd2f2406feaec60c965a763215c4a064f52
2018-06-05 09:26:02 +09:00
Steven Moreland
42daa6d00d con_monitor is hal_power client
Before it had permissions to use hal_power_hwservice,
but it didn't declare itself to be an hal_power_client.

Bug: 80319537
Test: boot + sanity

Change-Id: I7d82dd2d5692aa1efe75146beb567d166d3b4824
2018-05-31 19:28:23 +00:00
Steven Moreland
217cd8b6d3 camera hal is hal_graphics_allocator_client
Before it had permissions to use hal_graphics_allocator_hwservice,
but it didn't declare itself to be an allocator_client.

Bug: 80319537
Test: boot + sanity
Change-Id: I93a23cd3db270491e82b378507f3cb55063561e8
2018-05-31 10:30:15 -07:00
Hansong Zhang
708d457c36 Merge "Bluetooth HFP: Use WBS by default (4/5)" am: fba16b82c5
am: 9a74ec2281

Change-Id: Ie6eb2ab3acfd9458ec5d9938c93a48069b614640
2018-05-29 19:26:43 -07:00
Hansong Zhang
9a74ec2281 Merge "Bluetooth HFP: Use WBS by default (4/5)"
am: fba16b82c5

Change-Id: Idf93d8b61c0a76f868b575804703fc5b95661b29
2018-05-29 18:15:48 -07:00
Treehugger Robot
fba16b82c5 Merge "Bluetooth HFP: Use WBS by default (4/5)" 2018-05-30 00:44:06 +00:00
Adam Seaton
1acde8b3e1 Update SVN to 17 for Pi release Bug:80225397
am: 57b429087c

Change-Id: Ibba36e0328b6f13b6e3e115bd9d9f5651dd19bf9
2018-05-25 11:37:09 -07:00
Adam Seaton
57b429087c Update SVN to 17 for Pi release
Bug:80225397

Anticipating the need for SVN to be set to 15/16 for backpocket OC-MR1
builds in August, setting this to 17.
2018-05-25 09:30:22 -07:00
Jiyong Park
f392990328 Temporarily whitelisting system domains writing vendor props
system properties must not be used as a communication channel in between
system and vendor processes. However, there has been no enforcement on
this: system process could write system properties that are owned and
read by vendor processes and vice versa. Such communication should be
done over hwbinder and should be formally specified in HIDL.

Until we finish migrating the existing use cases of sysprops to HIDL,
whitelisting them in system_writes_vendor_properties_violators so that
the violators are clearly tracked.

These violators are allowed only for P, but not for Q.

Bug: 78598545
Test: m -j selinux_policy
Merged-In: I60b12f1232c77ad997c8c87e6d91baa14c626e94
Change-Id: I60b12f1232c77ad997c8c87e6d91baa14c626e94
(cherry picked from commit 3ee4e77674)
2018-05-24 19:07:35 +09:00
Hung-ying Tyan
4e248ab1dd Merge "configstore: uprev configstore (1.0 -> 1.1)" into pi-dev
am: e60a7fd931

Change-Id: I14c418e06ceb0314ac9edc0e4fe074cfd58bada4
2018-05-23 18:18:14 -07:00
Jaekyun Seok
1124884d58 Fix access denials for libEGL props
am: da2016576a

Change-Id: Ifab81ca1c3a4b9c4b1c18833db5e8e4efbd37e3e
2018-05-23 18:16:30 -07:00
TreeHugger Robot
e60a7fd931 Merge "configstore: uprev configstore (1.0 -> 1.1)" into pi-dev 2018-05-24 00:50:19 +00:00
Jayachandran C
8bd2eb7f5b sepolicy: cleanup tel_mon_prop as its no more used
am: 484b83c96c

Change-Id: I7c2c81b558c7de80ec10715c819214157522a6b5
2018-05-23 15:12:03 -07:00
Jaekyun Seok
da2016576a Fix access denials for libEGL props
vendor.debug.egl.changepixelformat and vendor.debug.prerotation.disable
are used by libEGL (one of same-process HALs).
So they should be public-readable because libEGL can be loaded from
almost everywhere.

Bug: 80135368
Test: succeeded building and tested with taimen
Change-Id: I2e9c0809a4868329ab76a94800a144283f523579
Merged-In: I2e9c0809a4868329ab76a94800a144283f523579
(cherry picked from commit 52ca941f7a)
2018-05-23 21:17:19 +00:00
Hung-ying Tyan
d804dac184 configstore: uprev configstore (1.0 -> 1.1)
Bug: 69691076
Test: Built and tested on walleye
Change-Id: I16f06827ef83711c9e29698540ffcec658081fda
2018-05-23 10:45:38 -07:00
Jayachandran C
484b83c96c sepolicy: cleanup tel_mon_prop as its no more used
Test: Verified connectivity monitor app works without denial

Bug: 79255514
Change-Id: Id8ebac2f3453a8fc175a91d60caad173734aa6cd
2018-05-22 23:57:44 +00:00
Thierry Strudel
ef49739868 Merge "Adjust for QCOM BT HAL property name changes" into pi-dev
am: 83fc9c1995

Change-Id: I39f71490479e4e7a7f55f396130cf408a8c1866e
2018-05-21 23:35:47 -07:00
Thierry Strudel
83fc9c1995 Merge "Adjust for QCOM BT HAL property name changes" into pi-dev 2018-05-22 06:30:35 +00:00
Jiyong Park
035dd12984 Merge "Temporarily whitelisting system domains writing vendor props" into pi-dev
am: 35e267a41f

Change-Id: I7b66c72a1e0bde39a0f89488e9948837ee3be681
2018-05-21 22:10:20 -07:00
TreeHugger Robot
35e267a41f Merge "Temporarily whitelisting system domains writing vendor props" into pi-dev 2018-05-22 05:04:40 +00:00
Paul Crowley
c91dbfca36 Remove device-specific metadata policy that's now in platform.
am: 5cb44010b2

Change-Id: I74f0bfd03748442221cced5b872a9fb4de8ff1b2
2018-05-21 21:45:55 -07:00
Petri Gynther
906e91433b Adjust for QCOM BT HAL property name changes
Bug: 36513925
Test: Manual Bluetooth test
Change-Id: I492fde56b7f10395869ac32e8d6dd20268ce5230
2018-05-21 17:41:57 -07:00
Paul Crowley
5cb44010b2 Remove device-specific metadata policy that's now in platform.
Bug: 79781913
Test: compiles
Change-Id: Ie632d1a4c44f491415ae9bb2ceb1264f0cfa5096
2018-05-21 12:01:22 -07:00
Artem Iglikov
50386f67f9 Merge "Add call logs and sms permissions for pixelmigrate" into pi-dev
am: d58a809078

Change-Id: I2b2dcbf59424d477e661adb5058725109dc91198
2018-05-21 08:27:57 -07:00
TreeHugger Robot
d58a809078 Merge "Add call logs and sms permissions for pixelmigrate" into pi-dev 2018-05-21 15:20:26 +00:00
Wei Wang
390fc28665 Bring perfd boot_complete signal back
am: b730e3be1c

Change-Id: I91a07df63c3a88d6086bbe2c50c77fc1a19f80ce
2018-05-19 22:51:17 -07:00
Wei Wang
b730e3be1c Bring perfd boot_complete signal back
Bug: 79879586
Test: Build
Change-Id: I0faef27bd94d6ee48971b723f9a5473a6258fbcb
2018-05-20 03:52:25 +00:00
Artem Iglikov
11540c9dbe Add call logs and sms permissions for pixelmigrate
Bug: 79186791
Bug: 79240969
Bug: 79532995

Test: n/a
Change-Id: Iac6f75a3fbac15caafefc8fa70755316ed6e14b2
2018-05-18 10:29:38 +00:00
Joel Galenson
3552364230 Track hal_bluetooth_default SELinux denial. am: 058a820975
am: a34e798cbb

Change-Id: Ie9025b72ca87111c70df53dbef4300747a6c80a9
2018-05-17 14:00:23 -07:00