Commit Graph

5482 Commits

Author SHA1 Message Date
Jimmy Chen
474d4e6e36 Wifi: enable P2P MAC randomization am: 3672858e17
Change-Id: Ide366dd1bfca95890631cfbf7d224ebc09c3fd29
2020-04-08 07:53:42 +00:00
Xin Li
889a34a7d2 [automerger skipped] DO NOT MERGE - Merge QQ2A.200405.005 into master am: 05de20dd67 -s ours am: 18325735a2 -s ours
am skip reason: Change-Id Ib06fe25dc5353599b914f93d586f0de6eaf32241 with SHA-1 7c55be6d66 is in history

Change-Id: I304a4235cf26ab22334368b8ba35967a5d1ddc27
2020-04-08 06:41:17 +00:00
Xin Li
18325735a2 [automerger skipped] DO NOT MERGE - Merge QQ2A.200405.005 into master am: 05de20dd67 -s ours
am skip reason: Change-Id Ib06fe25dc5353599b914f93d586f0de6eaf32241 with SHA-1 7c55be6d66 is in history

Change-Id: Ib620c3527e51988e93d076b6e5bb4e01cbe0e706
2020-04-08 06:30:50 +00:00
Jimmy Chen
3672858e17 Wifi: enable P2P MAC randomization
Bug: 146398159
Test: enter Wi-Fi Direct and check p2p interface address is randomized.
Change-Id: I5f03f907174d6eec2a739c9112fc2e8fad5ef0ae
2020-04-08 04:34:53 +00:00
Xin Li
05de20dd67 DO NOT MERGE - Merge QQ2A.200405.005 into master
Bug: 150877681
Change-Id: I5ea8050916e1429f865dbb96972af9f62fd48258
Merged-In: Iac096fcf4f4beb772364ddf9d3ebbe2f9ec156b7
Merged-In: Ib06fe25dc5353599b914f93d586f0de6eaf32241
2020-04-08 03:37:37 +00:00
Andrew Lehmer
788050cfc1 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49 am: 2a7dac5aa9 am: e527899e04 am: ada3ff5036
Change-Id: I6f3ed8003f77e544483f6875fa2958a4eeaf5838
2020-04-07 22:01:15 +00:00
Andrew Lehmer
ada3ff5036 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49 am: 2a7dac5aa9 am: e527899e04
Change-Id: I703be2f1fe3ece5eef83c4c9bd38d4a2f5bc6b9d
2020-04-07 21:39:46 +00:00
Andrew Lehmer
e527899e04 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49 am: 2a7dac5aa9
Change-Id: I7b74e07fc8e3442e194cc7bdc80cde525cb87cd8
2020-04-07 21:22:05 +00:00
Andrew Lehmer
2a7dac5aa9 folio_daemon: Avoid UAF with stale sensor handle am: 1e9c510d49
Change-Id: I0afc0be064c28dc361b8e5538442557cb0d899c7
2020-04-07 21:07:21 +00:00
TreeHugger Robot
9e90f376a7 Merge "folio_daemon: Avoid UAF with stale sensor handle" into qt-dev am: 51441571d3 am: c48b03f21f
Change-Id: Ifbd010054a34d621f1d5a29ae2581ede4892e07f
2020-04-07 21:02:19 +00:00
TreeHugger Robot
7912e57278 Merge "folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE]" into qt-qpr1-dev am: ef422b336e
Change-Id: Icbe87a5703ccf4659e8fb9803b3c0cd1f740ba8b
2020-04-07 21:02:12 +00:00
Andrew Lehmer
eda8996fb0 folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE] am: 8461c0a1d1
Change-Id: Ie92c45518a761a3f9863afb7ced4b18416bf21d0
2020-04-07 21:02:10 +00:00
TreeHugger Robot
c48b03f21f Merge "folio_daemon: Avoid UAF with stale sensor handle" into qt-dev am: 51441571d3
Change-Id: I5086c0d414f0287658afdd8d87379bfb3227ba44
2020-04-07 21:00:46 +00:00
TreeHugger Robot
ef422b336e Merge "folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE]" into qt-qpr1-dev 2020-04-07 20:20:28 +00:00
TreeHugger Robot
51441571d3 Merge "folio_daemon: Avoid UAF with stale sensor handle" into qt-dev 2020-04-07 20:13:43 +00:00
Andrew Lehmer
01d6b11593 folio_daemon: Avoid UAF with stale sensor handle am: 948ad9c58c am: 92f0fa9448 am: f8136059a5
Change-Id: I07d43c8c40506e13a959c3f43ce40749e1153b32
2020-04-07 19:40:25 +00:00
Andrew Lehmer
f8136059a5 folio_daemon: Avoid UAF with stale sensor handle am: 948ad9c58c am: 92f0fa9448
Change-Id: Iecce6d22c8a65e677f53f200d494c303b877ef3c
2020-04-07 19:28:34 +00:00
Andrew Lehmer
92f0fa9448 folio_daemon: Avoid UAF with stale sensor handle am: 948ad9c58c
Change-Id: I1a8f3de8a7ebe0c9c268a93d7e8b59415a60cf57
2020-04-07 19:16:48 +00:00
Andrew Lehmer
8461c0a1d1 folio_daemon: Avoid UAF with stale sensor handle [DO NOT MERGE]
It is possible for sensor handles retrieved using
ASensorManager_getDefaultSensor() to become stale if the underlying
binder connection to the sensor service gets reset. This can be
triggered by ASensorManager_createEventQueue(), so any sensor handle
retrieved prior to this call may become stale, resulting in a use-after-
free when the handle is eventually registered with the queue. To avoid
this, the event queue is created before retrieving or registering the
sensor.

