diff options
author | Robert Craig <rpcraig@tycho.ncsc.mil> | 2013-03-25 06:33:03 -0400 |
---|---|---|
committer | repo sync <gcondra@google.com> | 2013-03-25 17:37:51 -0700 |
commit | 4d3fd4e9988c0eb284dd5104c4dea757f723c716 (patch) | |
tree | 45de0dc04251dfa503ca7a9c1be1e43f84ea0f8c /cmds/installd/installd.h | |
parent | 0046d9614a57fe4f4e49692570810d424b1f4fe4 (diff) | |
download | frameworks_native-4d3fd4e9988c0eb284dd5104c4dea757f723c716.zip frameworks_native-4d3fd4e9988c0eb284dd5104c4dea757f723c716.tar.gz frameworks_native-4d3fd4e9988c0eb284dd5104c4dea757f723c716.tar.bz2 |
Add seinfo parsing to PackageManagerService.
This patch set allows the PMS to parse the
mac_permissions.xml file which contains the
seinfo values. Each package that is installed
on the device will be assigned an seinfo value
based on policy. This seinfo value will help label
the app process and data directory. Modifications
include adjustments to ApplicationInfo.java
to store the seinfo tag per package as well as
adjustments to installd to communicate the seinfo
tag to libselinux.
Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Diffstat (limited to 'cmds/installd/installd.h')
-rw-r--r-- | cmds/installd/installd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/installd.h b/cmds/installd/installd.h index efd3aa7..033d5a3 100644 --- a/cmds/installd/installd.h +++ b/cmds/installd/installd.h @@ -192,7 +192,7 @@ int ensure_media_user_dirs(userid_t userid); /* commands.c */ -int install(const char *pkgname, uid_t uid, gid_t gid); +int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo); int uninstall(const char *pkgname, uid_t persona); int renamepkg(const char *oldpkgname, const char *newpkgname); int fix_uid(const char *pkgname, uid_t uid, gid_t gid); |