Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
53f53758
Commit
53f53758
authored
6 years ago
by
Jiwen Cai
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow app to conntect to BufferHub service"
parents
146be01a
e17b2935
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/app_neverallows.te
+1
-0
1 addition, 0 deletions
private/app_neverallows.te
private/technical_debt.cil
+5
-0
5 additions, 0 deletions
private/technical_debt.cil
public/fwk_bufferhub.te
+1
-1
1 addition, 1 deletion
public/fwk_bufferhub.te
with
7 additions
and
1 deletion
private/app_neverallows.te
+
1
−
0
View file @
53f53758
...
@@ -294,6 +294,7 @@ neverallow all_untrusted_apps {
...
@@ -294,6 +294,7 @@ neverallow all_untrusted_apps {
neverallow all_untrusted_apps {
neverallow all_untrusted_apps {
coredomain_hwservice
coredomain_hwservice
-same_process_hwservice
-same_process_hwservice
-fwk_bufferhub_hwservice # Designed for use by any domain
-hidl_allocator_hwservice # Designed for use by any domain
-hidl_allocator_hwservice # Designed for use by any domain
-hidl_manager_hwservice # Designed for use by any domain
-hidl_manager_hwservice # Designed for use by any domain
-hidl_memory_hwservice # Designed for use by any domain
-hidl_memory_hwservice # Designed for use by any domain
...
...
This diff is collapsed.
Click to expand it.
private/technical_debt.cil
+
5
−
0
View file @
53f53758
...
@@ -50,3 +50,8 @@
...
@@ -50,3 +50,8 @@
(typeattributeset untrusted_app_visible_hwservice_violators (untrusted_app_visible_hwservice))
(typeattributeset untrusted_app_visible_hwservice_violators (untrusted_app_visible_hwservice))
(typeattribute untrusted_app_visible_halserver)
(typeattribute untrusted_app_visible_halserver)
(typeattributeset untrusted_app_visible_halserver_violators (untrusted_app_visible_halserver))
(typeattributeset untrusted_app_visible_halserver_violators (untrusted_app_visible_halserver))
; Apps, except isolated apps, are clients of BufferHub HAL
; Unfortunately, we can't currently express this in module policy language:
; typeattribute { appdomain -isolated_app } hal_cas_client;
(typeattributeset hal_bufferhub_client ((and (appdomain) ((not (isolated_app))))))
This diff is collapsed.
Click to expand it.
public/fwk_bufferhub.te
+
1
−
1
View file @
53f53758
binder_call(hal_bufferhub_client, hal_bufferhub_server)
binder_call(hal_bufferhub_client, hal_bufferhub_server)
binder_call(hal_bufferhub_server, hal_bufferhub_client)
binder_call(hal_bufferhub_server, hal_bufferhub_client)
add
_hwservice(hal_bufferhub
_server
, fwk_bufferhub_hwservice)
hal_attribute
_hwservice(hal_bufferhub, fwk_bufferhub_hwservice)
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