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
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
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
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
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
Paul Crowley
f92ea9c4ef
Merge "Switch pattern/PIN constants to match values in cryptfs.h" am: 92f5db4a06
am: 6d418929f0
...
am: a2c5a6b3c2
Change-Id: I93c28ad038ce7bf45e7eff8a1754272a1669ed67
6 years ago
Paul Crowley
a2c5a6b3c2
Merge "Switch pattern/PIN constants to match values in cryptfs.h" am: 92f5db4a06
...
am: 6d418929f0
Change-Id: I68dc3538393c51c2055535eb55587ebb7b697ba7
6 years ago
Greg Kaiser
60d1ab92cc
Merge "cryptfs: Remove Speck support" am: cf0cb0bc1f
am: 421e1059b7
...
am: 1bc4f99b35
Change-Id: I269b8702e27c1849cd121e5152135eeb9136fc50
6 years ago
Greg Kaiser
1bc4f99b35
Merge "cryptfs: Remove Speck support" am: cf0cb0bc1f
...
am: 421e1059b7
Change-Id: I26fe4bc95f91f410cf1242e698e94ed4231c01ee
6 years ago
Paul Crowley
6d418929f0
Merge "Switch pattern/PIN constants to match values in cryptfs.h"
...
am: 92f5db4a06
Change-Id: I6eb0b99b9fbd25ed8f189cbc914a9a3bd7cb3069
6 years ago
Greg Kaiser
421e1059b7
Merge "cryptfs: Remove Speck support"
...
am: cf0cb0bc1f
Change-Id: I4e44dd132d94b7583ab2df50469ac80bf9ae7a9b
6 years ago
Xin Li
6a165eac53
Merge "Merge Android Pie into master" am: 7fcaa13d4c
am: 2042258f38
...
am: ae4709298d
Change-Id: I11cc89572c973a77f8b74c670657225f97c42791
6 years ago
Xin Li
ae4709298d
Merge "Merge Android Pie into master" am: 7fcaa13d4c
...
am: 2042258f38
Change-Id: If376d606aa23dbb916bc8255da9febc5f095ca5a
6 years ago
Xin Li
2042258f38
Merge "Merge Android Pie into master"
...
am: 7fcaa13d4c
Change-Id: I99ee2ff5662766207659cfa1afc9f337f238c781
6 years ago
Treehugger Robot
92f5db4a06
Merge "Switch pattern/PIN constants to match values in cryptfs.h"
6 years ago
Treehugger Robot
cf0cb0bc1f
Merge "cryptfs: Remove Speck support"
6 years ago
Greg Kaiser
713e0bf64f
cryptfs: Remove Speck support
...
am: 17059fe53b
Change-Id: I86d4cc91776ba8c2653d14d609403ab98e98ba64
6 years ago
Greg Kaiser
17059fe53b
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
6 years ago
Paul Crowley
ca08c0a724
Switch pattern/PIN constants to match values in cryptfs.h
...
Bug: 111051602
Test: Steps to reproduce in b/111051602
Change-Id: I21955f41d2594917d5baa1bc4d61da0106cd9170
6 years ago
Greg Kaiser
b353a61292
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
6 years ago
Xin Li
7fcaa13d4c
Merge "Merge Android Pie into master"
6 years ago
Xin Li
25f0830ff1
Merge Android Pie into master
...
Bug: 112104996
Change-Id: Ibda46522d646c0a391c7d19663e4ffdb3d4b30fc
6 years ago
Jaegeuk Kim
5d07d87701
Merge "secdiscard: should pin_file to avoid moving blocks in F2FS" am: cb114c36d8
am: b7b419541b
...
am: 2db64225ca
Change-Id: I01b1903a5d47188432f1eec5d522ead77db18675
6 years ago
Jaegeuk Kim
2db64225ca
Merge "secdiscard: should pin_file to avoid moving blocks in F2FS" am: cb114c36d8
...
am: b7b419541b
Change-Id: I00d955ad5e8671c57b6a3acbe1e694fbf0b28d69
6 years ago
Jaegeuk Kim
b7b419541b
Merge "secdiscard: should pin_file to avoid moving blocks in F2FS"
...
am: cb114c36d8
Change-Id: I3376ce6a9844d26c4e5658fc95477b8d6c9c0afe
6 years ago
Treehugger Robot
cb114c36d8
Merge "secdiscard: should pin_file to avoid moving blocks in F2FS"
6 years ago
Jaegeuk Kim
ab515b2011
secdiscard: should pin_file to avoid moving blocks in F2FS
...
This file should avoid F2FS GC, since it directly access block device based
on fibmap.
Bug: 111659036
Change-Id: I15aef8175c23ba4029eb580e2dba59c77cca8227
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
6 years ago
Jaegeuk Kim
fe69ce34e6
vold: meta encryption: fix /dev/block/by-name/userdata to dm-3
...
am: 31e962fe19
Change-Id: Ib7324e29b7384bc7c1c847ce62af5230fa8a0081
6 years ago
Jaegeuk Kim
31e962fe19
vold: meta encryption: fix /dev/block/by-name/userdata to dm-3
...
This fixes F2FS GC failure in idle-maint.
07-28 18:25:54.838 603 11187 D vold : idle maintenance started
07-28 18:25:54.846 603 11187 D vold : Start GC on /sys/fs/f2fs/sda21
07-28 18:25:54.847 603 11187 W vold : Set discard gralunarity failed on/sys/fs/f2fs/sda21: No such file or directory
07-28 18:25:54.847 603 11187 W vold : Start GC failed on /sys/fs/f2fs/sda21: No such file or directory
Bug: 111953875
Change-Id: I1d10802121d5641cf9ba780fee249affd2cf6ffe
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
6 years ago
Stephen Hines
0aff51eb28
[automerger skipped] Merge "Use std::move() to prevent unnecessary copying. [DO NOT MERGE]" am: 9b18b764bc
-s ours am: 2abec98856
-s ours
...
am: dae4988a56
-s ours
Change-Id: I359147fb152042f803c373d26ed96ba79ca55904
6 years ago
Stephen Hines
dae4988a56
[automerger skipped] Merge "Use std::move() to prevent unnecessary copying. [DO NOT MERGE]" am: 9b18b764bc
-s ours
...
am: 2abec98856
-s ours
Change-Id: I53771e374afee33e97cdd34820ba46e1858621bf
6 years ago
Stephen Hines
2abec98856
[automerger skipped] Merge "Use std::move() to prevent unnecessary copying. [DO NOT MERGE]"
...
am: 9b18b764bc
-s ours
Change-Id: I15fbe10ff91d910478dd67c93fbd9bff8f3fee36
6 years ago
Treehugger Robot
9b18b764bc
Merge "Use std::move() to prevent unnecessary copying. [DO NOT MERGE]"
6 years ago
Stephen Hines
84eaf2f3b6
Use std::move() to prevent unnecessary copying. [DO NOT MERGE]
...
Bug: http://b/110779387
Test: Builds with new toolchain.
Change-Id: I735a3ecda11a662edaddbe21c36433a91bb8a7f1
6 years ago
Bowgo Tsai
1c1186618b
Merge "Do not unmount /mnt/product/* when vold starts" am: 4a625453bf
...
am: 3d4fb41f3d
Change-Id: I264a9ed62e8c1884e928fe17edd35cf99a382129
6 years ago
Bowgo Tsai
3d4fb41f3d
Merge "Do not unmount /mnt/product/* when vold starts"
...
am: 4a625453bf
Change-Id: Idd91865540106b5030f74b26037b61c00719ef28
6 years ago
Treehugger Robot
4a625453bf
Merge "Do not unmount /mnt/product/* when vold starts"
6 years ago
Tri Vo
4cc6e5c08b
[automerger skipped] Merge "Exclude /mnt/vendor from vold's ownership." am: 4a634e3d8c
-s ours
...
am: 8d4da29312
-s ours
Change-Id: Ifa9dceb3573d14683922a84ebe8021adb6ffd12e
6 years ago
Tri Vo
8d4da29312
[automerger skipped] Merge "Exclude /mnt/vendor from vold's ownership."
...
am: 4a634e3d8c
-s ours
Change-Id: I71402c01429c1cd6c16e10398a7d3c0853fb19a4
6 years ago