Lines Matching full:ueventd
1 # ueventd seclabel is specified in init.rc since
3 type ueventd, domain;
6 allow ueventd kmsg_device:chr_file rw_file_perms;
8 allow ueventd self:capability { chown mknod net_admin setgid fsetid sys_rawio dac_override fowner };
9 allow ueventd device:file create_file_perms;
11 r_dir_file(ueventd, sysfs_type)
12 r_dir_file(ueventd, rootfs)
13 allow ueventd sysfs:file w_file_perms;
14 allow ueventd sysfs_usb:file w_file_perms;
15 allow ueventd sysfs_hwrandom:file w_file_perms;
16 allow ueventd sysfs_zram_uevent:file w_file_perms;
17 allow ueventd sysfs_type:{ file lnk_file } { relabelfrom relabelto setattr getattr };
18 allow ueventd sysfs_type:dir { relabelfrom relabelto setattr r_dir_perms };
19 allow ueventd sysfs_devices_system_cpu:file rw_file_perms;
20 allow ueventd tmpfs:chr_file rw_file_perms;
21 allow ueventd dev_type:dir create_dir_perms;
22 allow ueventd dev_type:lnk_file { create unlink };
23 allow ueventd dev_type:chr_file { getattr create setattr unlink };
24 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
25 allow ueventd self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
26 allow ueventd efs_file:dir search;
27 allow ueventd efs_file:file r_file_perms;
30 r_dir_file(ueventd, selinuxfs)
32 # Access for /vendor/ueventd.rc and /vendor/firmware
33 r_dir_file(ueventd, vendor_file)
36 allow ueventd file_contexts_file:file r_file_perms;
39 allow ueventd self:process setfscreate;
45 # ueventd must never set properties, otherwise deadlocks may occur.
48 neverallow ueventd property_socket:sock_file write;
49 neverallow ueventd init:unix_stream_socket connectto;
50 neverallow ueventd property_type:property_service set;
52 # Restrict ueventd access on block devices to maintenence operations.
53 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
56 neverallow ueventd { kmem_device port_device }:chr_file ~{ getattr create setattr unlink relabelto …