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
f6f87105
Commit
f6f87105
authored
12 years ago
by
William Roberts
Committed by
Stephen Smalley
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove all denials caused by rild on tuna devices.
Tested on a maguro variant.
parent
80ea1d23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
nfc.te
+1
-0
1 addition, 0 deletions
nfc.te
rild.te
+8
-0
8 additions, 0 deletions
rild.te
ueventd.te
+3
-1
3 additions, 1 deletion
ueventd.te
with
12 additions
and
1 deletion
nfc.te
+
1
−
0
View file @
f6f87105
...
@@ -10,3 +10,4 @@ allow nfc nfc_data_file:dir create_dir_perms;
...
@@ -10,3 +10,4 @@ allow nfc nfc_data_file:dir create_dir_perms;
allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
allow nfc sysfs_nfc_power_writable:file rw_file_perms;
allow nfc sysfs_nfc_power_writable:file rw_file_perms;
allow nfc sysfs:file write;
This diff is collapsed.
Click to expand it.
rild.te
+
8
−
0
View file @
f6f87105
...
@@ -12,12 +12,20 @@ allow rild self:capability { setuid net_admin net_raw };
...
@@ -12,12 +12,20 @@ allow rild self:capability { setuid net_admin net_raw };
allow rild alarm_device:chr_file rw_file_perms;
allow rild alarm_device:chr_file rw_file_perms;
allow rild cgroup:dir create_dir_perms;
allow rild cgroup:dir create_dir_perms;
allow rild radio_device:chr_file rw_file_perms;
allow rild radio_device:chr_file rw_file_perms;
allow rild radio_device:blk_file r_file_perms;
allow rild qemu_device:chr_file rw_file_perms;
allow rild qemu_device:chr_file rw_file_perms;
allow rild mtd_device:dir search;
allow rild mtd_device:dir search;
allow rild efs_file:dir create_dir_perms;
allow rild efs_file:dir create_dir_perms;
allow rild efs_file:file create_file_perms;
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 radio_data_file:dir r_dir_perms;
allow rild radio_data_file:file rw_file_perms;
allow rild radio_device:lnk_file r_file_perms;
allow rild sdcard:dir r_dir_perms;
allow rild system_data_file:dir create_dir_perms;
allow rild system_data_file:file create_file_perms;
allow rild system_file:file x_file_perms;
dontaudit rild self:capability sys_admin;
dontaudit rild self:capability sys_admin;
# XXX Label sysfs files with a specific type?
# XXX Label sysfs files with a specific type?
allow rild sysfs:file rw_file_perms;
allow rild sysfs:file rw_file_perms;
...
...
This diff is collapsed.
Click to expand it.
ueventd.te
+
3
−
1
View file @
f6f87105
...
@@ -5,7 +5,7 @@ tmpfs_domain(ueventd)
...
@@ -5,7 +5,7 @@ tmpfs_domain(ueventd)
allow ueventd rootfs:file r_file_perms;
allow ueventd rootfs:file r_file_perms;
allow ueventd rootfs:file entrypoint;
allow ueventd rootfs:file entrypoint;
allow ueventd init:process sigchld;
allow ueventd init:process sigchld;
allow ueventd self:capability { chown mknod net_admin setgid fsetid };
allow ueventd self:capability { chown mknod net_admin setgid fsetid
sys_rawio dac_override
};
allow ueventd device:file create_file_perms;
allow ueventd device:file create_file_perms;
allow ueventd device:chr_file rw_file_perms;
allow ueventd device:chr_file rw_file_perms;
allow ueventd sysfs:file rw_file_perms;
allow ueventd sysfs:file rw_file_perms;
...
@@ -16,3 +16,5 @@ allow ueventd dev_type:lnk_file { create unlink };
...
@@ -16,3 +16,5 @@ allow ueventd dev_type:lnk_file { create unlink };
allow ueventd dev_type:chr_file { create setattr unlink };
allow ueventd dev_type:chr_file { create setattr unlink };
allow ueventd dev_type:blk_file { create setattr unlink };
allow ueventd dev_type:blk_file { create setattr unlink };
allow ueventd self:netlink_kobject_uevent_socket *;
allow ueventd self:netlink_kobject_uevent_socket *;
allow ueventd efs_file:dir search;
allow ueventd efs_file:file r_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