OSDN Git Service

Extend make_ext4fs to support setting SELinux security contexts in ext4 images.
authorStephen Smalley <sds@tycho.nsa.gov>
Fri, 13 Jan 2012 14:00:56 +0000 (09:00 -0500)
committerStephen Smalley <sds@tycho.nsa.gov>
Fri, 30 Mar 2012 13:21:34 +0000 (09:21 -0400)
commitb4eca4b24af9c80ebb2a7fa2ba539a48096b7576
tree5bd2e6ab4209eac96bfad81be9baf1a4b664efc0
parent178509efc415f365ad09c11df2d68b51ac32aca4
Extend make_ext4fs to support setting SELinux security contexts in ext4 images.

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
ext4_utils/Android.mk
ext4_utils/contents.c
ext4_utils/contents.h
ext4_utils/make_ext4fs.c
ext4_utils/make_ext4fs.h
ext4_utils/make_ext4fs_main.c
ext4_utils/mkuserimg.sh
ext4_utils/xattr.h [new file with mode: 0644]