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
b4ab72d5
Commit
b4ab72d5
authored
11 years ago
by
William Luh
Browse files
Options
Downloads
Patches
Plain Diff
Expand permissions for 3 existing allow policies for rild and a new one for rild.
Change-Id: Iafe68ac1b742e40c1a23a2f6cfd6373ea89cc07b
parent
49dca3f0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rild.te
+5
-3
5 additions, 3 deletions
rild.te
with
5 additions
and
3 deletions
rild.te
+
5
−
3
View file @
b4ab72d5
...
@@ -4,7 +4,7 @@ type rild_exec, exec_type, file_type;
...
@@ -4,7 +4,7 @@ type rild_exec, exec_type, file_type;
init_daemon_domain(rild)
init_daemon_domain(rild)
net_domain(rild)
net_domain(rild)
allow rild self:netlink_route_socket setopt;
allow rild self:netlink_route_socket
{
setopt
write }
;
allow rild kernel:system module_request;
allow rild kernel:system module_request;
unix_socket_connect(rild, property, init)
unix_socket_connect(rild, property, init)
unix_socket_connect(rild, qemud, qemud)
unix_socket_connect(rild, qemud, qemud)
...
@@ -20,8 +20,8 @@ allow rild efs_file:file create_file_perms;
...
@@ -20,8 +20,8 @@ allow rild efs_file:file create_file_perms;
allow rild shell_exec:file rx_file_perms;
allow rild shell_exec:file rx_file_perms;
allow rild bluetooth_efs_file:file r_file_perms;
allow rild bluetooth_efs_file:file r_file_perms;
allow rild bluetooth_efs_file:dir r_dir_perms;
allow rild bluetooth_efs_file:dir r_dir_perms;
allow rild radio_data_file:dir r_dir_perms;
allow rild radio_data_file:dir r
w
_dir_perms;
allow rild radio_data_file:file
rw
_file_perms;
allow rild radio_data_file:file
create
_file_perms;
allow rild sdcard_type:dir r_dir_perms;
allow rild sdcard_type:dir r_dir_perms;
allow rild system_data_file:dir create_dir_perms;
allow rild system_data_file:dir create_dir_perms;
allow rild system_data_file:file create_file_perms;
allow rild system_data_file:file create_file_perms;
...
@@ -41,3 +41,5 @@ allow rild tty_device:chr_file rw_file_perms;
...
@@ -41,3 +41,5 @@ allow rild tty_device:chr_file rw_file_perms;
# Allow rild to create, bind, read, write to itself through a netlink socket
# Allow rild to create, bind, read, write to itself through a netlink socket
allow rild self:netlink_socket { create bind read write };
allow rild self:netlink_socket { create bind read write };
allow rild self:netlink_kobject_uevent_socket { bind create getopt read setopt };
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