Xin Li
203ab466d7
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 69a1fd86d3
-s ours
...
am: 5ccd3e3c39
-s ours
am skip reason: change_id I24f07ba89ba6e6dac8adc2a6bb654d75d2b73d3e with SHA1 e3b772e0f7
is in history
Change-Id: I5113813143261cd2779447fe8f30c8c30d0167a3
5 years ago
Xin Li
5ccd3e3c39
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
...
am: 69a1fd86d3
-s ours
am skip reason: change_id I24f07ba89ba6e6dac8adc2a6bb654d75d2b73d3e with SHA1 e3b772e0f7
is in history
Change-Id: If121600192dd236e9b868d579459c566eaddbd69
5 years ago
Xin Li
69a1fd86d3
Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
...
Bug: 135460123
Change-Id: I1605f33ede34c8289a6eede94b62c8695df81b63
Merged-In: I24f07ba89ba6e6dac8adc2a6bb654d75d2b73d3e
5 years ago
Steven Moreland
caeeec6490
Merge "Remove libhwbinder/libhidltransport deps" am: 88a19b6fe1
am: e3b772e0f7
...
am: 149f8d0754
Change-Id: I5748a2bf1d10a872d45d4e4906434f8243fb54c6
5 years ago
Steven Moreland
149f8d0754
Merge "Remove libhwbinder/libhidltransport deps" am: 88a19b6fe1
...
am: e3b772e0f7
Change-Id: I85611b0fb0615505d06f447e46083ed2f214e8e4
5 years ago
Steven Moreland
e3b772e0f7
Merge "Remove libhwbinder/libhidltransport deps"
...
am: 88a19b6fe1
Change-Id: I24f07ba89ba6e6dac8adc2a6bb654d75d2b73d3e
5 years ago
Treehugger Robot
88a19b6fe1
Merge "Remove libhwbinder/libhidltransport deps"
5 years ago
Xin Li
ae4ee5e447
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: d3ceab2566
-s ours am: 9938a041f4
...
am: 33658d3c27
Change-Id: If628c65b83bedcf79aa654a257db39886af2f5f1
5 years ago
Steven Moreland
4496ef9d34
Remove libhwbinder/libhidltransport deps
...
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I890b572d537d66ecb49effd8efc782279c52956e
5 years ago
Xin Li
33658d3c27
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: d3ceab2566
-s ours
...
am: 9938a041f4
Change-Id: If7462b1223a40a9ac8f886e116e6674f9f96e8e3
5 years ago
Xin Li
9938a041f4
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master"
...
am: d3ceab2566
-s ours
am skip reason: subject contains skip directive
Change-Id: Icfb843d38c7e0ed07d1f09982bffdbfaa290d1f6
5 years ago
Xin Li
d3ceab2566
Merge "DO NOT MERGE - Merge Android 10 into master"
5 years ago
Xin Li
85a94961df
DO NOT MERGE - Merge Android 10 into master
...
Bug: 139893257
Change-Id: I9dc8417f0d87c87eac13437834e69a52c1887258
5 years ago
Paul Lawrence
68094b8d13
Merge "Fix ext4/metadata/udc issue" am: ee867be1f1
am: 3096e373be
am: 4b1dad6065
...
am: d0282ac35d
Change-Id: I4d52cc2fe823ba8f18ff6f349259d77ab131bf1f
5 years ago
Paul Lawrence
d0282ac35d
Merge "Fix ext4/metadata/udc issue" am: ee867be1f1
am: 3096e373be
...
am: 4b1dad6065
Change-Id: I667b5dca43a554a7f9445e18f0d536e3c7582df4
5 years ago
Paul Lawrence
4b1dad6065
Merge "Fix ext4/metadata/udc issue" am: ee867be1f1
...
am: 3096e373be
Change-Id: I99ba00610a8f48f58bc8f51952bad49c6dc73fb1
5 years ago
Paul Lawrence
3096e373be
Merge "Fix ext4/metadata/udc issue"
...
am: ee867be1f1
Change-Id: I69b89b464a4d04b27e1da7d3990dcbec9525afe4
5 years ago
Paul Lawrence
ee867be1f1
Merge "Fix ext4/metadata/udc issue"
5 years ago
Paul Lawrence
0f3c17b50f
Merge "Fix crash in mainline" am: 3a0d51f6b7
am: 6c5944f899
am: 9cd7fdc882
...
am: 06bd0c427f
Change-Id: I689671afb25643d2e36e65e13374dd69051341b2
5 years ago
Paul Lawrence
06bd0c427f
Merge "Fix crash in mainline" am: 3a0d51f6b7
am: 6c5944f899
...
am: 9cd7fdc882
Change-Id: I13d6316005c1df1482f8426a25d672519873b4d1
5 years ago
Paul Lawrence
9cd7fdc882
Merge "Fix crash in mainline" am: 3a0d51f6b7
...
am: 6c5944f899
Change-Id: I2d40676c59d364c02154bced41e6ce818b5d4886
5 years ago
Paul Lawrence
6c5944f899
Merge "Fix crash in mainline"
...
am: 3a0d51f6b7
Change-Id: I63925fd090707f56076a59349c237a83f4ec8234
5 years ago
Treehugger Robot
3a0d51f6b7
Merge "Fix crash in mainline"
5 years ago
Paul Lawrence
9a6d1f73e5
Fix crash in mainline
...
Current behavior:
Assume not checkpointing
cp_startCheckpoint creates the file in metadata
cp_needsCheckpoint will now set isCheckpointing to true
cp_commitCheckpoint will now think there is a checkpoint, and try to
commit it. This will fail on ext4 and it will return false, leading to
bad things.
cp_startCheckpoint is called when staging an apex module for update.
After this point, several things could go wrong:
If a keystore key is deleted, it calls cp_needsCheckpoint to see if the
delete should be deferred until cp_commitCheckpoint. The delete will now
be deferred, meaning that this key will never be deleted, using up the
key sots in trustzone
If a trim is scheduled through idle maintenance, this also calls
cp_needsCheckpoint, so the trims will not occur.
If either of these happens before a system crash, the device will not
recover since the system calls commitCheckpoint which will now crash.
When the system then goes on to reboot, the checkpoint will not be
triggered, since the commitCheckpoint call will have deleted the
checkpoint flag file before crashing.
Bug: 138952436
Test: vdc checkpoint startCheckpoint 5
vdc checkpoint needsCheckpoint
vdc checkpoint commitChanges
stop;start
commitChanges fails, then device loops
After applying this test, commitChanges succeeds and device does
not loop
Change-Id: I135099625f77344d1f8d2e8688735871c44ef2f5
5 years ago
Paul Lawrence
18aca481ff
Merge "Fix race condition is commitCheckpoint" am: 1059810759
am: 556bd755e6
am: 86bc2a32d8
...
am: 466c1c07dd
Change-Id: Iedcdde19dc54a2a9ee5a1b104f1bcc9c46ca8af7
5 years ago
Paul Lawrence
466c1c07dd
Merge "Fix race condition is commitCheckpoint" am: 1059810759
am: 556bd755e6
...
am: 86bc2a32d8
Change-Id: Ie255d33f5f6efd049c0a3e8a619c1333069c0e8c
5 years ago
Paul Lawrence
86bc2a32d8
Merge "Fix race condition is commitCheckpoint" am: 1059810759
...
am: 556bd755e6
Change-Id: Ie80a3c123a5d30915cade7ddc1aad2d790476448
5 years ago
Paul Lawrence
556bd755e6
Merge "Fix race condition is commitCheckpoint"
...
am: 1059810759
Change-Id: I3cb7931ee01d208cb6f5f435aa5fc40cacd78b65
5 years ago
Treehugger Robot
1059810759
Merge "Fix race condition is commitCheckpoint"
5 years ago
Paul Lawrence
1d57f686a3
Fix race condition is commitCheckpoint
...
If cp_commitCheckpoint is called twice at the same time, the second call
to setBowState will fail.
Add lock to remove possibility, and protect all uses of isCheckpointing
Bug: 138952436
Test: Boots after flashing in checkpoint mode
Change-Id: I131298adc506c3c176774d15e642b13d5f991087
5 years ago
Paul Lawrence
4b140d397f
Fix ext4/metadata/udc issue
...
Test: Cannot test since no device supports this combo
Bug: 137924328
Change-Id: I451c90e0826ede71876f3e4f260e7083f3ab3fdb
5 years ago
android-build-team Robot
c4fd7be670
Snap for 5797917 from 6c5e453f9e
to qt-c2f2-release
...
Change-Id: I92e29452f176731c03fc482e5394cc5fad17c9c9
5 years ago
Jaegeuk Kim
7ebe1a4bd8
secdiscard: should call fsync to avoid reordering IOs am: 6c5e453f9e
...
am: 2af145ef20
Change-Id: I6580f3e7b2adbb910295657e3c6ae67b8893da2a
5 years ago
Jaegeuk Kim
ceac8b8587
secdiscard: should call fsync to avoid reordering IOs am: 6c5e453f9e
...
am: 732faaeb94
Change-Id: I8ae6f3b8e7950a9978741879d3b4ac344af61a60
5 years ago
Jaegeuk Kim
732faaeb94
secdiscard: should call fsync to avoid reordering IOs
...
am: 6c5e453f9e
Change-Id: I5710fcce302d040a29ff798df85bf71ef6e3fbb5
5 years ago
Jaegeuk Kim
2af145ef20
secdiscard: should call fsync to avoid reordering IOs
...
am: 6c5e453f9e
Change-Id: I90de814c136171d4ff2ce913b801171e7f27c70e
5 years ago
Jaegeuk Kim
6c5e453f9e
secdiscard: should call fsync to avoid reordering IOs
...
Don't make stale zero'ing IO in block device after unlink, since filesystem
can reuse the block addresses and issue some IOs. If block layer reordered
two IOs, filesystem will see zero data, which crashes filesystem consistency.
Bug: 136964285
Test: run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.CrossProfileAppsHostSideTest
Change-Id: I43c13622d094cecda1c53468adc240002111d605
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
5 years ago
David Anderson
0be952d362
Merge "libdm now requires linking to libext2_uuid." am: 9e821da9fe
am: e91c2686e9
...
am: d26cb98c4d
Change-Id: Ie6988c9cdf17a1f36a4f9aa59544ba5f461d825b
5 years ago
David Anderson
d26cb98c4d
Merge "libdm now requires linking to libext2_uuid." am: 9e821da9fe
...
am: e91c2686e9
Change-Id: I585749bae8d30931a164b5f2a7900fea2fe1aa29
5 years ago
David Anderson
e91c2686e9
Merge "libdm now requires linking to libext2_uuid."
...
am: 9e821da9fe
Change-Id: Id33c9fc83352535cb45f27e70dec6000c73b07a5
5 years ago
David Anderson
9e821da9fe
Merge "libdm now requires linking to libext2_uuid."
5 years ago
Xin Li
ccf6d331b8
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master" am: 711f4faac3
-s ours am: e7487087d0
-s ours
...
am: 49304ac627
Change-Id: I0ef4e364f9afe14cec3a1c9a6d389709bf2e59ce
5 years ago
Xin Li
1c4860773a
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master am: 33080d8b49
-s ours am: 2c1e06e589
-s ours
...
am: 4c373e4563
Change-Id: If915398214afac55d629175c502dbaaa1a875f3c
5 years ago
Xin Li
49304ac627
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master" am: 711f4faac3
-s ours
...
am: e7487087d0
-s ours
am skip reason: subject contains skip directive
Change-Id: I94ad8ca99f9a6b2aa522e8371794d43ae8840117
5 years ago
Xin Li
e7487087d0
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"
...
am: 711f4faac3
-s ours
am skip reason: subject contains skip directive
Change-Id: I334dfe94d70709434fd3c98c581a80cc4a7c00a4
5 years ago
Xin Li
4c373e4563
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master am: 33080d8b49
-s ours
...
am: 2c1e06e589
-s ours
am skip reason: subject contains skip directive
Change-Id: If8cd430d5b10fbc50fc0cde9314644ec34b2309b
5 years ago
Xin Li
2c1e06e589
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
...
am: 33080d8b49
-s ours
am skip reason: subject contains skip directive
Change-Id: Id76bbc6615fa330e65f857c365e96c446855a242
5 years ago
Xin Li
711f4faac3
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"
5 years ago
Xin Li
33080d8b49
DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
...
Bug: 136196576
Change-Id: I2fc2c9bb2631e627ebe74b6f081819c1eb0f3fcd
5 years ago
android-build-team Robot
ec0cb71ca1
Snap for 5622519 from 59295fbb94
to pi-platform-release
...
Change-Id: I402d144258df8eefe4c87766616ba32221bfbb67
5 years ago