Bug: 150225255
Test: No longer crashes with proof-of-concept on Pixel 2 XL.
Change-Id: I243f6c68c734af3eb5488855d965a894b5fb99e5
2020-04-07 18:11:26 +00:00
Paul Scovanner
518a608b14 Update wahoo SVN to 43 am: ad7825fc2a
Change-Id: I35437339762983ccd053e61ff71265e4603f24b4
2020-04-02 20:51:42 +00:00
Andrew Lehmer
1e9c510d49 folio_daemon: Avoid UAF with stale sensor handle
It is possible for sensor handles retrieved using
ASensorManager_getDefaultSensor() to become stale if the underlying
binder connection to the sensor service gets reset. This can be
triggered by ASensorManager_createEventQueue(), so any sensor handle
retrieved prior to this call may become stale, resulting in a use-after-
free when the handle is eventually registered with the queue. To avoid
this, the event queue is created before retrieving or registering the
sensor.

Bug: 150225255
Test: No longer crashes with proof-of-concept on Pixel 2 XL.
Change-Id: I243f6c68c734af3eb5488855d965a894b5fb99e5
2020-03-30 22:36:21 +00:00
Andrew Lehmer
948ad9c58c folio_daemon: Avoid UAF with stale sensor handle
It is possible for sensor handles retrieved using
ASensorManager_getDefaultSensor() to become stale if the underlying
binder connection to the sensor service gets reset. This can be
triggered by ASensorManager_createEventQueue(), so any sensor handle
retrieved prior to this call may become stale, resulting in a use-after-
free when the handle is eventually registered with the queue. To avoid
this, the event queue is created before retrieving or registering the
sensor.

Bug: 150225255
Test: No longer crashes with proof-of-concept on Pixel 2 XL.
Change-Id: I243f6c68c734af3eb5488855d965a894b5fb99e5
2020-03-30 22:35:46 +00:00
Andrew Lehmer
34ae8052e3 folio_daemon: Avoid UAF with stale sensor handle
It is possible for sensor handles retrieved using
ASensorManager_getDefaultSensor() to become stale if the underlying
binder connection to the sensor service gets reset. This can be
triggered by ASensorManager_createEventQueue(), so any sensor handle
retrieved prior to this call may become stale, resulting in a use-after-
free when the handle is eventually registered with the queue. To avoid
this, the event queue is created before retrieving or registering the
sensor.

