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
a21b3b19
Commit
a21b3b19
authored
8 years ago
by
Myles Watson
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Disallow HAL access to Bluetooth data files am:
02d9d21d
am:
6f700ae5
Change-Id: I6d58dcfa6037dc916d9ab5b995d2132e559783e1
parents
b78fd545
6f700ae5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/hal_bluetooth.te
+0
-3
0 additions, 3 deletions
public/hal_bluetooth.te
vendor/hal_bluetooth_default.te
+0
-4
0 additions, 4 deletions
vendor/hal_bluetooth_default.te
with
0 additions
and
7 deletions
public/hal_bluetooth.te
+
0
−
3
View file @
a21b3b19
...
...
@@ -12,9 +12,6 @@ r_dir_file(hal_bluetooth, bluetooth_efs_file)
allow hal_bluetooth { uhid_device hci_attach_dev }:chr_file rw_file_perms;
# Access to config files to look for a Bluetooth address
r_dir_file(hal_bluetooth, bluetooth_data_file)
# sysfs access.
r_dir_file(hal_bluetooth, sysfs_type)
allow hal_bluetooth sysfs_bluetooth_writable:file rw_file_perms;
...
...
This diff is collapsed.
Click to expand it.
vendor/hal_bluetooth_default.te
+
0
−
4
View file @
a21b3b19
...
...
@@ -3,7 +3,3 @@ hal_server_domain(hal_bluetooth_default, hal_bluetooth)
type hal_bluetooth_default_exec, exec_type, file_type;
init_daemon_domain(hal_bluetooth_default)
# Logging for backward compatibility
allow hal_bluetooth_default bluetooth_data_file:dir ra_dir_perms;
allow hal_bluetooth_default bluetooth_data_file:file create_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