Yifan Hong
e0a7888435
Merge "health.filesystem HAL renamed to health.storage"
...
am: 15b9656ae9
Change-Id: Id587f968eea321254589a0d0f3cd5fc23be56739
6 years ago
Paul Crowley
50cd072d3b
Merge "clang-format the rest of the files"
...
am: 1934619b8b
Change-Id: I6265495330a13f687628b2143b9f78eb25380104
6 years ago
Yifan Hong
15b9656ae9
Merge "health.filesystem HAL renamed to health.storage"
6 years ago
Treehugger Robot
1934619b8b
Merge "clang-format the rest of the files"
6 years ago
Paul Crowley
8915d62847
clang-format the rest of the files
...
Apply clang-format to fix the remaining files not fixed by
change I23cde3f0bbcac13bef555d13514e922c79d5ad48
Test: Format-only changes; treehugger suffices.
Change-Id: I1bfd5c8d68d298596875d5edae26cdfe27c03489
Merged-In: I1bfd5c8d68d298596875d5edae26cdfe27c03489
6 years ago
Paul Crowley
edf7a4eb95
clang-format the rest of the files
...
Apply clang-format to fix the remaining files not fixed by
change I23cde3f0bbcac13bef555d13514e922c79d5ad48
Test: Format-only changes; treehugger suffices.
Change-Id: I1bfd5c8d68d298596875d5edae26cdfe27c03489
6 years ago
Paul Crowley
b2efa615db
Merge "clang-format many files." am: a676df01e2
am: 957b9544dd
...
am: 8b2b67bc1e
Change-Id: Iad04e9517cd01e2ea13281b31e7b13ae75414d7e
6 years ago
Paul Crowley
8b2b67bc1e
Merge "clang-format many files." am: a676df01e2
...
am: 957b9544dd
Change-Id: I1491697e406ab4362625cffeacff4629a1faf7c2
6 years ago
Paul Crowley
957b9544dd
Merge "clang-format many files."
...
am: a676df01e2
Change-Id: Iecaed7fd342df49d628c2bc68f1bf5439163d918
6 years ago
Paul Crowley
a676df01e2
Merge "clang-format many files."
6 years ago
Yifan Hong
91a68dfc98
health.filesystem HAL renamed to health.storage
...
Bug: 111655771
Test: compiles
Change-Id: Ibfcab4d116d735ba2f80a8b0ead314138a7ba23d
Merged-In: Ibfcab4d116d735ba2f80a8b0ead314138a7ba23d
6 years ago
Yifan Hong
7a37c93825
health.filesystem HAL renamed to health.storage
...
Bug: 111655771
Test: compiles
Change-Id: Ibfcab4d116d735ba2f80a8b0ead314138a7ba23d
6 years ago
Paul Crowley
d6366c79c8
[automerger skipped] Merge "vold: metadata encryption: ensure F2FS GC targets correct device." am: 3adf30745a
am: 61ab6986a6
-s ours
...
am: 479759618d
-s ours
Change-Id: Ib483e983a9e80e97f892ff08594c6e4b73acd990
6 years ago
Paul Crowley
479759618d
[automerger skipped] Merge "vold: metadata encryption: ensure F2FS GC targets correct device." am: 3adf30745a
...
am: 61ab6986a6
-s ours
Change-Id: I94fb53a5098a8ab55b8079b2810ae011b6dcc5d8
6 years ago
Paul Crowley
61ab6986a6
Merge "vold: metadata encryption: ensure F2FS GC targets correct device."
...
am: 3adf30745a
Change-Id: I9df60bbc12d7c70c0bd0fbda1e8604051306a8ee
6 years ago
Paul Crowley
3adf30745a
Merge "vold: metadata encryption: ensure F2FS GC targets correct device."
6 years ago
Paul Crowley
14c8c0765a
clang-format many files.
...
Test: Format-only changes; treehugger suffices.
Change-Id: I23cde3f0bbcac13bef555d13514e922c79d5ad48
6 years ago
Jaegeuk Kim
1251ef0bcf
vold: metadata encryption: ensure F2FS GC targets correct device.
...
This fixes F2FS GC failure in idle-maint.
Bug: 111953875
Change-Id: I1d10802121d5641cf9ba780fee249affd2cf6ffe
Merged-In: I1d10802121d5641cf9ba780fee249affd2cf6ffe
Test: Tested by hand
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
6 years ago
Roman Kiryanov
fe8a9aedd2
[automerger skipped] Merge "Do not crash if secontext is nullptr" am: 6418bb7d34
am: 95d26139a4
...
am: 598cc7a7af
-s ours
Change-Id: I4536831abc130299e7d1e61dccf42c06c42a5746
6 years ago
Roman Kiryanov
598cc7a7af
Merge "Do not crash if secontext is nullptr" am: 6418bb7d34
...
am: 95d26139a4
Change-Id: Ib169be64e25377e88ae32cedc1b0dad7403a5876
6 years ago
Roman Kiryanov
95d26139a4
Merge "Do not crash if secontext is nullptr"
...
am: 6418bb7d34
Change-Id: Iad725cb3c6a40a0917106dee3b2b604b1cb921a5
6 years ago
Treehugger Robot
6418bb7d34
Merge "Do not crash if secontext is nullptr"
6 years ago
Roman Kiryanov
bda3032fcc
Do not crash if secontext is nullptr
...
LOG(DEBUG) tries to print a string pointed by secontext.get() but
crashed if it was nullptr.
Bug: 111888637
Test: "make -j50" and ran emulator
Change-Id: Iac78f650e7f48781030dc610f7d35cd52c250802
Merged-In: Iac78f650e7f48781030dc610f7d35cd52c250802
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years ago
Yifan Hong
d313923168
Merge "vold uses health filesystem HAL" am: fa96af82f3
am: def8ce02b6
...
am: b85bcf9fcd
Change-Id: I521bf059f931d0bdea12cc264d9573ca9b84266e
6 years ago
Yifan Hong
b85bcf9fcd
Merge "vold uses health filesystem HAL" am: fa96af82f3
...
am: def8ce02b6
Change-Id: I74bcb1519d1bc2d62bdf018a9ed7068c6dfdfbfe
6 years ago
Yifan Hong
def8ce02b6
Merge "vold uses health filesystem HAL"
...
am: fa96af82f3
Change-Id: I232955955686a2767d290863278b49f4f99520c5
6 years ago
Treehugger Robot
fa96af82f3
Merge "vold uses health filesystem HAL"
6 years ago
Yifan Hong
024a1241a6
vold uses health filesystem HAL
...
to runDevGc(). This fixes a Treble violation.
Bug: 111655771
Test: manual
Change-Id: I53d6db6ffa99e43e281f8086442151692c1826ca
6 years ago
Jaegeuk Kim
4a8b4a4185
Merge "fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE" am: 3a7f95af09
am: d305bbc526
...
am: eea54423a1
Change-Id: I8823e7c248a2aff44221a4303d6be50ac9dfe724
6 years ago
Jaegeuk Kim
eea54423a1
Merge "fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE" am: 3a7f95af09
...
am: d305bbc526
Change-Id: I081acbf5462c972af270f9e68926dae1b49a0c8f
6 years ago
Jaegeuk Kim
d305bbc526
Merge "fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE"
...
am: 3a7f95af09
Change-Id: I74d6b44bb7de16b57e9ed0b42cec70e7633b28e1
6 years ago
Treehugger Robot
3a7f95af09
Merge "fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE"
6 years ago
Jaegeuk Kim
1dcfbe2a01
fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE
...
Change-Id: I0cf212c3e1770e233ae1f70e7fc4a6d70b82583e
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
6 years ago
Jeff Sharkey
8fbb211b8c
Merge "vold should be fully developed in AOSP." am: de85ef5c37
am: d7b918f9f3
...
am: c14e93495b
Change-Id: I63f60fe2ba9c8a8652ee663baa1b214202fee39f
6 years ago
Jeff Sharkey
c14e93495b
Merge "vold should be fully developed in AOSP." am: de85ef5c37
...
am: d7b918f9f3
Change-Id: I67eba7b8c6cf076314f5848e4623419931c5131a
6 years ago
Jeff Sharkey
d7b918f9f3
Merge "vold should be fully developed in AOSP."
...
am: de85ef5c37
Change-Id: I41da6719f6d9fc4a358bb8a0d99358360d779182
6 years ago
Treehugger Robot
de85ef5c37
Merge "vold should be fully developed in AOSP."
6 years ago
Jeff Sharkey
8ecdb493d9
vold should be fully developed in AOSP.
...
Bug: 113136846
Test: manual
Change-Id: Ifdd54260153d47e47aca5f422bffcc828d45dc28
6 years ago
Sudheer Shanka
c756209b89
Create sandboxes for newly installed apps.
...
Bug: 111890351
Test: manual
Change-Id: I1b7f5bd25e04f9f4a61d0d4f64bbbb0ca6157fa5
6 years ago
Sudheer Shanka
4a923e216d
Merge "Use /mnt/storage for bind mounting package sandboxes."
6 years ago
Sudheer Shanka
3a7ee5c2ae
Use /mnt/storage for bind mounting package sandboxes.
...
Create a new slave bind mount at /mnt/storage and use this for
creating package sandboxes. This will help prevent package
specific data directories from getting duplicated and also make
handling bind mounts for packages with sharedUserIds easier.
Bug: 111890351
Test: manual
Change-Id: I0f590cc99a379d93f6db85bf56e8d274e3ea7488
6 years ago
Sudheer Shanka
70a7828f34
Add a new external storage mount mode.
...
MODE_EXTERNAL_FULL is added which indicates the app
should get access to entire external storage.
Bug: 111890351
Test: manual
Change-Id: Ie2d8c99f4e3bf064ed238ade7bbf625aa2d1e907
6 years ago
android-build-team Robot
31cfdaaa08
Merge cherrypicks of [4793640, 4793602, 4793603, 4793660, 4793604, 4793680, 4793681, 4793581, 4793582, 4793625, 4793626, 4793627, 4793628, 4793700, 4793701, 4793702, 4793703, 4793704, 4793705, 4793661, 4793720, 4793721, 4793722, 4793723, 4793724, 4793725, 4793726, 4793727, 4793728, 4793583, 4793740, 4793760, 4793662, 4793780, 4793729] into pi-release-2
...
Change-Id: I665794d270556b24de04163aad6fd27dc2fcc4a5
6 years ago
Greg Kaiser
e7d3304fee
cryptfs: Remove Speck support
...
Remove the Speck encryption support. It was eventually
decided not to allow Speck in Android P, so this code
is no longer needed and wasn't used outside of testing.
Note we don't just "git revert" the original commit
(38723f23ff
) because we want
to retain the infrastructure for allowing new types of
crypto algorithms in the future.
Bug: 112009351
Test: Attempted to setup a device with ro.crypto.fde_algorithm set to Speck, and Speck was rejected and the system defaulted to AES.
Change-Id: I69a8b4e8632f8d30b5b54783cb986ab42d4397d9
(cherry picked from commit 17059fe53b
)
6 years ago
Jaegeuk Kim
f2ccd56e7a
Merge "vold: Grant root group" am: 732def209c
am: 66166118d2
...
am: 0b254f317b
Change-Id: Ie712749a4acd29cafb217d2a3875df224dddd789
6 years ago
Jaegeuk Kim
0b254f317b
Merge "vold: Grant root group" am: 732def209c
...
am: 66166118d2
Change-Id: I4fa1f6c4f0c58ef8c51e1648bf00daab2aa0f5a6
6 years ago
Jaegeuk Kim
66166118d2
Merge "vold: Grant root group"
...
am: 732def209c
Change-Id: If13da04a9cff5a54665626397b9c6bc165df10c7
6 years ago
Treehugger Robot
732def209c
Merge "vold: Grant root group"
6 years ago
Paul Crowley
1ffa22e2ff
Merge "Switch pattern/PIN constants to match values in cryptfs.h" am: 92f5db4a06
am: 6d418929f0
am: a2c5a6b3c2
...
am: f92ea9c4ef
Change-Id: I5ce921cb9c1ca0f27424ceb84e49793bb2c81d5d
6 years ago
Jaegeuk Kim
c0eea5736e
vold: Grant root group
...
When using make_f2fs to format a filesystem with quota enabled, make_f2fs
will write quota record with group id equtal to make_f2fs's execution
group id.
Vold shall run as root group so that make_f2fs forked by vold will enherit
vold's root group. Make_f2fs can then write quota record with group id for
root group and therefore kernel quota driver can find quota record for
root group.
Bug: 111775499
Change-Id: I0c1fef760597d1695586d24365200b25e2cf07e6
Signed-off-by: Light Hsieh <light.hsieh@mediatek.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
6 years ago