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
60fafb00
Commit
60fafb00
authored
8 years ago
by
Iliyan Malchev
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
sepolicy: allow hwservicemanager to set properties am:
96031a83
am:
bfde4e0b
Change-Id: I659ff4cbf55ddb386393b128606170765e3cf2c4
parents
1f777c9d
bfde4e0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
hwservicemanager.te
+2
-0
2 additions, 0 deletions
hwservicemanager.te
property.te
+1
-0
1 addition, 0 deletions
property.te
property_contexts
+3
-0
3 additions, 0 deletions
property_contexts
with
6 additions
and
0 deletions
hwservicemanager.te
+
2
−
0
View file @
60fafb00
...
@@ -13,6 +13,8 @@ init_daemon_domain(hwservicemanager)
...
@@ -13,6 +13,8 @@ init_daemon_domain(hwservicemanager)
allow hwservicemanager self:binder set_context_mgr;
allow hwservicemanager self:binder set_context_mgr;
allow hwservicemanager { domain -init }:binder transfer;
allow hwservicemanager { domain -init }:binder transfer;
set_prop(hwservicemanager, hwservicemanager_prop)
# TODO once hwservicemanager checks whether HALs are
# TODO once hwservicemanager checks whether HALs are
# allowed to register a certain service, add policy here
# allowed to register a certain service, add policy here
# for allowing to check SELinux permissions.
# for allowing to check SELinux permissions.
This diff is collapsed.
Click to expand it.
property.te
+
1
−
0
View file @
60fafb00
...
@@ -40,5 +40,6 @@ type dalvik_prop, property_type, core_property_type;
...
@@ -40,5 +40,6 @@ type dalvik_prop, property_type, core_property_type;
type config_prop, property_type, core_property_type;
type config_prop, property_type, core_property_type;
type device_logging_prop, property_type;
type device_logging_prop, property_type;
type safemode_prop, property_type;
type safemode_prop, property_type;
type hwservicemanager_prop, property_type;
allow property_type tmpfs:filesystem associate;
allow property_type tmpfs:filesystem associate;
This diff is collapsed.
Click to expand it.
property_contexts
+
3
−
0
View file @
60fafb00
...
@@ -99,3 +99,6 @@ ro.dalvik. u:object_r:dalvik_prop:s0
...
@@ -99,3 +99,6 @@ ro.dalvik. u:object_r:dalvik_prop:s0
# Shared between system server and wificond
# Shared between system server and wificond
wlan. u:object_r:wifi_prop:s0
wlan. u:object_r:wifi_prop:s0
# hwservicemanager properties
hwservicemanager. u:object_r:hwservicemanager_prop:s0
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