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
1bda71f5
Commit
1bda71f5
authored
8 years ago
by
Polina Bondarenko
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
sepolicy: Add policy for thermal HIDL service am:
9785f2ad
am:
458888a7
am:
abbc718f
Change-Id: Idc25b53e2e5cc1ac4ab9a93814773d69548a3db0
parents
5bfb4b3c
abbc718f
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
private/file_contexts
+1
-0
1 addition, 0 deletions
private/file_contexts
private/hal_thermal.te
+2
-0
2 additions, 0 deletions
private/hal_thermal.te
public/hal_thermal.te
+9
-0
9 additions, 0 deletions
public/hal_thermal.te
public/system_server.te
+1
-1
1 addition, 1 deletion
public/system_server.te
with
13 additions
and
1 deletion
private/file_contexts
+
1
−
0
View file @
1bda71f5
...
@@ -226,6 +226,7 @@
...
@@ -226,6 +226,7 @@
/system/bin/hw/android\.hardware\.memtrack@1\.0-service u:object_r:hal_memtrack_exec:s0
/system/bin/hw/android\.hardware\.memtrack@1\.0-service u:object_r:hal_memtrack_exec:s0
/system/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_exec:s0
/system/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_exec:s0
/system/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_exec:s0
/system/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_exec:s0
/system/bin/hw/android\.hardware\.thermal@1\.0-service u:object_r:hal_thermal_exec:s0
/system/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_exec:s0
/system/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_exec:s0
/system/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_exec:s0
/system/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_exec:s0
/system/bin/hw/android\.hardware\.wifi@1\.0-service u:object_r:hal_wifi_exec:s0
/system/bin/hw/android\.hardware\.wifi@1\.0-service u:object_r:hal_wifi_exec:s0
...
...
This diff is collapsed.
Click to expand it.
private/hal_thermal.te
0 → 100644
+
2
−
0
View file @
1bda71f5
# May be started by init
init_daemon_domain(hal_thermal)
This diff is collapsed.
Click to expand it.
public/hal_thermal.te
0 → 100644
+
9
−
0
View file @
1bda71f5
# thermal subsystem
type hal_thermal, domain;
type hal_thermal_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_thermal)
# call into system_server process (callbacks)
binder_call(hal_thermal, system_server)
This diff is collapsed.
Click to expand it.
public/system_server.te
+
1
−
1
View file @
1bda71f5
...
@@ -151,6 +151,7 @@ binder_call(system_server, hal_boot)
...
@@ -151,6 +151,7 @@ binder_call(system_server, hal_boot)
binder_call(system_server, hal_light)
binder_call(system_server, hal_light)
binder_call(system_server, hal_memtrack)
binder_call(system_server, hal_memtrack)
binder_call(system_server, hal_power)
binder_call(system_server, hal_power)
binder_call(system_server, hal_thermal)
binder_call(system_server, hal_vibrator)
binder_call(system_server, hal_vibrator)
binder_call(system_server, hal_vr)
binder_call(system_server, hal_vr)
binder_call(system_server, binderservicedomain)
binder_call(system_server, binderservicedomain)
...
@@ -568,7 +569,6 @@ r_dir_file(system_server, sysfs_type)
...
@@ -568,7 +569,6 @@ r_dir_file(system_server, sysfs_type)
# Allow system_server to make binder calls to hwservicemanager
# Allow system_server to make binder calls to hwservicemanager
binder_call(system_server, hwservicemanager)
binder_call(system_server, hwservicemanager)
###
###
### Neverallow rules
### Neverallow rules
###
###
...
...
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