No description
Find a file
Dan Albert c07fa3fa5a Fix alignment of buffer used for dm_ioctl.
Since the dm_ioctl struct was being allocated on the stack as a large
character array, it was getting character alignment rather than the
proper alignment for the struct. GCC had been getting away with this
so far, but it's undefined behavior that clang managed to expose.

Bug: 18736778
Change-Id: Ied275dfad7fcc41d712b2d02c8a185f499221f57
2014-12-18 10:24:23 -08:00
tests Remove makefile cruft. 2014-09-12 10:48:12 -07:00
Android.mk Fix alignment of buffer used for dm_ioctl. 2014-12-18 10:24:23 -08:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
CheckBattery.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
CheckBattery.h On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
CommandListener.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
CommandListener.h vold: Remove obsolete xwarp support. 2013-09-17 13:21:03 -07:00
cryptfs.c Fix alignment of buffer used for dm_ioctl. 2014-12-18 10:24:23 -08:00
cryptfs.h cryptfs: [HACK] reboot if the crypto block dev failed to open 2014-10-16 20:55:52 +00:00
Devmapper.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Devmapper.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
DirectVolume.cpp am 52f5425f: Merge "Fix Vold to properly handle full-disk file systems" 2014-08-15 20:56:13 +00:00
DirectVolume.h am 52f5425f: Merge "Fix Vold to properly handle full-disk file systems" 2014-08-15 20:56:13 +00:00
Ext4.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Ext4.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Fat.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Fat.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
fstrim.c fstrim: Use a local definition of the IOCTL FIDTRIM number 2014-08-07 18:44:37 -07:00
fstrim.h fstrim: prep for supporting a deep trim ioctl 2014-07-29 15:39:06 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Loop.cpp am ab083da0: Merge "Set SELinux contexts on device nodes created by vold." 2014-10-18 23:09:09 +00:00
Loop.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
main.cpp Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
NetlinkHandler.cpp Remove obsolete code for monitoring USB status 2011-06-07 08:34:08 -07:00
NetlinkHandler.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
NetlinkManager.cpp vold: fix potential socket leak 2013-07-02 12:04:09 -07:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
Process.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Process.h print information about opened files when failed unmount 2014-09-24 15:46:45 -07:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Support default, pattern, pin and password encryption types 2014-02-12 14:54:40 -08:00
sehandle.h Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
vdc.c am ea256025: am 45faade2: Merge "Replaces uses of index() with strchr()." 2014-06-05 20:33:07 +00:00
VoldCommand.cpp system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldCommand.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldUtil.c vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
VoldUtil.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
Volume.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Volume.h Extract UUID and label from inserted volumes. 2013-10-17 09:51:19 -07:00
VolumeManager.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
VolumeManager.h ASEC resize tweaking, allow read-write mounting. 2014-08-22 15:39:41 -07:00