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
a02bd89a
Commit
a02bd89a
authored
9 years ago
by
Pavlin Radoslavov
Browse files
Options
Downloads
Patches
Plain Diff
Minor cleanup to align the content with AOSP
No functional changes. Change-Id: Ic9e5aae5b4a214f5dc4c710e7bdcd51eb7b63e75
parent
aae27dcd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bluetooth.te
+3
-2
3 additions, 2 deletions
bluetooth.te
with
3 additions
and
2 deletions
bluetooth.te
+
3
−
2
View file @
a02bd89a
...
...
@@ -3,6 +3,8 @@ type bluetooth, domain, domain_deprecated;
app_domain(bluetooth)
net_domain(bluetooth)
wakelock_use(bluetooth);
# Data file accesses.
allow bluetooth bluetooth_data_file:dir create_dir_perms;
allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms;
...
...
@@ -20,7 +22,6 @@ allow bluetooth { uhid_device hci_attach_dev }:chr_file rw_file_perms;
allow bluetooth sysfs_bluetooth_writable:file rw_file_perms;
allow bluetooth self:capability net_admin;
allow bluetooth self:capability2 wake_alarm;
wakelock_use(bluetooth);
# tethering
allow bluetooth self:tun_socket create_socket_perms;
...
...
@@ -60,4 +61,4 @@ allow bluetooth shell_data_file:file read;
# Superuser capabilities.
# bluetooth requires net_admin, wake_alarm and block_suspend
neverallow bluetooth self:capability ~net_admin;
neverallow bluetooth self:capability2 ~{wake_alarm block_suspend};
neverallow bluetooth self:capability2 ~{
wake_alarm block_suspend
};
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