summaryrefslogtreecommitdiff
path: root/ext4_utils/xattr.h
AgeCommit message (Collapse)Author
2014-01-23ext4_utils: refactor kernel headersColin Cross
Move the kernel header includes into a single include file that can deal with getting the kernel int types correct on all platforms. Change-Id: Ied3dc6a0f5cbb3ceb686aa3de72f16e10a36462a
2013-02-20ext4_utils: add filesystem capabilities support.Nick Kralevich
Add support for specifying filesystem capabilities when creating a new filesystem. The combination of SELinux extended attributes plus filesystem capability extended attributes is too big to fit inside one inode entry. Because of this, I added support to ext4_utils to create an xattr block and link the inode to that block. We continue to try to fit everything inside the inode if possible, but fall over to creating a block if the extended attribute is too big. Change-Id: I40ebb63975b15ecd8c565486e171b4d50cd4dfaa
2012-03-30Extend make_ext4fs to support setting SELinux security contexts in ext4 images.Stephen Smalley
Extend make_ext4fs with support for looking up the right security context from the file_contexts configuration and setting it in the generated image. This is similar to the existing support for looking up the UID/GID/mode via android_filesystem_config.h and setting it, but via configuration rather than defined in a header. Change-Id: Ief9c44eeaaca4a44100a384b063f40b185469be3