Bug: 150225255
Test: No longer crashes with proof-of-concept on Pixel 2 XL.
Change-Id: I243f6c68c734af3eb5488855d965a894b5fb99e5
2020-03-30 22:34:50 +00:00
Paul Scovanner
ad7825fc2a Update wahoo SVN to 43
Bug: 151752725
Change-Id: Iff06deadea687ad2fc7fe5faccce7494f91c2272
2020-03-28 00:45:03 +00:00
Torne (Richard Coles)
1fdcf96f5b Remove fixed SELinux denial from bug_map. am: d0190d47f3 am: 83cbe5b437
Change-Id: I396133a7528b839005dde0cd7bad0c503c7542bf
2020-03-26 15:55:20 +00:00
Torne (Richard Coles)
83cbe5b437 Remove fixed SELinux denial from bug_map. am: d0190d47f3
Change-Id: I47573db866ef0724eb390a850b493b23d69d50ab
2020-03-26 15:29:12 +00:00
Torne (Richard Coles)
d0190d47f3 Remove fixed SELinux denial from bug_map.
The webview_zygote denial should now be fixed; removing it from the list
so that we see if this regresses or continues to fail.

Bug: 149481620
Test: check for avc denials from webview_zygote
Change-Id: I2265ff314d1fa7956aa8b443040199acccb23e88
2020-03-25 12:43:34 -04:00
Xin Li
f287457dd8 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: 21954f67ff
Change-Id: Ic86eb7d3ecb5f4f34bde90751e5d6fd0e05338f8
2020-03-20 18:32:35 +00:00
Xin Li
21954f67ff DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master
Bug: 151763422
Change-Id: Ie8945a73203c67718c0c9a1761dbb1d74950bbda
2020-03-19 10:10:32 -07:00
Paul Scovanner
6fbcc6fa61 Update wahoo SVN to 42 am: f20a9df793
Change-Id: Ic6a822036ab5ef6a23bb33d780efedf657d3417f
2020-03-18 23:26:11 +00:00
Paul Scovanner
f20a9df793 Update wahoo SVN to 42
Bug: 151752725
Change-Id: I9588b9237f3a8b6d26c5fa5202040b1e32df2ba0
2020-03-17 20:35:28 +00:00
Automerger Merge Worker
5d350d4f07 Merge "Add Alex to OWNERS" am: 2ece80947b am: 8b2004bcaf
Change-Id: Iacae39b84c526c6a09235e52ff0c8bf9996fb6b5
2020-03-06 00:56:41 +00:00
Automerger Merge Worker
8b2004bcaf Merge "Add Alex to OWNERS" am: 2ece80947b
Change-Id: I3e582451dedc027783b98729d69adbd5309f9326
2020-03-06 00:40:24 +00:00
Adam Shih
2ece80947b Merge "Add Alex to OWNERS" 2020-03-06 00:38:48 +00:00
Automerger Merge Worker
0faab66863 Merge stage-aosp-master to aosp-master - DO NOT MERGE am: 00854c24e9 am: 9bd6f3aa8b
Change-Id: If83ea0dc2238adba4d67efddf65e5a7fc3f2f042
2020-03-06 00:26:53 +00:00
Automerger Merge Worker
9bd6f3aa8b Merge stage-aosp-master to aosp-master - DO NOT MERGE am: 00854c24e9
Change-Id: If8a7fa9641a1d9b78e7b55513f41aa6961c014dd
2020-03-06 00:12:19 +00:00
Bill Yi
00854c24e9 Merge stage-aosp-master to aosp-master - DO NOT MERGE
Change-Id: I833ca751f35550f136732cbbdc5f55d25af02d3a
2020-03-05 09:51:00 -08:00
Adam Shih
7afe7269cd Add Alex to OWNERS
Bug: 150822049
Test: None
Change-Id: I40be859487b097cdbfad442e6cb6ffe45875a918
2020-03-05 14:09:24 +08:00
Automerger Merge Worker
dbc165fc04 Temporary add b/149317789 to bugmap am: 6fa9961f40 am: 4ce19ac5b7
Change-Id: I5f5c8a7e46ef0ded36fc7fddf7eac2d7f5471da9
2020-02-21 12:06:34 +00:00
Automerger Merge Worker
4ce19ac5b7 Temporary add b/149317789 to bugmap am: 6fa9961f40
Change-Id: I8b6c426ebf3d455ea08000fef5a2d42c18d063bf
2020-02-21 11:37:39 +00:00
Nikita Ioffe
6fa9961f40 Temporary add b/149317789 to bugmap
On taimen/walley DeviceBootTest.SELinuxUncheckedDenialBootTest
occasionally fails with following selinux denials:

