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
4eee8138
Commit
4eee8138
authored
9 years ago
by
Nick Kralevich
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Add auditallow for bluetoothdomain rules
am:
cb835a28
* commit '
cb835a28
': Add auditallow for bluetoothdomain rules
parents
a049bb30
cb835a28
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
bluetoothdomain.te
+4
-2
4 additions, 2 deletions
bluetoothdomain.te
system_server.te
+4
-0
4 additions, 0 deletions
system_server.te
with
8 additions
and
2 deletions
bluetoothdomain.te
+
4
−
2
View file @
4eee8138
...
@@ -3,9 +3,11 @@
...
@@ -3,9 +3,11 @@
# bluetooth sockets, nor does it distinguish among the bluetooth protocols.
# bluetooth sockets, nor does it distinguish among the bluetooth protocols.
# TODO: This should no longer be needed with bluedroid for bluetooth
# TODO: This should no longer be needed with bluedroid for bluetooth
# but may be getting used for other non-bluetooth sockets that has no
# but may be getting used for other non-bluetooth sockets that has no
# specific class defined. Consider taking to specific domains.
# specific class defined. Consider taking to specific domains.
(b/25768265)
allow bluetoothdomain self:socket create_socket_perms;
allow bluetoothdomain self:socket create_socket_perms;
auditallow { bluetoothdomain -system_server } self:socket create_socket_perms;
# Allow clients to use a socket provided by the bluetooth app.
# Allow clients to use a socket provided by the bluetooth app.
# TODO: See if this is still required under bluedroid.
# TODO: See if this is still required under bluedroid.
(b/25767747)
allow bluetoothdomain bluetooth:unix_stream_socket { getopt setopt getattr read write ioctl shutdown };
allow bluetoothdomain bluetooth:unix_stream_socket { getopt setopt getattr read write ioctl shutdown };
auditallow bluetoothdomain bluetooth:unix_stream_socket { getopt setopt getattr read write ioctl shutdown };
This diff is collapsed.
Click to expand it.
system_server.te
+
4
−
0
View file @
4eee8138
...
@@ -65,6 +65,10 @@ allow system_server self:netlink_kobject_uevent_socket create_socket_perms;
...
@@ -65,6 +65,10 @@ allow system_server self:netlink_kobject_uevent_socket create_socket_perms;
# Use generic netlink sockets.
# Use generic netlink sockets.
allow system_server self:netlink_socket create_socket_perms;
allow system_server self:netlink_socket create_socket_perms;
# Use generic "sockets" where the address family is not known
# to the kernel.
allow system_server self:socket create_socket_perms;
# Set and get routes directly via netlink.
# Set and get routes directly via netlink.
allow system_server self:netlink_route_socket nlmsg_write;
allow system_server self:netlink_route_socket nlmsg_write;
...
...
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