Skip to content
Snippets Groups Projects
Commit 9085f1e4 authored by Stephen Smalley's avatar Stephen Smalley Committed by Android Git Automerger
Browse files

am abd629cc: am 9add1f03: Add sysfs_type attribute to sysfs, coalesce ueventd rules.

* commit 'abd629cc':
  Add sysfs_type attribute to sysfs, coalesce ueventd rules.
parents 6a1ae20c abd629cc
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ type proc_net, fs_type; ...@@ -14,7 +14,7 @@ type proc_net, fs_type;
type proc_sysrq, fs_type; type proc_sysrq, fs_type;
type selinuxfs, fs_type; type selinuxfs, fs_type;
type cgroup, fs_type, mlstrustedobject; type cgroup, fs_type, mlstrustedobject;
type sysfs, fs_type, mlstrustedobject; type sysfs, fs_type, sysfs_type, mlstrustedobject;
type sysfs_writable, fs_type, sysfs_type, mlstrustedobject; type sysfs_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject; type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_nfc_power_writable, fs_type, sysfs_type, mlstrustedobject; type sysfs_nfc_power_writable, fs_type, sysfs_type, mlstrustedobject;
......
...@@ -11,10 +11,8 @@ allow ueventd self:capability { chown mknod net_admin setgid fsetid sys_rawio da ...@@ -11,10 +11,8 @@ allow ueventd self:capability { chown mknod net_admin setgid fsetid sys_rawio da
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;
allow ueventd sysfs:file setattr; allow ueventd sysfs_type:file { relabelfrom relabelto setattr };
allow ueventd sysfs:file relabelfrom; allow ueventd sysfs_devices_system_cpu:file rw_file_perms;
allow ueventd sysfs_type:file { relabelfrom relabelto };
allow ueventd sysfs_devices_system_cpu:file {rw_file_perms setattr};
allow ueventd tmpfs:chr_file rw_file_perms; allow ueventd tmpfs:chr_file rw_file_perms;
allow ueventd dev_type:dir create_dir_perms; allow ueventd dev_type:dir create_dir_perms;
allow ueventd dev_type:lnk_file { create unlink }; allow ueventd dev_type:lnk_file { create unlink };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment