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
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
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
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
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 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
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
Elliott Hughes
debb3f8cba
am b1259ffd: (-s ours) am f298f6be: Merge "Use errno correctly."
...
* commit 'b1259ffd92f8965521f3f934548936dfd7650262':
9 years ago
Elliott Hughes
d9aea039e8
am 3097d0e1: (-s ours) am 6d24e086: Merge "Remove dead code."
...
* commit '3097d0e151b4f07552e987ee5819e9e7c6953a71':
9 years ago
Jeff Sharkey
88fbc74295
am 7206b42b: (-s ours) am eddf9bd6: Request specific tags from blkid.
...
* commit '7206b42badd044e3fcc75c1e1e842bf6d5475867':
9 years ago
Jeff Sharkey
fce8034b3e
am 2b8f194f: (-s ours) am 1bd078fa: Protect runtime storage mount points.
...
* commit '2b8f194f1a3c4929e7921a3cb31defd98579e87c':
9 years ago
Jeff Sharkey
489fce1c85
am 3a60599a: (-s ours) am 8474ee32: Return useful path when not visible.
...
* commit '3a60599ae83aadc9eb2dcc5f645508100ede58f9':
9 years ago
Jeff Sharkey
c4ecb51750
am 26934b09: (-s ours) am d46687ee: Use random data for benchmark instead of zeros.
...
* commit '26934b0954f28d2d465097bf78f6be0139839b14':
9 years ago
Jeff Sharkey
e7556ee814
am 09b542f2: (-s ours) am 20642ae7: Give secondary users read-only physical cards.
...
* commit '09b542f269bfd0726de53c2d230c5266f5227f1c':
9 years ago
Jeff Sharkey
8a28676289
am 15c6489a: (-s ours) am 32679a82: Create user directory on emulated storage.
...
* commit '15c6489aa9de4a11f4ec25b69841fb1c936b6380':
9 years ago
Jeff Sharkey
287cc74d0e
am 0d3fe815: (-s ours) am 81f55c6d: Mount emulated volumes as consistent location.
...
* commit '0d3fe8152ef0e15bd4105013faaee7961e6a6ea9':
9 years ago
Paul Crowley
480fcd2750
Set uid/gid of newly created user dirs to system/system.
...
Bug: 23395513
Change-Id: I3d76b77339f995103c0aec09c6de77b3c8cdc0dd
9 years ago
Tom Cherry
205a874e86
update bundled rc files to their contents from rootdir/init.rc
...
Bug 23186545
Change-Id: I634b682b7a4cef9e1b817561b4458e1442443c63
(cherry picked from commit 6cb234dc57
)
9 years ago
Tom Cherry
79b6fdfcea
update bundled rc files to their contents from rootdir/init.rc
...
Bug 23186545
Change-Id: I634b682b7a4cef9e1b817561b4458e1442443c63
(cherry picked from commit 6cb234dc57
)
9 years ago
Tom Cherry
10b02df820
am 218f48d6: Merge "bundle init.rc contents with its service"
...
* commit '218f48d6c55a7ee5115a7a8fc4248d33ea01811f':
bundle init.rc contents with its service
9 years ago
Tom Cherry
685439bbc7
am 218f48d6: Merge "bundle init.rc contents with its service"
...
* commit '218f48d6c55a7ee5115a7a8fc4248d33ea01811f':
bundle init.rc contents with its service
9 years ago
Tom Cherry
218f48d6c5
Merge "bundle init.rc contents with its service"
9 years ago
Tom Cherry
a285984ae4
bundle init.rc contents with its service
...
Bug: 23186545
Change-Id: I82d8b6dc54ebe32ceb1ed997aaab3701ee7b6c4a
9 years ago
Elliott Hughes
b1259ffd92
am f298f6be: Merge "Use errno correctly."
...
* commit 'f298f6be4c8df8745735676e37ccc963909ff3b2':
Use errno correctly.
9 years ago
Elliott Hughes
ad6bd04387
am f298f6be: Merge "Use errno correctly."
...
* commit 'f298f6be4c8df8745735676e37ccc963909ff3b2':
Use errno correctly.
9 years ago
Elliott Hughes
f298f6be4c
Merge "Use errno correctly."
9 years ago
tao.pei
a1038a9566
Use errno correctly.
...
Make sure to check errno prior to doing anything
else that can modify it.
Change-Id: Id81ecc2c3fa07c222ab1e2ef6441331a1eaad635
9 years ago
Elliott Hughes
5e7f772dbd
am 6d24e086: Merge "Remove dead code."
...
* commit '6d24e0866f61aba0ac3023408ead083ad9b6cdab':
Remove dead code.
9 years ago
Elliott Hughes
3097d0e151
am 6d24e086: Merge "Remove dead code."
...
* commit '6d24e0866f61aba0ac3023408ead083ad9b6cdab':
Remove dead code.
9 years ago
Elliott Hughes
6d24e0866f
Merge "Remove dead code."
9 years ago
Elliott Hughes
c569f528a2
Remove dead code.
...
Change-Id: I042f8aacfa8a7900b5684aaa24da368cdcb41b1f
9 years ago
Jeff Sharkey
7206b42bad
am eddf9bd6: Request specific tags from blkid.
...
* commit 'eddf9bd63c1f7e0f9709f7c58a1035fa43338325':
Request specific tags from blkid.
9 years ago
Jeff Sharkey
0c4ce9b030
am 008c1ac2: am eddf9bd6: Request specific tags from blkid.
...
* commit '008c1ac225c1ca29f38b57203d82a63f6f85b865':
Request specific tags from blkid.
9 years ago
Jeff Sharkey
008c1ac225
am eddf9bd6: Request specific tags from blkid.
...
* commit 'eddf9bd63c1f7e0f9709f7c58a1035fa43338325':
Request specific tags from blkid.
9 years ago
Jeff Sharkey
eddf9bd63c
Request specific tags from blkid.
...
Otherwise blkid can emit tags like SEC_TYPE which mess with the value
extraction code.
Bug: 23069906
Change-Id: Id2a588ff43a538747d1e44cd8218c96ebd0192c2
9 years ago
Jeff Sharkey
47f0531ec9
am 4fc30636: am 1bd078fa: Protect runtime storage mount points.
...
* commit '4fc30636065aa819a866cfcb3962d55b37db3312':
Protect runtime storage mount points.
9 years ago
Jeff Sharkey
2b8f194f1a
am 1bd078fa: Protect runtime storage mount points.
...
* commit '1bd078fa7b5ca613cb3e793d67ccd86d2602787d':
Protect runtime storage mount points.
9 years ago
Jeff Sharkey
4fc3063606
am 1bd078fa: Protect runtime storage mount points.
...
* commit '1bd078fa7b5ca613cb3e793d67ccd86d2602787d':
Protect runtime storage mount points.
9 years ago
Jeff Sharkey
1bd078fa7b
Protect runtime storage mount points.
...
We have a bunch of magic that mounts the correct view of storage
access based on the runtime permissions of an app, but we forgot to
protect the real underlying data sources; oops.
This series of changes just bumps the directory heirarchy one level
to give us /mnt/runtime which we can mask off as 0700 to prevent
people from jumping to the exposed internals.
Also add CTS tests to verify that we're protecting access to
internal mount points like this.
Bug: 22964288
Change-Id: I83f09f0423f4993e766273c50389dd29b1c50589
9 years ago
Jeff Sharkey
6d71977d14
am 157ba435: am 8474ee32: Return useful path when not visible.
...
* commit '157ba4356da6d771194f0276ed1fdd69a14b85a5':
Return useful path when not visible.
9 years ago
Jeff Sharkey
157ba4356d
am 8474ee32: Return useful path when not visible.
...
* commit '8474ee323131fdadcc17f09eab25003a7ae934e0':
Return useful path when not visible.
9 years ago
Jeff Sharkey
3a60599ae8
am 8474ee32: Return useful path when not visible.
...
* commit '8474ee323131fdadcc17f09eab25003a7ae934e0':
Return useful path when not visible.
9 years ago
Jeff Sharkey
8474ee3231
Return useful path when not visible.
...
This allows apps like ExternalStorageProvider to still read/write
files on transient storage devices which aren't mounted as visible.
Bug: 22545248
Change-Id: Idacb15f2233245a8e1861d9be977535a82b218ec
9 years ago