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
e098205a
Commit
e098205a
authored
8 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "system_server, bluetooth: grant access to priv socket ioctls"
parents
6a25d406
f19bcfd5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
bluetooth.te
+2
-0
2 additions, 0 deletions
bluetooth.te
system_server.te
+2
-2
2 additions, 2 deletions
system_server.te
with
4 additions
and
2 deletions
bluetooth.te
+
2
−
0
View file @
e098205a
...
...
@@ -2,6 +2,8 @@
type bluetooth, domain, domain_deprecated;
app_domain(bluetooth)
net_domain(bluetooth)
# Allow access to net_admin ioctls
allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls;
wakelock_use(bluetooth);
...
...
This diff is collapsed.
Click to expand it.
system_server.te
+
2
−
2
View file @
e098205a
...
...
@@ -42,8 +42,8 @@ allow system_server zygote:unix_stream_socket { getopt getattr };
# system server gets network and bluetooth permissions.
net_domain(system_server)
# in addition to ioctls whitelisted for all domains, also allow system_server
# to use
:
allowxperm system_server self:udp_socket ioctl
SIOCSIFFLAGS
;
# to use
privileged ioctls commands. Needed to set up VPNs.
allowxperm system_server self:udp_socket ioctl
priv_sock_ioctls
;
bluetooth_domain(system_server)
# These are the capabilities assigned by the zygote to the
...
...
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