diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2014-09-15 15:16:06 -0400 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2014-09-15 15:55:04 -0400 |
commit | ff4db9194e684a894939f88effc84f79f222e1c3 (patch) | |
tree | df6a93c118a6eb8e8d8b115e28a85500de8791d9 /tools | |
parent | e7d136738fcd90346839b373bf3404d70c5334eb (diff) | |
download | android_external_sepolicy-ff4db9194e684a894939f88effc84f79f222e1c3.tar.gz android_external_sepolicy-ff4db9194e684a894939f88effc84f79f222e1c3.tar.bz2 android_external_sepolicy-ff4db9194e684a894939f88effc84f79f222e1c3.zip |
Add isOwner= input selector for seapp_contexts.
Enable labeling apps differently depending on whether they
are running for the primary user / owner or for a secondary user.
Change-Id: I37aa5b183a7a617cce68ccf14510c31dfee4e04d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check_seapp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/check_seapp.c b/tools/check_seapp.c index 39fe77e..af780a3 100644 --- a/tools/check_seapp.c +++ b/tools/check_seapp.c @@ -157,6 +157,7 @@ static policy_info pol = { key_map rules[] = { /*Inputs*/ { .name = "isSystemServer", .type = dt_bool, .dir = dir_in, .data = NULL }, + { .name = "isOwner", .type = dt_bool, .dir = dir_in, .data = NULL }, { .name = "user", .type = dt_string, .dir = dir_in, .data = NULL }, { .name = "seinfo", .type = dt_string, .dir = dir_in, .data = NULL }, { .name = "name", .type = dt_string, .dir = dir_in, .data = NULL }, |