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
62a225ff
Commit
62a225ff
authored
8 years ago
by
Dmitry Shmidt
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix wificond permissions for hikey"
parents
9eac5ecb
cd8e8d2b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wificond.te
+4
-0
4 additions, 0 deletions
wificond.te
with
4 additions
and
0 deletions
wificond.te
+
4
−
0
View file @
62a225ff
...
@@ -19,11 +19,15 @@ set_prop(wificond, ctl_default_prop)
...
@@ -19,11 +19,15 @@ set_prop(wificond, ctl_default_prop)
# create sockets to set interfaces up and down
# create sockets to set interfaces up and down
allow wificond self:udp_socket create_socket_perms;
allow wificond self:udp_socket create_socket_perms;
# See discussion in b/31226503
allowxperm wificond self:udp_socket ioctl unpriv_sock_ioctls;
# setting interface state up/down is a privileged ioctl
# setting interface state up/down is a privileged ioctl
allowxperm wificond self:udp_socket ioctl { SIOCSIFFLAGS };
allowxperm wificond self:udp_socket ioctl { SIOCSIFFLAGS };
allow wificond self:capability { net_admin net_raw };
allow wificond self:capability { net_admin net_raw };
# allow wificond to speak to nl80211 in the kernel
# allow wificond to speak to nl80211 in the kernel
allow wificond self:netlink_socket create_socket_perms;
allow wificond self:netlink_socket create_socket_perms;
# newer kernels (e.g. 4.4 but not 4.1) have a new class for sockets
allow wificond self:netlink_generic_socket create_socket_perms;
r_dir_file(wificond, proc_net)
r_dir_file(wificond, proc_net)
...
...
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