273d3549198d144331f3e502eeb1215417d72b16 |
|
29-Jun-2011 |
Mike Lockwood <lockwood%android.com@gtempaccount.com> |
am 2c9d8de7: Merge "Prevent buffer overflows." * commit '2c9d8de79a0dd7f894c65777a197c86486aff96c': Prevent buffer overflows.
|
092aa1c585fedd9e169eece41b8a471f1739908a |
|
01-Apr-2011 |
Peter Bohm <peter.m.bohm@sonyericsson.com> |
Prevent buffer overflows. To eliminate possible buffer overflows some strcpy, sprintf and strcat have been changed to strlcpy, snprintf and strlcat. Change-Id: Ieb9d4b600c894946a6492f8629ff39f2fcc106d3 Signed-off-by: Oskar Andero <oskar.andero@sonyericsson.com>
/system/vold/Devmapper.cpp
|
37dcda68d334f70e1f7f69a9817def65fe3ee717 |
|
16-Nov-2010 |
Olivier Bailly <olivier@google.com> |
Add missing include headers for compilation on Intel target for Google TV. Change-Id: I9f71b5e871671d1d64ad37f78a8944653409b8e1
/system/vold/Devmapper.cpp
|
97ac40e4e6f3ed0bd5d6878d7d8d4a54fcaecb76 |
|
24-Mar-2010 |
San Mehat <san@google.com> |
vold: Switch from LOG -> SLOG Change-Id: I48ee8bd90b47f5845f069cdf4d1b8ba6ecdb1b39 Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
d9a4e358614a0c5f60cc76c0636ee4bb02004a32 |
|
12-Mar-2010 |
San Mehat <san@google.com> |
vold: Bugfixes & cleanups - Fix issue where container-names > 64 bytes were getting truncated in the kernel. lo_name is only 64 bytes in length, so we now hash the container id via md5 - Add 'dump' command to dump loop and devicemapper status - Add 'debug' command to enable more detailed logging at runtime - Log vold IPC arguments (minus encryption keys) - Fix premature return from Loop::lookupActive() and friends Change-Id: I0e833261a445ce9dc1a8187e5501d27daba1ca76 Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
fcf24fe62f98c5d44431aa575555569c2c7a29b0 |
|
03-Mar-2010 |
San Mehat <san@google.com> |
vold: Add a versioned superblock to secure containers. Add an un-encrypted superblock to the end of a secure container to help identify the crypto cipher used. This is required in order to provide some semblence of versioning, in case we have cause to change the crypto type on an update - say for example switching from software to hardware encryption, or from 128 -> a zillion bit keys. NOTE: This format is incompatible with previous secure containers. After this change they will no longer be mountable. Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
d31e380bd9689dd9629b510ffe324707e261b439 |
|
18-Feb-2010 |
San Mehat <san@google.com> |
vold2: Don't allow containers < 1mb, and clean up some logging Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
8c940ef7dbd423cadc92982b44a65ed1014389e2 |
|
13-Feb-2010 |
San Mehat <san@google.com> |
vold: Fix devmapper/ptmx fd leak, and give asec unmount more time Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
0586d54053ee00e6d6523d4f125282ccb9a24aab |
|
13-Jan-2010 |
San Mehat <san@google.com> |
vold2: Fix issue with destroying / unmounting asec Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
8b8f71b1d760411279f3b07a5c97709f052c689e |
|
11-Jan-2010 |
San Mehat <san@google.com> |
vold: Internally use sector counts for asec lengths Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|
b78a32c1d5eeb243bdac0eaf18effb1897f1ee67 |
|
10-Jan-2010 |
San Mehat <san@google.com> |
vold: Add encrypted ASEC support via devmapper - Supports up to 4096 containers - Keys are now implemented - specifying a key of 'none' means no encryption. Otherwise, the key must be a string of 32 characters Signed-off-by: San Mehat <san@google.com>
/system/vold/Devmapper.cpp
|