Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-vold: List of commits

system/vold


RSS
Rev. Time Author
5830bf1 cm-14.1-x86 2017-10-21 20:57:46 meijjaa

Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

d8d5e6e 2017-09-25 04:55:49 Yuval Detuscher

Fix bug in cryptfs_verify_passwd with hardware disk encryption

When using hardware based disk encryption, there will not be a
saved_master_key or saved_mount_point. However, cryptfs_verify_passwd
checks these things before going into the hardware encryption flow,
which causes it to always fail.

In this change, we restructure hardware encryption flow control and move
some ifdefs around, so that checking saved_master_key and
saved_mount_point will only happen when using software encryption.

Change-Id: I0e45c0bcfabaa44e28751c0e8dcc41dad1030a2c

d764fe5 android-x86-7.1-r1 android-x86-7.1-r2 2017-05-07 02:29:55 Chih-Wei Huang

vold3: check supported filesystem modules

If there is a filesystem module of the requested type,
it should be considered supported.

Note the kernel will auto load the filesystem module
on mounting by modprobe.

fe4577f 2017-05-07 02:26:56 Chih-Wei Huang

vold3: support UDF (Universal Disk Format)

Refer to https://en.wikipedia.org/wiki/Universal_Disk_Format.

3e719bb 2017-05-07 02:26:25 Chih-Wei Huang

vold3: auto mount CDROM

Jide's ISO9660 support (commit 3da6ea1) is not complete. Still
need to handle block devices with major number of CDROM.

1f39b93 2017-05-07 02:21:15 Chih-Wei Huang

Move kMajor* constants to a header file

Currently each cpp defines its own kMajor* that can't be shared.
Move the kMajor* to a header to avoid duplicate definitions.

9343bda 2017-05-07 01:52:15 Luo Chunbo

vold: ISO9660 support

Ref: T7691

Change-Id: Ifc602781e7d87aea9f3181263e09ffe143e9a231
Signed-off-by: Luo Chunbo <luochunbo@jidemail.com>

b5b1360 2017-05-07 00:16:12 Chih-Wei Huang

Merge remote-tracking branch 'cm/cm-14.1' into nougat-x86

Conflicts:
main.cpp

4bc1c8f 2017-04-05 21:28:02 Dan Pasanen

Android 7.1.2 Release 2 (N2G47E)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAljh7rAACgkQ6K0/gZqxDnhHrwCfUkczn/zyblKbJwerQyZUGblA
AKEAnj7pSW4r3bOphCbu3pA7J+dL/0CT
=dPWC
-----END PGP SIGNATURE-----

Merge tag 'android-7.1.2_r2' into cm-14.1

Android 7.1.2 Release 2 (N2G47E)

# gpg: Signature made Mon 03 Apr 2017 01:41:52 AM CDT
# gpg: using DSA key E8AD3F819AB10E78
# gpg: Can't check signature: No public key

1e684b0 2017-03-14 16:43:58 Chih-Wei Huang

More fix for Ext4 mount issue

The security context is only defined in the CM build.
So skip it for non-CM build.

e6e357f 2017-03-14 16:43:45 Jaap Jan Meijer

Fix crypt dependency conflict between AOSP and CM

73df4d1 2017-03-14 16:43:04 Chih-Wei Huang

Enable f2fs support

d9855bc 2017-03-14 16:42:46 Chih-Wei Huang

Fix Ext4 can't be mounted issue

Only set context if selinux is enabled.

268f9d7 2017-03-14 16:41:12 Chih-Wei Huang

Revert "Added cypto_complete states to reflect MDTP state."

This reverts commit d1821cf4857eedf0f0ae9c3b362d35ed216cd9f5.

57e4ecb 2017-03-14 16:40:21 Chih-Wei Huang

Revert "Switch to BoringSSL crypto."

This reverts commit 71c215be3e768b1a205021a3720129e4d290a3a8.

5146285 2017-03-14 16:38:52 Chih-Wei Huang

Merge remote-tracking branch 'cm/cm-14.1' into nougat-x86

25ea9c3 2017-02-15 15:05:44 c457

vold: Update path to cryptfs_hw

* It's now a seprate project

Change-Id: I636fde1ff07333580aab7b8ace9a5a98174e306e

e74c3ea 2017-01-24 08:01:05 Dimitry Ivanov

Fix deadlock between vold and init

By setting property after listeners are initialized
we avoid deadlock between vold and init where
vold is waiting on property_service while init is blocked
(and therefore is not able to accept connections) on vdc
which is attempting to communicate with vold.

(This also speeds up boot by 250ms)

Test: Boot a device, check locks and make sure there is no timeout
on property_set(.)
Test: Successfully boot a device with new property service protocol.
Bug: http://b/34278978
Change-Id: I9547d2f19cb35aa452bf01fbff0eb4b32a4824a4
(cherry picked from commit c976e73bbdfd512482d0ea0c5e10afd53ba85e1e)

