Mike Lockwood
31ab84f6a9
am c13e0967: (-s ours) am 745ddcb2: DO NOT MERGE Only create android_secure mountpoint on the primary external storage volume.
...
* commit 'c13e0967debb6b5a817004e9184e6d3466c42813':
DO NOT MERGE Only create android_secure mountpoint on the primary external storage volume.
13 years ago
Mike Lockwood
71bde5e706
am 7877388b: (-s ours) am f4cd1c6b: DO NOT MERGE Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
...
* commit '7877388b6c65c4819e436141ccc519161b719bec':
DO NOT MERGE Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
13 years ago
Mike Lockwood
c13e0967de
am 745ddcb2: DO NOT MERGE Only create android_secure mountpoint on the primary external storage volume.
...
* commit '745ddcb2a6247817dde0790be4c74a81e7b324d4':
DO NOT MERGE Only create android_secure mountpoint on the primary external storage volume.
13 years ago
Mike Lockwood
7877388b6c
am f4cd1c6b: DO NOT MERGE Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
...
* commit 'f4cd1c6b1912d2481334152f7dec50067960a90c':
DO NOT MERGE Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
13 years ago
Mike Lockwood
745ddcb2a6
DO NOT MERGE Only create android_secure mountpoint on the primary external storage volume.
...
Change-Id: If2532ce8ca7d584f2442d830450313198234bd23
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago
Mike Lockwood
f4cd1c6b19
DO NOT MERGE Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
...
Change-Id: Id9a6fa6705cf97b94d419e85b5d74413e79fc748
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago
Mike Lockwood
3bcc2410f5
DO NOT MERGE Only create android_secure mountpoint on the primary external storage volume.
...
Change-Id: If21d134e7d8333b8214603a2d43a3153ab8760cc
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago
Mike Lockwood
11a3922ec6
DO NOT MERGE Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
...
Change-Id: Id65f76eacaec1787aa557f96447c5bc19b7b127f
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago
Nick Kralevich
cc8e96c8dc
DirectVolume: don't continue on invalid PARTN value
...
Change-Id: I1e434c5b47b40fabaf1e702d7f2e43a88c0497dc
13 years ago
Conley Owens
8bd9b3fcc6
am 3368f167: am 9cb6e501: Ignore change "Set SO_PASSCRED on the uevent socket." in favor of change in internal tree.
...
* commit '3368f167578fcd2ef024e6d8da723f349089fa7c':
Set SO_PASSCRED on the uevent socket. (needed for change I393c21da)
13 years ago
Conley Owens
3368f16757
am 9cb6e501: Ignore change "Set SO_PASSCRED on the uevent socket." in favor of change in internal tree.
...
* commit '9cb6e501f17ec2a511d942c833ea51a53bcd7249':
Set SO_PASSCRED on the uevent socket. (needed for change I393c21da)
13 years ago
Conley Owens
9cb6e501f1
Ignore change "Set SO_PASSCRED on the uevent socket." in favor of change
...
in internal tree.
Change-Id: Ibdf7cf1e1d0ba177d9de813baa6481ddd31d5d9c
13 years ago
Conley Owens
c840b382c5
Merge "Set SO_PASSCRED on the uevent socket. (needed for change I393c21da)"
13 years ago
Vernon Tang
5f6ae96bab
Set SO_PASSCRED on the uevent socket. (needed for change I393c21da)
...
Change-Id: I09a8a6d7c654869a40339adce181e6b981f10369
13 years ago
Nick Kralevich
cf5af17119
am b510cd4e: am 77992e71: vold: Enable the SO_PASSCRED socket option
...
* commit 'b510cd4e8a480cbb01ff3175f2e99b11328ff88a':
vold: Enable the SO_PASSCRED socket option
13 years ago
Nick Kralevich
b510cd4e8a
am 77992e71: vold: Enable the SO_PASSCRED socket option
...
* commit '77992e713ceac377ed226b555685f99fcfeb2c14':
vold: Enable the SO_PASSCRED socket option
13 years ago
Nick Kralevich
77992e713c
vold: Enable the SO_PASSCRED socket option
...
Ensure that sender credentials are available when we
receive a netlink message.
This is a manual cherry-pick of
c51920c824
Change-Id: I98aff8733449617d35d20bff2fe77e9d3f22f57e
13 years ago
Nick Kralevich
a645600588
am 46770e6e: am b9aa1459: am c51920c8: vold: Enable the SO_PASSCRED socket option
...
* commit '46770e6ea0876797b9f6d93e838f3d73dc91917d':
vold: Enable the SO_PASSCRED socket option
13 years ago
Nick Kralevich
46770e6ea0
am b9aa1459: am c51920c8: vold: Enable the SO_PASSCRED socket option
...
* commit 'b9aa145910e22ed97cb51545bf399e6289bca643':
vold: Enable the SO_PASSCRED socket option
13 years ago
Nick Kralevich
82baf904c6
vold: Enable the SO_PASSCRED socket option
...
Ensure that sender credentials are available when we
receive a netlink message.
Change-Id: I48411205a8fbc1ebd29834f64028662d80f15995
13 years ago
Nick Kralevich
b9aa145910
am c51920c8: vold: Enable the SO_PASSCRED socket option
...
* commit 'c51920c82463b240e2be0430849837d6fdc5352e':
vold: Enable the SO_PASSCRED socket option
13 years ago
Nick Kralevich
c51920c824
vold: Enable the SO_PASSCRED socket option
...
Ensure that sender credentials are available when we
receive a netlink message.
Change-Id: I48411205a8fbc1ebd29834f64028662d80f15995
13 years ago
Nick Kralevich
f07eeb92fd
am 19df18af: am aecf0e2a: am f3d3ce5e: add bounds checking for mPartMinors[]
...
* commit '19df18af24490f17e82758c38157750c67da245b':
add bounds checking for mPartMinors[]
13 years ago
Nick Kralevich
19df18af24
am aecf0e2a: am f3d3ce5e: add bounds checking for mPartMinors[]
...
* commit 'aecf0e2a3dd1a72e448d9df7ed69533578dda12c':
add bounds checking for mPartMinors[]
13 years ago
Nick Kralevich
aecf0e2a3d
am f3d3ce5e: add bounds checking for mPartMinors[]
...
* commit 'f3d3ce5e53ab7928f4c292c183c417a1bd051151':
add bounds checking for mPartMinors[]
13 years ago
Nick Kralevich
f3d3ce5e53
add bounds checking for mPartMinors[]
...
Change-Id: I6d5b26756c8434d6396f3535252608ce61eabfd8
13 years ago
Mike Lockwood
850949485b
Only create android_secure mountpoint on the primary external storage volume.
...
Change-Id: I4069297a799260b8ecf355e91a1594b4f03126af
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago
Mike Lockwood
9092b1dbd3
Mount secondary external storage writable by AID_MEDIA_RW rather than AID_SDCARD_RW
...
Change-Id: I8bb658bb2ab66026f0a54f9c1f80fc5c6e8d918a
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago
Ken Sumrall
ad2ac33460
Load persistent properties after mounting an encrypted /data partition.
...
Fix for bug 3415286. Trigger an action in init.rc to load the persistent
properties after /data has been decrypted and mounted.
Change-Id: I5fe3b481bcc6963113e830728c204b22ffc3b722
14 years ago
Ken Sumrall
c290eaf685
Teach vold to use the new android_reboot() function.
...
The new android_reboot() function is a nicer way to reboot.
It can optionally sync(2) and remount as read-only writable
filesystems. This fixes bug 3350709.
Change-Id: I4618bd5e8cccdce08494a7ca3f40ef72b2875e68
14 years ago
Ken Sumrall
cd235da6fb
Enable detection of failed encryption process, for bug 3384231.
...
Need to detect if the encryption process didn't finish successfully, and if
so, provide a way for the UI to detect that and give the user an option to
wipe the system clean. Otherwise, the user is stuck in a reboot loop, and
they will need to do magic button presses to enter recovery and wipe the
device to get out of it.
Change-Id: I58253e1e523ee42bdd1a59aa7d8a9d20071bd18b
14 years ago
The Android Automerger
4dd1cbf09b
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
906b81d74c
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
124a0d262e
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
bc1a67d54b
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
49f0e57ecc
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
946666311f
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
ad8ed73768
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
faad095abc
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
07ecb8d797
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
9726aabbde
merge in honeycomb-release history after reset to honeycomb
14 years ago
The Android Automerger
057424a224
merge in honeycomb-release history after reset to honeycomb
14 years ago
Kenny Root
352d3f9a09
am 18ed5640: Merge "Use LOOP_GET_STATUS64 for checking loop devices" into honeycomb
...
* commit '18ed56400bb6ae999712ba70af385100d0cd6e55':
Use LOOP_GET_STATUS64 for checking loop devices
14 years ago
Kenny Root
18ed56400b
Merge "Use LOOP_GET_STATUS64 for checking loop devices" into honeycomb
14 years ago
Ken Sumrall
06c6baf3af
am 7f7dbaa2: Improve detection of incomplete encryption
...
* commit '7f7dbaa2784c10fd2989fb303e5edfb8136d53dc':
Improve detection of incomplete encryption
14 years ago
Kenny Root
7c16502dbc
Use LOOP_GET_STATUS64 for checking loop devices
...
To determine whether a loop device was available, we use an ioctl call
to LOOP_GET_STATUS, but this fails on devices with large storage
partitions with errno = EOVERFLOW. Instead use LOOP_GET_STATUS64 which
succeeds.
Bug: 3412121
Change-Id: Ica3cb48885d3555f2d27073c00e31fc51a08c730
14 years ago
Ken Sumrall
7f7dbaa278
Improve detection of incomplete encryption
...
Bug 3384231 is punted to MR1, but the code to set the flag is already
in the tree, so this CL does 3 things:
1. Comments out the lines that set the flag
2. Removes the change to the checkpw that was added in the last change.
3. Implements a new command to check the flag (which no one is calling
yet and the flag won't be set anyhow).
When MR1 comes, it will be a simple matter to enable the flag setting
code and start testing it.
The fear is a false positive detection of incomplete encryption could
cause people to be prompted to wipe their data when MR1 comes out and
the flag is checked. Not setting this for first release, and testing
this more before MR1, will give us confidence that the code will not
detect false positives of encryption failure.
Change-Id: I6dfba11646e291fe5867e8375b71a53c815f3968
14 years ago
Ken Sumrall
71fac1e011
am d33d417e: Detect when encryption failed to complete
...
* commit 'd33d417e3a057fffad22c23f5f002177531db2a5':
Detect when encryption failed to complete
14 years ago
The Android Automerger
999ff5ca61
merge in honeycomb-release history after reset to honeycomb
14 years ago
Ken Sumrall
d33d417e3a
Detect when encryption failed to complete
...
For the case there encryption failes to complete because of a kernel
crash or the user power cycling the device, define a flag in the
crypto footer that says encryption is in progress. Set it when starting
the actual encryption, and clear it when it successfully completes.
When the user is asked for the disk password, if the flag is set,
return a special error to the caller so the UI can know to tell the
user there is no valid data on the disk, and present a button to
wipe and reset the device.
Change-Id: I3723ec77f33437d94b3ac9ad5db0a5c950d11648
14 years ago