replicant-frameworks_native/cmds/installd
Stephen Smalley 3a98389263 Ensure that app lib symlinks are correctly labeled when created.
At present, the app lib symlinks are created before setting
the package directory security context, and therefore default
to system_data_file.  Upon a later restorecon_recursive,
they are relabeled to the same type as the package directory,
e.g. app_data_file.  Avoid this inconsistency by setting the
package directory security context before creating the symlink
so that it inherits the same security context.

Change-Id: I1ee6ccd8a2aa63a4d2efda67f313c97932235911
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-05-13 12:59:40 -04:00
..
tests Correcting include path in installd test project's Android.mk 2014-02-28 15:41:57 +00:00
Android.mk Add liblog 2013-04-09 21:55:39 -07:00
commands.c Ensure that app lib symlinks are correctly labeled when created. 2014-05-13 12:59:40 -04:00
installd.c Add instruction-set arguments to installd commands. 2014-05-01 11:38:02 +01:00
installd.h Add instruction-set arguments to installd commands. 2014-05-01 11:38:02 +01:00
utils.c restorecon the profile directory. 2014-04-09 19:08:20 +00:00