ff228f0 2017-01-02 08:45:50 Steve Kondik

vold: Fix build warning

Change-Id: I791a5e44198612aaea7713094416da7eaafc5bf8

71c215b 2017-01-02 08:45:50 Mattias Nissler

Switch to BoringSSL crypto.

This replaces the libmincrypt dependency with libcrypto_utils, which
is needed due to libfec and fs_mgr switching to BoringSSL.

Change-Id: I4f6f4d8cc5e200679331a9bcdf2cc3bad1082dd6

d9bd179 2017-01-02 08:45:50 Steve Kondik

vold: Don't include cryptfs in minivold

* This wants to use Keymaster in N, will need to think of a
different approach if we want to support encrypted volumes.
This is not a likely scenario anyway, so just nuke it.

Change-Id: Icca82054ef07e0bf1caeca3615cf67921d14b4cd

2ac5953 2017-01-02 08:45:50 Steve Kondik

vold: Export main function of vdc correctly

Change-Id: Ied918717a2a37d70e59f6e82b6be5e7414a04840

f4fdb80 2017-01-02 08:45:50 Rashed Abdel-Tawab

vold: Correct base header paths

These headers were moved to android-base

Change-Id: I3eaa8316006b9017c5f5e31cd1e91efc2862106d

885b775 2017-01-02 08:45:50 Luca Stefani

vold: fs: Fix build errors

* Migrate from base to android-base
* Add missing , in Ext4 Mount function

Change-Id: I875b5763c472aa7da2976ec7c5db7cf28c913876

8e05537 2017-01-02 08:45:50 Steve Kondik

vold: Allow reset after shutdown

* If we shutdown all volumes (during crypto), vold throws up an
assert at us when reset() is called due to destroying an
already destroyed volume. This is actually fine, just return
an error instead of crashing.

Change-Id: I51f8561da83e27de8e80d74f3a600fb0139d3035

793c54b 2017-01-02 08:45:49 Michael Bestas

vold: Fix tool paths for minivold

Change-Id: I4c90f0054f8cc83b5384bc2a9550ab172b202f01

8611ccc 2017-01-02 08:45:49 Scott Mertz

vold: skip first disk change when converting MBR to GPT

When converting a public (MBR) partition to private (GPT) partition,
'sgdisk --zap-all <path>' triggers a disk change netlink event
when converting from MBR to GPT. Then, 'sgdisk --new=....' triggers
another disk change netlink event.

vold informs clients a new volume is created after the first disk
change event occurs. system server reacts by requesting to mount
the volume. If this request is honored before the second disk change
event, the volume will be unmounted immediately after system server's
request to mount is honored. The next time system server performs
an operation (createnewuser) on this volume, it will fail due to
the volume being unmounted.

This is reproduced by running the following commands in a loop:

adb shell sm partition <disk> private
adb shell sm partition <disk> public
adb shell sm forget all

OR

run cts -c com.android.cts.appsecurity.AdoptableHostTest -m testPackageInstaller

This change causes vold to delay notifying clients that the volume is
ready until after it's actually partitioned.

CYNGNOS-2283
Change-Id: I457cc1508573d73ef2be2f0cfdc5c2237bfabad7

e100bc5 2017-01-02 08:45:49 Jani Lusikka

Fix the group permissions of the sdcard root.

If the root is not writable, we cannot create new files or folders there.

Change-Id: I3edad81f105bbeabc9dcd1f5322acea6fbfc63bb

48984c4 2017-01-02 08:45:49 Tom Marshall

minivold: Use libblkid for readMetadata

We cannot popen() /sbin/blkid because selinux.

Change-Id: I0ba032c362dcfaa72443860071e5bd4d4d3b8270

295ada4 2017-01-02 08:45:49 Jani Lusikka

vold: Mount ext4/f2fs portable storage with sdcard_posix context

This commit is a forward port of following commits:

Author: Michael Stucki <mundaun@gmx.ch>
Change-Id: Ia34ad91444951e62f6d17374f480dcbdfa34cca3

Author: Tom Marshall <tdm@cyngn.com>
Change-Id: I05d9b57cc28ffd1f8deb8148d81c7f6fad0aa8db

Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Change-Id: I1364f37018b25d79b1826c85849def64e868d72f

Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Change-Id: I873af4dc2309d3d0942ce466b8acf8158abb85ae

Author: Jorge Ruesga <jorge@ruesga.com>
Change-Id: Ic0bb314b30e42489c45caec29d35d6896c9849eb

Signed-off-by: Michael Bestas <mikeioannina@cyanogenmod.org>
Change-Id: I9699643987c53d8e2538720f33da28de35230dfe

Show on old repository browser