Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
b8298d72
Commit
b8298d72
authored
11 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add support for and use new path= specifier in seapp_contexts."
parents
af99ed85
6139de50
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
seapp_contexts
+4
-1
4 additions, 1 deletion
seapp_contexts
tools/check_seapp.c
+1
-0
1 addition, 0 deletions
tools/check_seapp.c
with
5 additions
and
1 deletion
seapp_contexts
+
4
−
1
View file @
b8298d72
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
# user (string)
# user (string)
# seinfo (string)
# seinfo (string)
# name (string)
# name (string)
# path (string)
# sebool (string)
# sebool (string)
# isSystemServer=true can only be used once.
# isSystemServer=true can only be used once.
# An unspecified isSystemServer defaults to false.
# An unspecified isSystemServer defaults to false.
...
@@ -19,7 +20,8 @@
...
@@ -19,7 +20,8 @@
# (4) Longer user= prefix before shorter user= prefix.
# (4) Longer user= prefix before shorter user= prefix.
# (5) Specified seinfo= string before unspecified seinfo= string.
# (5) Specified seinfo= string before unspecified seinfo= string.
# (6) Specified name= string before unspecified name= string.
# (6) Specified name= string before unspecified name= string.
# (7) Specified sebool= string before unspecified sebool= string.
# (7) Specified path= string before unspecified path= string.
# (8) Specified sebool= string before unspecified sebool= string.
#
#
# Outputs:
# Outputs:
# domain (string)
# domain (string)
...
@@ -41,6 +43,7 @@ user=_app domain=untrusted_app type=app_data_file levelFrom=none
...
@@ -41,6 +43,7 @@ user=_app domain=untrusted_app type=app_data_file levelFrom=none
user=_app seinfo=platform domain=platform_app type=platform_app_data_file
user=_app seinfo=platform domain=platform_app type=platform_app_data_file
user=_app seinfo=shared domain=shared_app type=platform_app_data_file
user=_app seinfo=shared domain=shared_app type=platform_app_data_file
user=_app seinfo=media domain=media_app type=platform_app_data_file
user=_app seinfo=media domain=media_app type=platform_app_data_file
user=_app seinfo=media name=com.android.providers.downloads path=cache* type=download_file
user=_app seinfo=release domain=release_app type=platform_app_data_file
user=_app seinfo=release domain=release_app type=platform_app_data_file
user=_isolated domain=isolated_app
user=_isolated domain=isolated_app
user=shell domain=shell type=shell_data_file
user=shell domain=shell type=shell_data_file
This diff is collapsed.
Click to expand it.
tools/check_seapp.c
+
1
−
0
View file @
b8298d72
...
@@ -160,6 +160,7 @@ key_map rules[] = {
...
@@ -160,6 +160,7 @@ key_map rules[] = {
{
.
name
=
"user"
,
.
type
=
dt_string
,
.
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
=
"seinfo"
,
.
type
=
dt_string
,
.
dir
=
dir_in
,
.
data
=
NULL
},
{
.
name
=
"name"
,
.
type
=
dt_string
,
.
dir
=
dir_in
,
.
data
=
NULL
},
{
.
name
=
"name"
,
.
type
=
dt_string
,
.
dir
=
dir_in
,
.
data
=
NULL
},
{
.
name
=
"path"
,
.
type
=
dt_string
,
.
dir
=
dir_in
,
.
data
=
NULL
},
{
.
name
=
"sebool"
,
.
type
=
dt_string
,
.
dir
=
dir_in
,
.
data
=
NULL
},
{
.
name
=
"sebool"
,
.
type
=
dt_string
,
.
dir
=
dir_in
,
.
data
=
NULL
},
/*Outputs*/
/*Outputs*/
{
.
name
=
"domain"
,
.
type
=
dt_string
,
.
dir
=
dir_out
,
.
data
=
NULL
},
{
.
name
=
"domain"
,
.
type
=
dt_string
,
.
dir
=
dir_out
,
.
data
=
NULL
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment