1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- type ueventd, domain;
- type ueventd_tmpfs, file_type;
- allow ueventd kmsg_device:chr_file rw_file_perms;
- allow ueventd self:global_capability_class_set { chown mknod net_admin setgid fsetid sys_rawio dac_override dac_read_search fowner };
- allow ueventd device:file create_file_perms;
- r_dir_file(ueventd, rootfs)
- allow ueventd sysfs_type:file w_file_perms;
- r_dir_file(ueventd, sysfs_type)
- allow ueventd sysfs_type:{ file lnk_file } { relabelfrom relabelto setattr };
- allow ueventd sysfs_type:dir { relabelfrom relabelto setattr };
- allow ueventd tmpfs:chr_file rw_file_perms;
- allow ueventd dev_type:dir create_dir_perms;
- allow ueventd dev_type:lnk_file { create unlink };
- allow ueventd dev_type:chr_file { getattr create setattr unlink };
- allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
- allow ueventd self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
- allow ueventd efs_file:dir search;
- allow ueventd efs_file:file r_file_perms;
- r_dir_file(ueventd, selinuxfs)
- r_dir_file(ueventd, { vendor_file_type -vendor_app_file -vendor_overlay_file })
- allow ueventd file_contexts_file:file r_file_perms;
- allow ueventd self:process setfscreate;
- allow ueventd proc_cmdline:file r_file_perms;
- recovery_only(`
- allow ueventd rootfs:file { r_file_perms execute };
- ')
- dontaudit ueventd postinstall_mnt_dir:dir getattr;
- allow ueventd self:global_capability_class_set sys_module;
- allow ueventd vendor_file:system module_load;
- allow ueventd kernel:key search;
- allow ueventd system_bootstrap_lib_file:dir r_dir_perms;
- allow ueventd system_bootstrap_lib_file:file { execute read open getattr map };
- neverallow ueventd property_socket:sock_file write;
- neverallow ueventd init:unix_stream_socket connectto;
- neverallow ueventd property_type:property_service set;
- neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
- neverallow ueventd port_device:chr_file ~{ getattr create setattr unlink relabelto };
- neverallow * ueventd:process ptrace;
|