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
60db356d
Commit
60db356d
authored
8 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Give hostapd permissions to use its control socket"
parents
75b4b608
cbabe363
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
hostapd.te
+3
-4
3 additions, 4 deletions
hostapd.te
with
3 additions
and
4 deletions
hostapd.te
+
3
−
4
View file @
60db356d
...
@@ -26,8 +26,7 @@ allow hostapd self:netlink_route_socket nlmsg_write;
...
@@ -26,8 +26,7 @@ allow hostapd self:netlink_route_socket nlmsg_write;
allow hostapd wifi_data_file:file rw_file_perms;
allow hostapd wifi_data_file:file rw_file_perms;
r_dir_file(hostapd, wifi_data_file)
r_dir_file(hostapd, wifi_data_file)
# hostapd needs to bind to (and possibly create) its control interface socket.
# hostapd wants to create the directory holding its control socket.
allow hostapd hostapd_socket:dir rw_dir_perms;
allow hostapd hostapd_socket:dir create_dir_perms;
# hostapd likes to chmod its socket directory.
# hostapd needs to create, bind to, read, and write its control socket.
allow hostapd hostapd_socket:dir setattr;
allow hostapd hostapd_socket:sock_file create_file_perms;
allow hostapd hostapd_socket:sock_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