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
9d5f97b3
Commit
9d5f97b3
authored
8 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix sepolicy for Gatekeeper HAL"
parents
6de0d9a7
12e960e6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/gatekeeperd.te
+0
-1
0 additions, 1 deletion
public/gatekeeperd.te
public/hal_gatekeeper.te
+1
-4
1 addition, 4 deletions
public/hal_gatekeeper.te
with
1 addition
and
5 deletions
public/gatekeeperd.te
+
0
−
1
View file @
9d5f97b3
...
@@ -15,7 +15,6 @@ allow gatekeeperd system_file:dir r_dir_perms;
...
@@ -15,7 +15,6 @@ allow gatekeeperd system_file:dir r_dir_perms;
### Rules needed when Gatekeeper HAL runs outside of gatekeeperd process.
### Rules needed when Gatekeeper HAL runs outside of gatekeeperd process.
### These rules should eventually be granted only when needed.
### These rules should eventually be granted only when needed.
hwbinder_use(gatekeeperd)
hal_client_domain(gatekeeperd, hal_gatekeeper)
hal_client_domain(gatekeeperd, hal_gatekeeper)
###
###
...
...
This diff is collapsed.
Click to expand it.
public/hal_gatekeeper.te
+
1
−
4
View file @
9d5f97b3
# call into gatekeeperd process (callbacks)
binder_call(hal_gatekeeper_client, hal_gatekeeper_server)
# TODO: This rules is unlikely to be needed because Gatekeeper HIDL
# says there are no callbacks
binder_call(hal_gatekeeper, gatekeeperd)
# TEE access.
# TEE access.
allow hal_gatekeeper tee_device:chr_file rw_file_perms;
allow hal_gatekeeper tee_device:chr_file rw_file_perms;
...
...
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