- 30 Sep, 2014 1 commit
-
-
Stephen Smalley authored
Extend vold to look up and set SELinux contexts on the device nodes it creates for extra loop devices and for volumes. Prior to this change, these device nodes simply inherited the type of their parent directory /dev/block, i.e. block_device, and vold therefore required create_file perms to block_device:blk_file. With this change we can scope vold down to accessing specific block device types. This depends on change Id3bea28f5958086716cd3db055bea309b3b5fa5a to allow vold to use setfscreatecon(). Change-Id: Ib9e8294abb1da94d92503947603ec12e802ff08c Signed-off-by:
Stephen Smalley <sds@tycho.nsa.gov>
-
- 29 Jul, 2014 1 commit
-
-
JP Abgrall authored
This adds an "fstrim dodtrim" command which will attempt to use the FIDTRIM ioctl() if FIDTRIM is defined in the uapi/linux/fs.h. If not, it will fail with EINVAL. If no FIDTRIM is defined, it does not affect the "fstrim dotrim". Change-Id: Icbfd621abb592b170db06f749e5eedfd1175f723
-
- 22 Mar, 2013 1 commit
-
-
Ken Sumrall authored
The fstrim subsystem implements the dotrim command, which goes through all the writable filesystems on the device, and invokes the FITRIM ioctl() on them. This marks all the unused blocks on the underlying flash device as unused, so the device performs better. Change-Id: I5fc8c2f60e0bc823f162d0f89580fb288ecb2160
-
- 04 Jan, 2013 1 commit
-
-
Rom Lemarchand authored
Make sure all the calls to logwrap are consistent with the function's semantics. Change-Id: Ib0e2ad5c283cc4bb06c0ef5d6a9a52a5840b3dd2
-
- 11 Oct, 2009 1 commit
-
-
San Mehat authored
Let there be light. Signed-off-by:
San Mehat <san@android.com>
-