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
74ae46a0
Commit
74ae46a0
authored
11 years ago
by
Nick Kralevich
Committed by
Android Git Automerger
11 years ago
Browse files
Options
Downloads
Plain Diff
am
dd1ec6d5
: Give system_server / system_app ability to write some properties
* commit '
dd1ec6d5
': Give system_server / system_app ability to write some properties
parents
4358866a
dd1ec6d5
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
property.te
+1
-0
1 addition, 0 deletions
property.te
property_contexts
+1
-1
1 addition, 1 deletion
property_contexts
system_app.te
+3
-0
3 additions, 0 deletions
system_app.te
system_server.te
+1
-0
1 addition, 0 deletions
system_server.te
with
6 additions
and
1 deletion
property.te
+
1
−
0
View file @
74ae46a0
type default_prop, property_type;
type default_prop, property_type;
type shell_prop, property_type;
type shell_prop, property_type;
type debug_prop, property_type;
type radio_prop, property_type;
type radio_prop, property_type;
type system_prop, property_type;
type system_prop, property_type;
type vold_prop, property_type;
type vold_prop, property_type;
...
...
This diff is collapsed.
Click to expand it.
property_contexts
+
1
−
1
View file @
74ae46a0
...
@@ -26,7 +26,7 @@ wlan. u:object_r:system_prop:s0
...
@@ -26,7 +26,7 @@ wlan. u:object_r:system_prop:s0
dhcp. u:object_r:system_prop:s0
dhcp. u:object_r:system_prop:s0
bluetooth. u:object_r:bluetooth_prop:s0
bluetooth. u:object_r:bluetooth_prop:s0
debug. u:object_r:
shell
_prop:s0
debug. u:object_r:
debug
_prop:s0
log. u:object_r:shell_prop:s0
log. u:object_r:shell_prop:s0
service.adb.root u:object_r:shell_prop:s0
service.adb.root u:object_r:shell_prop:s0
service.adb.tcp.port u:object_r:shell_prop:s0
service.adb.tcp.port u:object_r:shell_prop:s0
...
...
This diff is collapsed.
Click to expand it.
system_app.te
+
3
−
0
View file @
74ae46a0
...
@@ -33,3 +33,6 @@ allow system_app sdcard_type:dir r_dir_perms;
...
@@ -33,3 +33,6 @@ allow system_app sdcard_type:dir r_dir_perms;
# Allow settings app to read from asec
# Allow settings app to read from asec
allow system_app asec_apk_file:dir search;
allow system_app asec_apk_file:dir search;
allow system_app asec_apk_file:file r_file_perms;
allow system_app asec_apk_file:file r_file_perms;
# Write to properties
allow system_app system_prop:property_service set;
This diff is collapsed.
Click to expand it.
system_server.te
+
1
−
0
View file @
74ae46a0
...
@@ -147,6 +147,7 @@ allow system_server anr_data_file:dir relabelto;
...
@@ -147,6 +147,7 @@ allow system_server anr_data_file:dir relabelto;
# Property Service write
# Property Service write
allow system_server system_prop:property_service set;
allow system_server system_prop:property_service set;
allow system_server radio_prop:property_service set;
allow system_server radio_prop:property_service set;
allow system_server debug_prop:property_service set;
# ctl interface
# ctl interface
allow system_server ctl_default_prop:property_service set;
allow system_server ctl_default_prop:property_service set;
...
...
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