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
edc2fedb
Commit
edc2fedb
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow Bluetooth sys_nice and system_server setsched for Bluetooth HAL" into oc-dev
parents
c78db706
3c46d2ff
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
private/bluetooth.te
+5
-2
5 additions, 2 deletions
private/bluetooth.te
private/system_server.te
+1
-0
1 addition, 0 deletions
private/system_server.te
with
6 additions
and
2 deletions
private/bluetooth.te
+
5
−
2
View file @
edc2fedb
...
...
@@ -57,6 +57,9 @@ allow bluetooth system_api_service:service_manager find;
# /data/data/com.android.shell/files/bugreports/bugreport-*.
allow bluetooth shell_data_file:file read;
# Bluetooth audio needs RT scheduling to meet deadlines, allow sys_nice
allow bluetooth self:capability sys_nice;
hal_client_domain(bluetooth, hal_bluetooth)
hal_client_domain(bluetooth, hal_telephony)
...
...
@@ -69,6 +72,6 @@ read_runtime_log_tags(bluetooth)
###
# Superuser capabilities.
#
b
luetooth requires net_{admin,raw,bind_service} and wake_alarm and block_suspend.
neverallow bluetooth self:capability ~{ net_admin net_raw net_bind_service };
#
B
luetooth requires net_{admin,raw,bind_service} and wake_alarm and block_suspend
and sys_nice
.
neverallow bluetooth self:capability ~{ net_admin net_raw net_bind_service
sys_nice
};
neverallow bluetooth self:capability2 ~{ wake_alarm block_suspend };
This diff is collapsed.
Click to expand it.
private/system_server.te
+
1
−
0
View file @
edc2fedb
...
...
@@ -98,6 +98,7 @@ allow system_server appdomain:process { sigkill signal };
allow system_server appdomain:process { getsched setsched };
allow system_server audioserver:process { getsched setsched };
allow system_server hal_audio:process { getsched setsched };
allow system_server hal_bluetooth:process { getsched setsched };
allow system_server cameraserver:process { getsched setsched };
allow system_server hal_camera:process { getsched setsched };
allow system_server mediaserver:process { getsched setsched };
...
...
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