02-10 10:21:23.940   784   784 I auditd  : type=1400 audit(0.0:4): avc: denied { getattr } for comm="apexd" path="/metadata/apex/sessions" dev="sde41" ino=17 scontext=u:r:apexd:s0 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0
02-10 10:21:23.943   784   784 I auditd  : type=1400 audit(0.0:5): avc: denied { read } for comm="apexd" name="sessions" dev="sde41" ino=17 scontext=u:r:apexd:s0 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0
02-10 10:21:24.577   784   784 I auditd  : type=1400 audit(0.0:7): avc: denied { read } for comm="apexd" name="sessions" dev="sde41" ino=17 scontext=u:r:apexd:s0 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0

Since the behaviour is flakey, temporary ignore these denials to deflake
presubmit.

Test: builds
Bug: 149317789
Change-Id: Iff3295d2a9be8cf0029a2e5867ebd231badfc9e8
2020-02-21 09:47:13 +00:00
android-build-team Robot
e75573ee88 Merge cherrypicks of [10297641, 10298303, 10298494, 10298514, 10297196, 10298164, 10297642, 10297643, 10296046, 10296047, 10298245, 10298246, 10297197, 10297198, 10298495, 10298496] into qt-qpr2-release
Change-Id: Id4ea77cdf14ad2659977214a687f9c402bdd716c
2020-02-11 19:08:14 +00:00
Paul Scovanner
39024c07b7 Update Wahoo SVN to 41
Bug:149240442
(cherry picked from commit 9f533c9b7c)

Change-Id: Iac096fcf4f4beb772364ddf9d3ebbe2f9ec156b7
2020-02-11 19:06:25 +00:00
Automerger Merge Worker
7c55be6d66 Update Wahoo SVN to 41 am: 9f533c9b7c
Change-Id: Ib06fe25dc5353599b914f93d586f0de6eaf32241
2020-02-11 00:28:24 +00:00
Paul Scovanner
9f533c9b7c Update Wahoo SVN to 41
Bug:149240442
2020-02-10 21:52:50 +00:00
Automerger Merge Worker
b923f3e4cc [automerger skipped] Merge "DO NOT MERGE - Merge QQ1A.200205.002 into master" am: 2bfdf01a89 -s ours am: 574775e2be -s ours
am skip reason: Change-Id I65fae513a7ea7592697e0be5c3d5acb3c97e4e69 with SHA-1 7c5c702eaa is in history

Change-Id: I9cde97f57f4c4a9ce443454860ee2fc5d4a08e3d
2020-02-08 01:57:47 +00:00
Automerger Merge Worker
91da9076a7 [automerger skipped] DO NOT MERGE - Merge QQ1A.200205.002 into master am: db3180cebe -s ours am: 60f704af60 -s ours
am skip reason: Change-Id I65fae513a7ea7592697e0be5c3d5acb3c97e4e69 with SHA-1 7c5c702eaa is in history

Change-Id: Ie9f79fae3a26f412bbb8bd30f0c29e04d60d26de
2020-02-08 01:55:28 +00:00
Automerger Merge Worker
574775e2be [automerger skipped] Merge "DO NOT MERGE - Merge QQ1A.200205.002 into master" am: 2bfdf01a89 -s ours
am skip reason: Change-Id I65fae513a7ea7592697e0be5c3d5acb3c97e4e69 with SHA-1 7c5c702eaa is in history

Change-Id: Idd3526541e5fa30a05850f5183c56b803b0ecec2
2020-02-08 01:50:27 +00:00
Automerger Merge Worker
60f704af60 [automerger skipped] DO NOT MERGE - Merge QQ1A.200205.002 into master am: db3180cebe -s ours
am skip reason: Change-Id I65fae513a7ea7592697e0be5c3d5acb3c97e4e69 with SHA-1 7c5c702eaa is in history

Change-Id: I732e2b85d661ffd2a02113d47529c4dadde41624
2020-02-08 01:38:44 +00:00
Treehugger Robot
2bfdf01a89 Merge "DO NOT MERGE - Merge QQ1A.200205.002 into master" 2020-02-08 01:29:23 +00:00