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
ca341fc896
am 205a874e: update bundled rc files to their contents from rootdir/init.rc
...
* commit '205a874e860cb33420226e9a345e4fa2c97d14aa':
update bundled rc files to their contents from rootdir/init.rc
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
6cb234dc57
update bundled rc files to their contents from rootdir/init.rc
...
Bug 23186545
Change-Id: I634b682b7a4cef9e1b817561b4458e1442443c63
9 years ago
Tom Cherry
a9e2648184
am 10b02df8: am 218f48d6: Merge "bundle init.rc contents with its service"
...
* commit '10b02df820ece261b621a1f46838995249a1082c':
bundle init.rc contents with its service
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
72ec78511a
am ad6bd043: am f298f6be: Merge "Use errno correctly."
...
* commit 'ad6bd0438745aeb9a4484448e4392dc23ea3b351':
Use errno correctly.
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
3d83948032
am 5e7f772d: am 6d24e086: Merge "Remove dead code."
...
* commit '5e7f772dbd27d5d93b15f004991749d321b6d62d':
Remove dead code.
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
e7fead0424
am 0c4ce9b0: am 008c1ac2: am eddf9bd6: Request specific tags from blkid.
...
* commit '0c4ce9b030a8e72ca4c5c8580183bc0e94896a1b':
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
228f9509e1
am 47f0531e: am 4fc30636: am 1bd078fa: Protect runtime storage mount points.
...
* commit '47f0531ec9adf7a29873ccdb11a1ee7b11e76c80':
Protect runtime storage mount points.
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
a95e66afba
am 6d71977d: am 157ba435: am 8474ee32: Return useful path when not visible.
...
* commit '6d71977d142f42a4646f23c2fba79fed4fbfd7d7':
Return useful path when not visible.
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
Jeff Sharkey
72fbcfd909
am f628a0fd: am 4864af92: am d46687ee: Use random data for benchmark instead of zeros.
...
* commit 'f628a0fdae14e3e8fcc5c3b586045e06a2c03f9f':
Use random data for benchmark instead of zeros.
9 years ago
Jeff Sharkey
f628a0fdae
am 4864af92: am d46687ee: Use random data for benchmark instead of zeros.
...
* commit '4864af926d1ee6acc5a9853360af3d6b6e8a88ee':
Use random data for benchmark instead of zeros.
9 years ago
Jeff Sharkey
26934b0954
am d46687ee: Use random data for benchmark instead of zeros.
...
* commit 'd46687ee5da7c9847c6188241ccc699d3a0826c2':
Use random data for benchmark instead of zeros.
9 years ago
Jeff Sharkey
4864af926d
am d46687ee: Use random data for benchmark instead of zeros.
...
* commit 'd46687ee5da7c9847c6188241ccc699d3a0826c2':
Use random data for benchmark instead of zeros.
9 years ago
Jeff Sharkey
d46687ee5d
Use random data for benchmark instead of zeros.
...
If we always write zeros, we're leaving a giant pile of known
plaintext at an almost deterministic location on newly formatted
volumes. To avoid this, repeat a 64K chunk of random data.
Bug: 22816936
Change-Id: Iedc067a519bd676a93b9d74ea4f9f77c84c8461c
9 years ago
Jeff Sharkey
09b542f269
am 20642ae7: Give secondary users read-only physical cards.
...
* commit '20642ae71aa93ec2658d09c92a1ffc3844f5a555':
Give secondary users read-only physical cards.
9 years ago