- 05 Feb, 2016 1 commit
-
-
Jeff Sharkey authored
Give callers the option of preparing CE and/or DE storage. The framework will only prepare CE storage after the CE keys have been unlocked for that user. When init is calling enablecrypto, kick off the work in a thread so that we can make other calls back into vold without causing deadlock. Leaves blocking call intact for framework callers. Clean up 'vdc' tool to send useful transaction numbers, and actually watch for the matching result to come back. This fixes race conditions when there are multiple 'vdc' callers. Also add other system and misc directories to match spec. Bug: 25796509 Change-Id: Ie4f853db6e387916b845d2b5fb92925d743b063d
-
- 06 May, 2015 1 commit
-
-
Paul Crowley authored
Bug: 19704432 Change-Id: I784e8a91d3b0f4d6cd0dc668e9e55d0290f768e8
-
- 06 Feb, 2015 1 commit
-
-
Henrik Baard authored
Change all function calls to strncpy to strlcpy. Change-Id: I2bbefb7829d715847c5b26f4b9f0faddbd4c89d0
-
- 05 Jun, 2014 1 commit
-
-
Dan Albert authored
Bionic is removing index() because it was removed from POSIX 2008. Change-Id: I704fb8962ff2c08b8f12245d2db2118d410826b0
-
- 16 Apr, 2014 1 commit
-
-
Mohamad Ayyash authored
Change-Id: I1a35fe15b311d3f5203c5bc02d3db87e942cf554
-
- 14 Feb, 2014 1 commit
-
-
Paul Lawrence authored
Modify enablecrypto command to make the password optional. When it is not there, default encrypt the device. Remove a warning by making at least some parts of this file const-correct. Bug: 11985952 Change-Id: Ie27da4c4072386d9d6519d97ff46c6dc4ed188dc
-
- 12 Feb, 2014 1 commit
-
-
Paul Lawrence authored
Store encryption type in crypto footer, and provide functions to manipulate it. Add mount_default_encrypted command to vdc to allow mounting of default encrypted volumes at boot time. Bug: 8769627 Change-Id: Ie41848f258e128b48b579e09789abfa24c95e2b2
-
- 10 Feb, 2013 1 commit
-
-
Chih-Wei Huang authored
The patch removes the following warnings: system/vold/vdc.c: In function 'do_cmd': system/vold/vdc.c:71:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [...] In file included from system/vold/Fat.cpp:34:0: bionic/libc/kernel/common/linux/fs.h:109:0: warning: "MS_RMT_MASK" redefined [enabled by default] In file included from system/vold/Fat.cpp:31:0: bionic/libc/include/sys/mount.h:64:0: note: this is the location of the previous definition [...] Change-Id: I1e950dcec87f8bae0cec61a1611126b3abc0c90e
-
- 10 Mar, 2012 1 commit
-
-
Ken Sumrall authored
NativeConnectorDaemon was changed to use an optional sequence number, and most services were changed to require it. Now that vold requires a sequence number, vdc must provide one. Change-Id: Ibdff9878faf19eae25525221c80bcb5e5f87cfea
-
- 27 Jun, 2011 1 commit
-
-
Peter Bohm authored
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>
-
- 11 Oct, 2009 1 commit
-
-
San Mehat authored
Let there be light. Signed-off-by:
San Mehat <san@android.com>
-