Oleksiy Avramchenko
da44c06320
Promote free bytes calculation to 64 bits am: 2403b4d056
...
am: aebfa6e7ee
* commit 'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b':
Promote free bytes calculation to 64 bits
9 years ago
Oleksiy Avramchenko
aebfa6e7ee
Promote free bytes calculation to 64 bits
...
am: 2403b4d056
* commit '2403b4d0561c756ed5102aaf6048a80c9993f6f8':
Promote free bytes calculation to 64 bits
9 years ago
Jeff Sharkey
8643c83d8d
Kill apps using storage through bind mounts. am: 89f74fbf25
...
am: 71ac649c1d
* commit '71ac649c1d179a8d97db6fd1862f8b0d992a6751':
Kill apps using storage through bind mounts.
9 years ago
Jeff Sharkey
71ac649c1d
Kill apps using storage through bind mounts.
...
am: 89f74fbf25
* commit '89f74fbf2529d708534c041d2b711af0f1feff9f':
Kill apps using storage through bind mounts.
9 years ago
Oleksiy Avramchenko
2403b4d056
Promote free bytes calculation to 64 bits
...
The expression otherwise overflows for large devices.
It's fsblkcnt_t -> unsigned long, which is 32 bit on ARMv7.
Bug: 25162062
Change-Id: I46c5e00558b7dbd6abd50fae4727396079044df2
9 years ago
Jeff Sharkey
89f74fbf25
Kill apps using storage through bind mounts.
...
When unmounting an emulated volume, look for apps with open files
using the final published volume path.
Without this change, we were only looking at the internal paths
used for runtime permissions, which apps never use directly. This
meant we'd always fail to unmount the volume if apps didn't respect
the EJECTING broadcast, and volume migration would end up wedged
until the device rebooted.
Bug: 24863778
Change-Id: Ibda484e66ab95744c304c344b226caa5b10b7e2e
9 years ago
Paul Lawrence
6169737bbd
Don\'t show UI on default encryption
...
am: 6ae8604c10
* commit '6ae8604c1006e6ba0f687680387062d4acf1e41b':
Don't show UI on default encryption
9 years ago
Paul Lawrence
6ae8604c10
Don't show UI on default encryption
...
Merge of https://googleplex-android-review.git.corp.google.com/#/c/764976
Bug: 22989588
Change-Id: I3a6b01ee80446e0955e2039f88a627d37ee6caef
9 years ago
Jeff Sharkey
18f44aa6ae
Merge "Promote free bytes calculation to 64 bits" am: 7d17af08a8
am: d3c7060ba5
...
am: 0130fc6cfb
* commit '0130fc6cfb77c4a835e7df2f48fc47fdd1a9855a':
Promote free bytes calculation to 64 bits
9 years ago
Jeff Sharkey
0130fc6cfb
Merge "Promote free bytes calculation to 64 bits" am: 7d17af08a8
...
am: d3c7060ba5
* commit 'd3c7060ba53d87c58103b1776815fea9d29e39cc':
Promote free bytes calculation to 64 bits
9 years ago
Jeff Sharkey
d3c7060ba5
Merge "Promote free bytes calculation to 64 bits"
...
am: 7d17af08a8
* commit '7d17af08a80c3d9a14a3fe11d70bd12d59641a7b':
Promote free bytes calculation to 64 bits
9 years ago
Jeff Sharkey
7d17af08a8
Merge "Promote free bytes calculation to 64 bits"
9 years ago
Paul Lawrence
a004e4f8f2
Merge "Don\'t show UI on default encryption" into mnc-dr-dev am: 2309f76d17
...
am: 01a856d5ca
* commit '01a856d5ca99d2c51382de57c02c053d3de88c7d':
Don't show UI on default encryption
9 years ago
Paul Lawrence
01a856d5ca
Merge "Don\'t show UI on default encryption" into mnc-dr-dev
...
am: 2309f76d17
* commit '2309f76d17171a4e9b2593ff248861eb3a41ec5a':
Don't show UI on default encryption
9 years ago
Paul Lawrence
2309f76d17
Merge "Don't show UI on default encryption" into mnc-dr-dev
9 years ago
Mateusz Nowak
a4f48d0f44
vold: fix 64 bit ioctl error
...
Changing the num_sectors used in ioctl with BLKGETSIZE because
the kernel expects an unsigned long type and then changes 64 bits
with a 64 bits userspace. This overwrites what's located close to
the parameter location if any.
Change-Id: I78fd61a1084de2741f39b926aa436462518709a0
Signed-off-by: Mateusz Nowak <mateusz.nowak@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
9 years ago
Mateusz Nowak
6440379f1b
Make sure path is not NULL to avoid fatal exception.
...
Change-Id: I75fd5d90cf0f75c28e75582fcae934afa4bf29c4
Signed-off-by: Mateusz Nowak <mateusz.nowak@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
9 years ago
Mateusz Nowak
3dd39309d0
Handle non-format partition in Vold
...
fsck_msdos will retun error code 8 when the partition is non-format.
Handle this error code and continue next partition in Vold.
Change-Id: I31499ccb16945ffbc67bdc92dfbc3ea71e82573a
Signed-off-by: Mateusz Nowak <mateusz.nowak@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
9 years ago
Jeff Sharkey
1790fe66e7
am f6852593: am cb42a40a: Merge "Clean up any/all stale partition tables." into mnc-dr-dev
...
* commit 'f68525931e1b9ab6938d87bb95a2fa7966f046c4':
Clean up any/all stale partition tables.
9 years ago
Jeff Sharkey
f68525931e
am cb42a40a: Merge "Clean up any/all stale partition tables." into mnc-dr-dev
...
* commit 'cb42a40a871bc8f06f0a37d321dbe2e7693da0e5':
Clean up any/all stale partition tables.
9 years ago
Jeff Sharkey
cb42a40a87
Merge "Clean up any/all stale partition tables." into mnc-dr-dev
9 years ago
Oleksiy Avramchenko
e76cf536a4
Promote free bytes calculation to 64 bits
...
The expression otherwise overflows for large devices.
It's fsblkcnt_t -> unsigned long, which is 32 bit on ARMv7.
Change-Id: I46c5e00558b7dbd6abd50fae4727396079044df2
9 years ago
Sami Tolvanen
aeca741ce6
am f0500a08: am 0331d4ae: am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"
...
* commit 'f0500a08230f068a1cf55e4de3cfc389d51f8669':
Error correction: Add libfec dependencies for vold
9 years ago
Sami Tolvanen
f0500a0823
am 0331d4ae: am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"
...
* commit '0331d4ae3843f682e98bfa1aba0f8da7fbd9beb0':
Error correction: Add libfec dependencies for vold
9 years ago
Sami Tolvanen
0331d4ae38
am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"
...
* commit '685dfdd33590ef8a93627015c434fea54b8f1b4d':
Error correction: Add libfec dependencies for vold
9 years ago
Sami Tolvanen
685dfdd335
Merge "Error correction: Add libfec dependencies for vold"
9 years ago
David Ng
dfe3d869a5
am 44710f0f: am 82fd804f: vold: Retry opening block device on failure when starting encryption
...
* commit '44710f0f9c868f999aecb91a8d3cd8bf9536b283':
vold: Retry opening block device on failure when starting encryption
9 years ago
David Ng
44710f0f9c
am 82fd804f: vold: Retry opening block device on failure when starting encryption
...
* commit '82fd804f8ba49399f425bf43681b9b7fe464d9a1':
vold: Retry opening block device on failure when starting encryption
9 years ago
David Ng
82fd804f8b
vold: Retry opening block device on failure when starting encryption
...
The device mapper storage device node can take some time to be
created; so retry.
Bug: 23024596
Change-Id: Ieeb3b697f9cef72d4ea9d106750696901f0a224d
9 years ago
Sami Tolvanen
efe67cd25d
Error correction: Add libfec dependencies for vold
...
Vold requires libfec and related dependencies due to fs_mgr_mount_all.
Bug: 21893453
Change-Id: If59df0c5fd3395d4aac97dd8119b7c70c0fa5d4d
9 years ago
Jeff Sharkey
dadcceea7a
Clean up any/all stale partition tables.
...
When formatting media as a public volume, we write an MBR, but we
might leave a stale GPT floating around. Some devices are configured
to aggressively prefer GPT when detected, even if the checksums
between primary/secondary don't match.
To work around this, nuke both MBR and GPT tables from the media
before we lay down our new MBR.
Bug: 24112219
Change-Id: Ibf1be466a6877cbab925a24db5e5dbab0613bea7
9 years ago
Jeff Sharkey
aa5ffaeef2
am 1690c1bc: am 1a20a648: Enable benchmark after trim, when requested.
...
* commit '1690c1bca2b7d7e08f1b0f536b6e58a890051546':
Enable benchmark after trim, when requested.
9 years ago
Jeff Sharkey
1690c1bca2
am 1a20a648: Enable benchmark after trim, when requested.
...
* commit '1a20a6487faad2869eaec962e4373402aa7461b3':
Enable benchmark after trim, when requested.
9 years ago
Jeff Sharkey
1a20a6487f
Enable benchmark after trim, when requested.
...
The framework can request that a benchmark be run after an fstrim,
but it was disabled due to a kernel bug on certain devices. That bug
has long been fixed, so it should be safe to enable this again.
Bug: 23942769
Change-Id: Ibe967a75856d0cbad45e2f8f3120f1970caf36d0
9 years ago
Paul Lawrence
569649ff1d
Don't show UI on default encryption
...
Bug: 22989588
Change-Id: I21403233d84031869d929c46c3c7b2ebefb3caff
9 years ago
Paul Crowley
34c02173c8
am 2ada9517: am 480fcd27: Set uid/gid of newly created user dirs to system/system.
...
* commit '2ada95176863c9f73dbaea64e57c46a1a45b632f':
Set uid/gid of newly created user dirs to system/system.
9 years ago
Paul Crowley
2ada951768
am 480fcd27: Set uid/gid of newly created user dirs to system/system.
...
* commit '480fcd2750c1d30f3397d1f3152519a11f60990b':
Set uid/gid of newly created user dirs to system/system.
9 years ago
Tom Cherry
b763ccc61e
am fa68681a: am 79b6fdfc: (-s ours) update bundled rc files to their contents from rootdir/init.rc
...
* commit 'fa68681ac763b458f9e3afc8c2bfcb9e22a3cda4':
update bundled rc files to their contents from rootdir/init.rc
9 years ago
Tom Cherry
c62ddc1edf
am efbaf0de: am 685439bb: (-s ours) am 218f48d6: Merge "bundle init.rc contents with its service"
...
* commit 'efbaf0de3651c7efa3ed946bcd9f11781cc1fe68':
9 years ago
Elliott Hughes
f50b5a8a00
am debb3f8c: am b1259ffd: (-s ours) am f298f6be: Merge "Use errno correctly."
...
* commit 'debb3f8cba49db2dff687a5758aebdbbd99b6393':
9 years ago
Elliott Hughes
59d0923138
am d9aea039: am 3097d0e1: (-s ours) am 6d24e086: Merge "Remove dead code."
...
* commit 'd9aea039e80363c2256e83fe86d155803dc908f9':
9 years ago
Jeff Sharkey
59e8e5b6cc
am 88fbc742: am 7206b42b: (-s ours) am eddf9bd6: Request specific tags from blkid.
...
* commit '88fbc742958684f171e79159b40edfee07127916':
9 years ago
Jeff Sharkey
78b7bfb8e9
am fce8034b: am 2b8f194f: (-s ours) am 1bd078fa: Protect runtime storage mount points.
...
* commit 'fce8034b3ee211c565d5afd2a98ef241c57079fd':
9 years ago
Jeff Sharkey
7a3a03f6bc
am 489fce1c: am 3a60599a: (-s ours) am 8474ee32: Return useful path when not visible.
...
* commit '489fce1c852f546410f175be0a9244b7dd149913':
9 years ago
Jeff Sharkey
238dec3507
am c4ecb517: am 26934b09: (-s ours) am d46687ee: Use random data for benchmark instead of zeros.
...
* commit 'c4ecb5175079439932ec33e5126e47dae0e82a56':
9 years ago
Jeff Sharkey
8d8b741d0a
am e7556ee8: am 09b542f2: (-s ours) am 20642ae7: Give secondary users read-only physical cards.
...
* commit 'e7556ee8146bde034ccd534732d785b03d15d394':
9 years ago
Jeff Sharkey
fd8cda2de7
am 8a286762: am 15c6489a: (-s ours) am 32679a82: Create user directory on emulated storage.
...
* commit '8a286762893788a9b21b486e7e5ad25ae6a728b8':
9 years ago
Jeff Sharkey
9c73451464
am 287cc74d: am 0d3fe815: (-s ours) am 81f55c6d: Mount emulated volumes as consistent location.
...
* commit '287cc74d0e379e2dfdc5157b840954a721862db2':
9 years ago
Tom Cherry
fa68681ac7
am 79b6fdfc: (-s ours) update bundled rc files to their contents from rootdir/init.rc
...
* commit '79b6fdfcea593b9f1a2422f1327a279ee77a54c2':
update bundled rc files to their contents from rootdir/init.rc
9 years ago
Tom Cherry
efbaf0de36
am 685439bb: (-s ours) am 218f48d6: Merge "bundle init.rc contents with its service"
...
* commit '685439bbc7ef958a3472465ebdabf2b997889e76':
9 years ago