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
3fafd14f
Commit
3fafd14f
authored
8 years ago
by
Ruchi Kandoi
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
hal_memtrack: Add sepolicy for memtrack service. am:
0a924a6e
am:
bd85244d
am:
3aca6250
Change-Id: I5603358af01916ee718d1487f13acb64c7930a5b
parents
37a372f2
3aca6250
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
private/file_contexts
+1
-0
1 addition, 0 deletions
private/file_contexts
private/hal_memtrack.te
+2
-0
2 additions, 0 deletions
private/hal_memtrack.te
public/hal_memtrack.te
+6
-0
6 additions, 0 deletions
public/hal_memtrack.te
public/system_server.te
+1
-0
1 addition, 0 deletions
public/system_server.te
with
10 additions
and
0 deletions
private/file_contexts
+
1
−
0
View file @
3fafd14f
...
@@ -223,6 +223,7 @@
...
@@ -223,6 +223,7 @@
/system/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_exec:s0
/system/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_exec:s0
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_exec:s0
/system/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_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\.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
...
...
This diff is collapsed.
Click to expand it.
private/hal_memtrack.te
0 → 100644
+
2
−
0
View file @
3fafd14f
# may be started by init
init_daemon_domain(hal_memtrack)
This diff is collapsed.
Click to expand it.
public/hal_memtrack.te
0 → 100644
+
6
−
0
View file @
3fafd14f
# memtrack subsystem
type hal_memtrack, domain;
type hal_memtrack_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_memtrack);
This diff is collapsed.
Click to expand it.
public/system_server.te
+
1
−
0
View file @
3fafd14f
...
@@ -149,6 +149,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt };
...
@@ -149,6 +149,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt };
binder_use(system_server)
binder_use(system_server)
binder_call(system_server, hal_boot)
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_power)
binder_call(system_server, hal_power)
binder_call(system_server, hal_vibrator)
binder_call(system_server, hal_vibrator)
binder_call(system_server, hal_vr)
binder_call(system_server, hal_vr)
...
...
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