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

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

* commit '9add1f03':
  Add sysfs_type attribute to sysfs, coalesce ueventd rules.
parents 4b683d24 9add1f03
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ type proc_net, fs_type;
type proc_sysrq, fs_type;
type selinuxfs, fs_type;
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_bluetooth_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
allow ueventd device:file create_file_perms;
allow ueventd device:chr_file rw_file_perms;
allow ueventd sysfs:file rw_file_perms;
allow ueventd sysfs:file setattr;
allow ueventd sysfs:file relabelfrom;
allow ueventd sysfs_type:file { relabelfrom relabelto };
allow ueventd sysfs_devices_system_cpu:file {rw_file_perms setattr};
allow ueventd sysfs_type:file { relabelfrom relabelto setattr };
allow ueventd sysfs_devices_system_cpu:file rw_file_perms;
allow ueventd tmpfs:chr_file rw_file_perms;
allow ueventd dev_type:dir create_dir_perms;
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