262 Commits (b4569d73ee85d264942659941fe29b35d5a3ce14)

Author SHA1 Message Date
Gao Xiang d263da8807 mInternalEmulated could be used after shutdown() called
7 years ago
Keun-young Park 375ac25773 do not sleep if it is shutting down
7 years ago
Elliott Hughes e4775fdbca Merge "vold should #include <sys/sysmacros.h>" am: 398c0e8274 am: 208b464f72 am: fb3e85cf99
7 years ago
Elliott Hughes 048422d46e Merge "vold should #include <sys/sysmacros.h>" am: 398c0e8274 am: 208b464f72
7 years ago
Elliott Hughes 0e08e84df0 vold should #include <sys/sysmacros.h>
7 years ago
Jeff Sharkey 32ebb739cb Enable clang-tidy for security sensitive domain.
7 years ago
Jeff Sharkey fd3dc3c076 Spread around some O_CLOEXEC love.
7 years ago
Jeff Sharkey fa1c677c1a Add a new "virtual disk" feature.
7 years ago
Keun-young Park 3918ae6c76 Merge "make shutdown safe for double calls." am: 71fa1068de am: 2f93c657f4
7 years ago
Keun-young Park a5bbb5e3c1 make shutdown safe for double calls.
7 years ago
Wei Wang b7336860a6 Merge "Remove coldboot from vold" am: cc29c526d4 am: 9a2e29fe32 am: 78bf4cbb12
8 years ago
Wei Wang 6b455c29be Remove coldboot from vold
8 years ago
Chih-hung Hsieh 0955770f88 Merge \\\\"Fix clang-tidy performance warnings in system/vold.\\\\" am: e24d4eef9b am: aa668f3d13 am: ed1c4cf456
8 years ago
Chih-Hung Hsieh aa668f3d13 Merge \"Fix clang-tidy performance warnings in system/vold.\"
8 years ago
Chih-Hung Hsieh 11a2ce8da3 Fix clang-tidy performance warnings in system/vold.
8 years ago
Chih-Hung Hsieh 629a360ace Merge "Fix misc-macro-parentheses warnings." am: 0c0f9228cf am: 4ff367a593 am: 5dc0aa6e41
8 years ago
Chih-Hung Hsieh 5dc0aa6e41 Merge "Fix misc-macro-parentheses warnings." am: 0c0f9228cf
8 years ago
Chih-Hung Hsieh cc5d580858 Fix misc-macro-parentheses warnings.
8 years ago
Daniel Rosenberg e4c291a1ee Fix resizeAsec to determine correct size
8 years ago
Hidehiko Abe e6bd7850ff Merge "Split slave-bind mount into two."
8 years ago
Hidehiko Abe 674bed18bd Split slave-bind mount into two.
8 years ago
Yu Ning 942d4e830b Support emulator's virtio-blk based SD card
8 years ago
Daichi Hirono 10d34887b3 Mount appfuse in process namespace.
9 years ago
Elliott Hughes 6bf0547ccc resolve merge conflicts of b7d5a47cec to master.
9 years ago
Jeff Sharkey 90cca664e1 Merge "Make sure path is not NULL to avoid fatal exception." am: e0e5bfeb3c am: de629f105e
9 years ago
Jeff Sharkey 20826a1574 Merge "vold: fix 64 bit ioctl error" am: 3e6c59dc16 am: bf6acf44a9
9 years ago
Elliott Hughes 7e128fbe21 Track rename from base/ to android-base/.
9 years ago
Jeff Sharkey e0e5bfeb3c Merge "Make sure path is not NULL to avoid fatal exception."
9 years ago
Mateusz Nowak a4f48d0f44 vold: fix 64 bit ioctl error
9 years ago
Mateusz Nowak 6440379f1b Make sure path is not NULL to avoid fatal exception.
9 years ago
Jeff Sharkey 228f9509e1 am 47f0531e: am 4fc30636: am 1bd078fa: Protect runtime storage mount points.
9 years ago
Jeff Sharkey 1bd078fa7b Protect runtime storage mount points.
9 years ago
Jeff Sharkey 16b3ba4bd7 am 90db4d90: am 78003caf: am 32679a82: Create user directory on emulated storage.
9 years ago
Jeff Sharkey 32679a82d9 Create user directory on emulated storage.
9 years ago
Jeff Sharkey 5ceafb42ca Merge commit '3ff337db' into merge
9 years ago
Jeff Sharkey c86ab6f538 Trim both internal and adopted private storage.
9 years ago
Jeff Sharkey bf19f7e389 am 1458955f: am c7b5b570: Null-terminate readlink() result, full remount.
9 years ago
Jeff Sharkey c7b5b570bd Null-terminate readlink() result, full remount.
9 years ago
Jeff Sharkey c36ffa0010 am 0deb385f: am 66270a21: Let\'s reinvent storage, yet again!
9 years ago
Jeff Sharkey 66270a21df Let's reinvent storage, yet again!
9 years ago
Jeff Sharkey 83434e3714 am b5e680ac: am bc40cc8f: Add method to forget private partition keys.
9 years ago
Jeff Sharkey bc40cc8f07 Add method to forget private partition keys.
9 years ago
Jeff Sharkey 7744be3ac7 am b75343ae: am 210228a0: Merge "Start tracking added users with serial numbers." into mnc-dev
9 years ago
Jeff Sharkey bd3038df74 Start tracking added users with serial numbers.
9 years ago
Paul Crowley 4716ee8af7 chmod a-x VolumeManager.cpp
9 years ago
Jeff Sharkey d0640f6358 Add f2fs support for private volumes.
9 years ago
Jeff Sharkey 5a6bfca163 Initial pass at storage benchmarks.
9 years ago
Jeff Sharkey 1bfb375f77 Update primary symlinks after mounting.
9 years ago
Elliott Hughes c98d1f5883 am 85c7c08e: am d5aa67cc: Merge "Wait for completion of device mapping in mountObb"
9 years ago
yoshiyuki hama 476a627e55 Wait for completion of device mapping in mountObb
9 years ago
Jeff Sharkey c8e04c5a82 Wider volume mutation lock, move force adoptable.
9 years ago
Jeff Sharkey f3ee200303 Handle *ALL* the SCSI disks!
9 years ago
Jeff Sharkey f1b996df6f Volumes know parent disks; unsupported disks.
9 years ago
Jeff Sharkey 7d9d011865 Lock while partitioning.
9 years ago
Jeff Sharkey 3161fb3702 Emulated volumes above private volumes.
9 years ago
Jeff Sharkey ce6a913aea Exclusive exec() path, format after partition.
9 years ago
Jeff Sharkey 9f18fe7807 Remove unused code.
9 years ago
Jeff Sharkey 9c48498f45 Support for private (adopted) volumes.
9 years ago
Jeff Sharkey 36801cccf2 Progress towards dynamic storage support.
9 years ago
Hiroaki Miyazawa 14eab550e8 Fixed type mismatch for ioctl(BLKGETSIZE)
9 years ago
Nick Kralevich 25e581a11c VolumeManager: don't use faccessat(AT_SYMLINK_NOFOLLOW)
10 years ago
Yabin Cui d1104f75a7 Use getmntent when accessing /proc/mounts.
10 years ago
Tim Murray 8439dc9fd5 Make vold compile with -Werror -Wall.
10 years ago
Paul Lawrence 60dec16c50 Correctly remove asecs for full disk encryption
10 years ago
Jeff Sharkey 43ed123d3f ASEC resize tweaking, allow read-write mounting.
10 years ago
JP Abgrall 40b64a6841 vold: support "volume list [broadcast]" command
10 years ago
Daniel Rosenberg e9196fecbb Increase asec image size for reflecting ext4 reserved clusters
10 years ago
Daniel Rosenberg fcd34a0ddd Added support for ext4 ASEC resizing.
10 years ago
Daniel Rosenberg 6a74dcaa6e Fixed bugs with ASEC filesystem.
10 years ago
Cylen Yao 27cfee3fa4 avoid fs_mkdirs when SD card removed
10 years ago
Nick Kralevich 3214d1f5a4 am 3c0d02aa: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
11 years ago
Stephen Smalley 5093e6187d Convert all selinux_android_restorecon and _setfilecon calls to new API.
11 years ago
Nick Kralevich ca3593df3d am 311edc8c: Merge "Add SELinux restorecon calls on ASEC containers."
11 years ago
Nick Kralevich 311edc8cb2 Merge "Add SELinux restorecon calls on ASEC containers."
11 years ago
Colin Cross e985c9ab10 am 1d8e3ce8: Merge "vold: fix errors inside ALOGV"
11 years ago
Colin Cross 59846b654e vold: fix errors inside ALOGV
11 years ago
Robert Craig b9e3ba56cb Add SELinux restorecon calls on ASEC containers.
11 years ago
Nick Kralevich e8e1d80c64 am 4d5d99ce: am 7cf05b15: am 2f0a1d66: am 7f6932df: am 35ab6119: am 3e03bf8a: am fd2dcf90: am f4770dcf: am 0de7c611: Validate asec names.
11 years ago
Nick Kralevich 4d5d99ce39 am 7cf05b15: am 2f0a1d66: am 7f6932df: am 35ab6119: am 3e03bf8a: am fd2dcf90: am f4770dcf: am 0de7c611: Validate asec names.
11 years ago
Nick Kralevich 7f6932df89 am 35ab6119: am 3e03bf8a: am fd2dcf90: am f4770dcf: am 0de7c611: Validate asec names.
11 years ago
Nick Kralevich fd2dcf905a am f4770dcf: am 0de7c611: Validate asec names.
11 years ago
Nick Kralevich 0de7c61102 Validate asec names.
11 years ago
Colin Cross 346c5b20cb vold: fix warnings for 64-bit
11 years ago
Jeff Sharkey 8c2c15b1c6 Clean up ASEC unmounting on physical storage.
11 years ago
Marco Nelissen 5ab02e787a DO NOT MERGE. Fix crash in vold
11 years ago
Jeff Sharkey ba6ae8db13 Add support for more expressive SD card permissions
11 years ago
Jeff Sharkey 71ebe154a5 Add mkdirs() command.
11 years ago
Ken Sumrall 9caab76c6b vold: Add an optional wipe paramter to the volume format command
11 years ago
Elliott Hughes 29e55ef83d am edf4e179: Merge "Fix vold\'s use of readdir_r(3)."
12 years ago
Elliott Hughes 8c480f73ee Fix vold's use of readdir_r(3).
12 years ago
Nick Kralevich 2e0d70f98d am 678d556f: Merge "Add snprintf truncation and output error checks."
12 years ago
rpcraig d1c226fce3 Add snprintf truncation and output error checks.
12 years ago
Kenny Root bb67b67cc7 am fd5b29be: Merge "Extend vold support for creating ext4 images."
12 years ago
Kenny Root fd5b29be8c Merge "Extend vold support for creating ext4 images."
12 years ago
Jeff Sharkey 6947904a76 Handle multi-user mountObb() requests.
12 years ago
rpcraig a54e13a3dc Extend vold support for creating ext4 images.
12 years ago
Kenny Root eacf7e03d6 Only cleanup ASECs in external storage DO NOT MERGE
12 years ago
Kenny Root 93ecb38dad Only cleanup ASECs in external storage
12 years ago
Ken Sumrall 425524dba1 Unmount all asec apps before encrypting
12 years ago
Kenny Root 418367112c Merge "Sleep to wait for dm to create node" into jb-dev
12 years ago
Kenny Root cdc2a1c835 Sleep to wait for dm to create node
12 years ago
Kenny Root 1a673c868c Native library loading needs to read directory
12 years ago
Kenny Root 348c8aba0d Only set permissions on dirs or files
12 years ago
Kenny Root 344ca10856 Add in ext4 support for ASEC containers
12 years ago
Ken Sumrall 0b8b597193 Add the ability to revert a crypto mapping when unmounting a volume
13 years ago
Ken Sumrall 3b17005083 Prevent sharing or formatting of a vold managed volumes during encryption.
13 years ago
Dianne Hackborn 736910ca99 Add new vold call to get the path to an asec fs.
13 years ago
Mike Lockwood 97f2fc110b Update path for seting USB mass storage backing store
13 years ago
Mike Lockwood 6b715592ec Merge "Remove obsolete code for monitoring USB status"
13 years ago
Ken Sumrall 319b1043bb Don't abort the encryption process if an internal volume is present but unmounted.
13 years ago
Mike Lockwood a976656ff9 Remove obsolete code for monitoring USB status
13 years ago
Ken Sumrall 29d8da8cef vold: allow to store key in a file on another partition
13 years ago
Mike Lockwood 3c9a73f643 Stifle "Ignoring unknown switch" logging
14 years ago
Mike Lockwood a28056b382 Set VM dirty ratio to zero when UMS is active
14 years ago
Kenny Root 918e5f9f10 Better error code for unmounting not-mounted volumes
14 years ago
Kenny Root cbacf78eff Track type of container mounted
14 years ago
Mike Lockwood 2dfe297ec4 Fixes for devices with internal FAT file system:
14 years ago
Kenny Root a3e0608456 Allow execute on mounted ASEC and OBB containers
14 years ago
Kenny Root 508c0e1605 Additional Obb functionality
14 years ago
Kenny Root fb7c4d5a8a Add image mounting commands for OBB files
14 years ago
Mike Lockwood 99635f6c28 Use new kernel notifications to determine if USB mass storage is available.
14 years ago
Kenny Root acc9e7dcca Change ASCII conversion for hash and add tests
14 years ago
San Mehat 1a06edaf4d vold: Ensure we cleanup secure containers on card removal.
14 years ago
San Mehat 97ac40e4e6 vold: Switch from LOG -> SLOG
14 years ago
San Mehat 88ac2c0653 vold: asec path cmd now returns OpFailedStorageNotFound if id doesn't exist
14 years ago
San Mehat 96597e8b84 vold: Add mounted filesystems to dump cmd
14 years ago
Kenny Root 7b18a7b36f vold: Convert to use OpenSSL MD5 API
14 years ago
San Mehat befd59c152 vold: remove some dead code
14 years ago
San Mehat d9a4e35861 vold: Bugfixes & cleanups
14 years ago
San Mehat fcf24fe62f vold: Add a versioned superblock to secure containers.
15 years ago
San Mehat a1091cb0c4 vold: Allow creation of a container with no filesystem
15 years ago
San Mehat 55013f7131 vold: Fix uninitialized mountpoint bug
15 years ago
San Mehat 12f4b89046 vold: Retry rmdir of asec mount point
15 years ago
San Mehat 96956ed0e2 vold: Prohibit container rename when dst container is mounted
15 years ago
San Mehat 0e382532f3 vold: fix infinite loop when failing to unmount a busy container in unmountVolume()
15 years ago
San Mehat 3bb6020e46 vold: Stage the mounting of media to hide the ASEC imagefile directory
15 years ago
San Mehat 4ba8948dc1 vold: Add 'force' option to anything that can cause an unmount
15 years ago
San Mehat d31e380bd9 vold2: Don't allow containers < 1mb, and clean up some logging
15 years ago
San Mehat 586536c60b vold: Refactor Processkiller and add command to return users of a mount point
15 years ago
San Mehat 8c940ef7db vold: Fix devmapper/ptmx fd leak, and give asec unmount more time
15 years ago
San Mehat b9aed74b14 vold: Fix a few bugs
15 years ago
San Mehat f5c6198096 vold: Silly rabbit, don't use unlink() when you mean't rmdir()
15 years ago
San Mehat eba65e9d43 vold: Bloat reduction
15 years ago
San Mehat 048b0801fc vold: Add support for renaming secure containers
15 years ago
San Mehat 68f8ebdb24 vold2: update some debugging
15 years ago
San Mehat a4dc3b15b7 vold: Don't fail to return path if volume isn't mounted
15 years ago
San Mehat 88705166ab vold: Unmount secure containers when the underlying media is removed.
15 years ago
San Mehat 0586d54053 vold2: Fix issue with destroying / unmounting asec
15 years ago
San Mehat 8b8f71b1d7 vold: Internally use sector counts for asec lengths
15 years ago
San Mehat b78a32c1d5 vold: Add encrypted ASEC support via devmapper
15 years ago