Lines Matching refs:chr_file
22 class chr_file
356 class chr_file
3280 mlsconstrain { dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } { create relabelfrom relabelto }
3304 mlsconstrain { file lnk_file sock_file chr_file blk_file } { read getattr execute }
3312 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link rename }
3740 allow adbd adb_device:chr_file { { getattr open read ioctl lock } { open append write } };
3743 allow adbd qemu_device:chr_file { { getattr open read ioctl lock } { open append write } };
3746 allow adbd devpts:chr_file { { getattr open read ioctl lock } { open append write } };
3835 allow appdomain ashmem_device:chr_file execute;
3866 allow appdomain devpts:chr_file { getattr read write ioctl };
3940 allow appdomain qtaguid_device:chr_file { getattr open read ioctl lock };
3944 allow appdomain gpu_device:chr_file { { { getattr open read ioctl lock } { open append write } } execute };
4087 allow appdomain usb_device:chr_file { read write getattr ioctl };
4088 allow appdomain usbaccessory_device:chr_file { read write getattr };
4176 }:chr_file { read write };
4180 graphics_device:chr_file { read write };
4182 neverallow { appdomain -nfc -unconfineddomain } nfc_device:chr_file
4184 neverallow { appdomain -bluetooth -unconfineddomain } hci_attach_dev:chr_file
4186 neverallow { appdomain -unconfineddomain } tee_device:chr_file { read write };
4244 neverallow { appdomain -unconfineddomain } rootfs:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4248 neverallow { appdomain -unconfineddomain } system_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4261 system_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4266 security_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4268 neverallow { appdomain -unconfineddomain } drm_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4270 neverallow { appdomain -unconfineddomain } gps_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4273 apk_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4276 apk_tmp_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4279 apk_private_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4282 apk_private_tmp_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4285 shell_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4288 bluetooth_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4291 keystore_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4294 systemkeys_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4297 wifi_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4300 dhcp_data_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } }
4305 efs_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } { read write };
4309 sysfs:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } write;
4311 proc:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } write;
4333 allow binderservicedomain devpts:chr_file { { getattr open read ioctl lock } { open append write } };
4377 allow bluetooth { tun_device uhid_device hci_attach_dev }:chr_file { { getattr open read ioctl lock } { open append write } };
4509 allow bootanim gpu_device:chr_file { { getattr open read ioctl lock } { open append write } };
4843 allow dhcp owntty_device:chr_file { { getattr open read ioctl lock } { open append write } };
4924 allow domain owntty_device:chr_file { { getattr open read ioctl lock } { open append write } };
4925 allow domain null_device:chr_file { { getattr open read ioctl lock } { open append write } };
4926 allow domain zero_device:chr_file { getattr open read ioctl lock };
4927 allow domain ashmem_device:chr_file { { getattr open read ioctl lock } { open append write } };
4928 allow domain binder_device:chr_file { { getattr open read ioctl lock } { open append write } };
4929 allow domain ptmx_device:chr_file { { getattr open read ioctl lock } { open append write } };
4931 allow domain log_device:chr_file { { getattr open read ioctl lock } { open append write } };
4932 allow domain alarm_device:chr_file { getattr open read ioctl lock };
4933 allow domain urandom_device:chr_file { { getattr open read ioctl lock } { open append write } };
4934 allow domain random_device:chr_file { { getattr open read ioctl lock } { open append write } };
4994 allow domain ion_device:chr_file { { getattr open read ioctl lock } { open append write } };
5073 neverallow { domain -relabeltodomain } *:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } relabelto;
5105 neverallow { domain -init -system_server -ueventd -unconfineddomain } hw_random_device:chr_file *;
5111 neverallow { domain -kernel -ueventd -init } kmem_device:chr_file *;
5112 neverallow domain kmem_device:chr_file ~{ create relabelto unlink setattr };
5133 neverallow { domain -unconfineddomain -ueventd } device:chr_file { open read write };
5265 allow drmserver tee_device:chr_file { { getattr open read ioctl lock } { open append write } };
5492 allow dumpstate ashmem_device:chr_file execute;
5741 allow gpsd gps_device:chr_file { { getattr open read ioctl lock } { open append write } };
5801 allow hci_attach hci_attach_dev:chr_file { { getattr open read ioctl lock } { open append write } };
5812 type_transition healthd device:chr_file klog_device "__kmsg__";
5814 allow healthd klog_device:chr_file { create open write unlink };
5821 allow healthd tmpfs:chr_file { read write };
5863 allow healthd graphics_device:chr_file { { getattr open read ioctl lock } { open append write } };
5865 allow healthd input_device:chr_file { getattr open read ioctl lock };
5866 allow healthd ashmem_device:chr_file execute;
5976 allow init {fs_type dev_type file_type}:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } relabelto;
6131 allow installd data_file_type:{ { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } { getattr unlink };
6238 allow kernel {fs_type dev_type file_type}:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } relabelto;
6328 allow keystore tee_device:chr_file { { getattr open read ioctl lock } { open append write } };
6489 neverallow logd system_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } write;
6492 neverallow logd { app_data_file system_data_file }:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } write;
6539 allow media_app mtp_device:chr_file { { getattr open read ioctl lock } { open append write } };
6700 allow mediaserver { gpu_device graphics_device }:chr_file { { getattr open read ioctl lock } { open append write } };
6702 allow mediaserver video_device:chr_file { { getattr open read ioctl lock } { open append write } };
6704 allow mediaserver qemu_device:chr_file { { getattr open read ioctl lock } { open append write } };
6705 allow mediaserver tee_device:chr_file { { getattr open read ioctl lock } { open append write } };
6709 allow mediaserver audio_device:chr_file { { getattr open read ioctl lock } { open append write } };
6718 allow mediaserver camera_device:chr_file { { getattr open read ioctl lock } { open append write } };
6719 allow mediaserver rpmsg_device:chr_file { { getattr open read ioctl lock } { open append write } };
6746 allow mediaserver qtaguid_device:chr_file { getattr open read ioctl lock };
6913 allow netd devpts:chr_file { { getattr open read ioctl lock } { open append write } };
7114 neverallow netd system_file:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } write;
7117 neverallow netd { app_data_file system_data_file }:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } write;
7174 allow nfc nfc_device:chr_file { { getattr open read ioctl lock } { open append write } };
7320 allow ppp ppp_device:chr_file { { getattr open read ioctl lock } { open append write } };
7496 allow racoon tun_device:chr_file { getattr open read ioctl lock };
7572 allow radio alarm_device:chr_file { { getattr open read ioctl lock } { open append write } };
7598 allow recovery {fs_type dev_type -kmem_device file_type}:{ dir { { chr_file blk_file } { file lnk_file sock_file fifo_file } } } relabelto;
7606 allow recovery ashmem_device:chr_file execute;
7752 allow rild alarm_device:chr_file { { getattr open read ioctl lock } { open append write } };
7754 allow rild radio_device:chr_file { { getattr open read ioctl lock } { open append write } };
7756 allow rild qemu_device:chr_file { { getattr open read ioctl lock } { open append write } };
7776 allow rild gps_device:chr_file { { getattr open read ioctl lock } { open append write } };
7778 allow rild tty_device:chr_file { { getattr open read ioctl lock } { open append write } };
7831 allow runas devpts:chr_file { read write ioctl };
7927 allow sdcardd fuse_device:chr_file { { getattr open read ioctl lock } { open append write } };
8084 allow shelldomain devpts:chr_file { { getattr open read ioctl lock } { open append write } };
8085 allow shelldomain tty_device:chr_file { { getattr open read ioctl lock } { open append write } };
8086 allow shelldomain console_device:chr_file { { getattr open read ioctl lock } { open append write } };
8087 allow shelldomain input_device:chr_file { { getattr open read ioctl lock } { open append write } };
8307 allow surfaceflinger gpu_device:chr_file { { getattr open read ioctl lock } { open append write } };
8311 allow surfaceflinger graphics_device:chr_file { { getattr open read ioctl lock } { open append write } };
8315 allow surfaceflinger video_device:chr_file { { getattr open read ioctl lock } { open append write } };
8367 allow surfaceflinger tee_device:chr_file { { getattr open read ioctl lock } { open append write } };
8502 allow system_server ashmem_device:chr_file execute;
8569 allow system_server qtaguid_device:chr_file { { getattr open read ioctl lock } { open append write } };
8781 allow system_server alarm_device:chr_file { { getattr open read ioctl lock } { open append write } };
8782 allow system_server gpu_device:chr_file { { getattr open read ioctl lock } { open append write } };
8784 allow system_server graphics_device:chr_file { { getattr open read ioctl lock } { open append write } };
8785 allow system_server iio_device:chr_file { { getattr open read ioctl lock } { open append write } };
8787 allow system_server input_device:chr_file { { getattr open read ioctl lock } { open append write } };
8788 allow system_server tty_device:chr_file { { getattr open read ioctl lock } { open append write } };
8789 allow system_server urandom_device:chr_file { { getattr open read ioctl lock } { open append write } };
8790 allow system_server usbaccessory_device:chr_file { { getattr open read ioctl lock } { open append write } };
8792 allow system_server video_device:chr_file { { getattr open read ioctl lock } { open append write } };
8793 allow system_server qemu_device:chr_file { { getattr open read ioctl lock } { open append write } };
8797 allow system_server tun_device:chr_file { { getattr open read ioctl lock } { open append write } };
8879 allow system_server gps_device:chr_file { { getattr open read ioctl lock } { open append write } };
8901 allow system_server usb_device:chr_file { { getattr open read ioctl lock } { open append write } };
8905 allow system_server sensors_device:chr_file { { getattr open read ioctl lock } { open append write } };
8908 allow system_server hw_random_device:chr_file { getattr open read ioctl lock };
9035 allow tee tee_device:chr_file { { getattr open read ioctl lock } { open append write } };
9054 type_transition ueventd device:chr_file klog_device "__kmsg__";
9056 allow ueventd klog_device:chr_file { create open write unlink };
9087 allow ueventd device:chr_file { { getattr open read ioctl lock } { open append write } };
9092 allow ueventd tmpfs:chr_file { { getattr open read ioctl lock } { open append write } };
9095 allow ueventd dev_type:chr_file { create setattr unlink };
9132 allow unconfineddomain {fs_type -usermodehelper -proc_security}:{ chr_file file } ~{entrypoint execmod execute relabelto};
9133 allow unconfineddomain {dev_type -kmem_device}:{ chr_file file } ~{entrypoint execmod execute relabelto};
9134 allow unconfineddomain file_type:{ chr_file file } ~{entrypoint execmod execute relabelto};
9295 allow untrusted_app tun_device:chr_file { { getattr open read ioctl lock } { open append write } };
9328 type_transition untrusted_app devpts:chr_file untrusted_app_devpts;
9332 allow untrusted_app untrusted_app_devpts:chr_file { open getattr read write ioctl };
9334 # Note: devpts:dir search and ptmx_device:chr_file rw_file_perms
9406 allow vold devpts:chr_file { { getattr open read ioctl lock } { open append write } };
9420 allow vold dm_device:chr_file { { getattr open read ioctl lock } { open append write } };
9435 type_transition vold device:chr_file klog_device "__kmsg__";
9437 chr_file { create open write unlink };
9517 allow watchdogd watchdog_device:chr_file { { getattr open read ioctl lock } { open append write } };
9521 type_transition watchdogd device:chr_file klog_device "__kmsg__";
9523 allow watchdogd klog_device:chr_file { create open write unlink };
9528 type_transition watchdogd device:chr_file null_device "__null__";
9529 allow watchdogd null_device:chr_file { create unlink };
9600 allow wpa random_device:chr_file { getattr open read ioctl lock };
9744 allow zygote ashmem_device:chr_file execute;
9755 allow bootanim ashmem_device:chr_file execute;
9761 allow surfaceflinger ashmem_device:chr_file execute;