Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 1227) sorted by relevance

12345678910>>...50

/device/mediatek/wembley-sepolicy/r_non_plat/
Datci_service.te14 allow atci_service misc2_block_device:blk_file { open read write };
15 allow atci_service misc2_device:chr_file { open read write };
16 allow atci_service camera_isp_device:chr_file { read write ioctl open };
17 allow atci_service graphics_device:chr_file { read write ioctl open };
19 allow atci_service kd_camera_hw_device:chr_file { read write ioctl open };
21 allow atci_service nvram_device:chr_file { read write open ioctl };
22 allow atci_service camera_isp_device:chr_file { read write ioctl open };
23 allow atci_service camera_sysram_device:chr_file { read ioctl open };
30 allow atci_service kd_camera_flashlight_device:chr_file { read write ioctl open };
31 allow atci_service ccu_device:chr_file { read write ioctl open };
[all …]
Ddumpstate.te9 allow dumpstate aed_device:chr_file { read getattr };
20 allow dumpstate debugfs_binder:dir { read open };
21 allow dumpstate debugfs_binder:file { read open };
22 allow dumpstate debugfs_blockio:file { read open };
24 allow dumpstate debugfs_fb:file { read open };
26 allow dumpstate debugfs_fuseio:file { read open };
28 allow dumpstate debugfs_ged:file { read open };
30 allow dumpstate debugfs_shrinker_debug:file { read open };
31 allow dumpstate debugfs_wakeup_sources:file { read open };
32 allow dumpstate debugfs_dmlog_debug:file { read open };
[all …]
Dkisd.te19 allow kisd tee_device:chr_file {read write open ioctl};
20 allow kisd provision_file:dir {read write open ioctl add_name search remove_name};
21 allow kisd provision_file:file {create read write open getattr unlink};
22 allow kisd block_device:dir {read write open ioctl search};
23 allow kisd kb_block_device:blk_file {read write open ioctl getattr};
24 allow kisd dkb_block_device:blk_file {read write open ioctl getattr};
26 allow kisd key_install_data_file:file {write getattr read create unlink open};
28 allow kisd mtd_device:chr_file { open read write };
29 allow kisd mtd_device:blk_file { open read write ioctl getattr};
31 allow kisd kb_block_device:chr_file {read write open ioctl getattr};
[all …]
Daee_aedv.te64 allow aee_aedv mnt_user_file:lnk_file read;
67 allow aee_aedv storage_file:lnk_file read;
70 allow aee_aedv su:dir {search read open };
71 allow aee_aedv su:file { read getattr open };
78 allow aee_aedv dumpstate:unix_stream_socket { read write ioctl };
120 allow aee_aedv debugfs_binder:dir { read open };
121 allow aee_aedv debugfs_binder:file { read open };
122 allow aee_aedv debugfs_blockio:file { read open };
124 allow aee_aedv debugfs_fb:file { read open };
126 allow aee_aedv debugfs_fuseio:file { read open };
[all …]
Dem_svr.te3 allow em_svr als_ps_device:chr_file { read open ioctl };
4 allow em_svr gsensor_device:chr_file { read open ioctl };
8 allow em_svr md_block_device:blk_file { read open };
12 allow em_svr para_block_device:blk_file { read open write};
13 allow em_svr proc_lk_env:file { read write ioctl open };
17 allow em_svr misc_sd_device:chr_file { read open ioctl };
26 allow em_svr nvram_device:blk_file { open read write };
30 allow em_svr gyroscope_device:chr_file { read ioctl open };
41 allow em_svr proc_freqhop:file { open read write };
45 allow em_svr proc_flash:file { open read };
[all …]
Dstp_dump3.te24 allow stp_dump3 self:netlink_socket { read write getattr bind create setopt };
25 allow stp_dump3 self:netlink_generic_socket { read write getattr bind create setopt };
26 allow stp_dump3 wmtdetect_device:chr_file { read write ioctl open };
29 allow stp_dump3 tmpfs:lnk_file read;
31 allow stp_dump3 mnt_user_file:lnk_file read;
32 allow stp_dump3 storage_file:lnk_file read;
35 allow stp_dump3 sdcard_type:dir {open read write create setattr getattr add_name remove_name search…
36 allow stp_dump3 sdcard_type:file { open read write create setattr getattr append unlink rename};
Dmnld.te26 allow mnld nvram_data_file:lnk_file read;
27 allow mnld nvdata_file:lnk_file read;
41 allow mnld init:udp_socket { read write };
54 allow mnld mdlog_device:chr_file { read write };
56 allow mnld stpbt_device:chr_file { read write };
57 allow mnld gpsdl_device:chr_file { read write };
58 allow mnld ttyGS_device:chr_file { read write };
66 allow mnld sdcard_type:dir { read remove_name create open };
67 allow mnld tmpfs:lnk_file { read create open };
69 allow mnld mnt_user_file:lnk_file read;
[all …]
/device/mediatek/wembley-sepolicy/non_plat/
Datci_service.te14 allow atci_service misc2_block_device:blk_file { open read write };
15 allow atci_service misc2_device:chr_file { open read write };
16 allow atci_service camera_isp_device:chr_file { read write ioctl open };
17 allow atci_service graphics_device:chr_file { read write ioctl open };
19 allow atci_service kd_camera_hw_device:chr_file { read write ioctl open };
21 allow atci_service nvram_device:chr_file { read write open ioctl };
22 allow atci_service camera_isp_device:chr_file { read write ioctl open };
23 allow atci_service camera_sysram_device:chr_file { read ioctl open };
30 allow atci_service kd_camera_flashlight_device:chr_file { read write ioctl open };
31 allow atci_service ccu_device:chr_file { read write ioctl open };
[all …]
Ddumpstate.te9 allow dumpstate aed_device:chr_file { read getattr };
20 allow dumpstate debugfs_binder:dir { read open };
21 allow dumpstate debugfs_binder:file { read open };
22 allow dumpstate debugfs_blockio:file { read open };
24 allow dumpstate debugfs_fb:file { read open };
26 allow dumpstate debugfs_fuseio:file { read open };
28 allow dumpstate debugfs_ged:file { read open };
30 allow dumpstate debugfs_shrinker_debug:file { read open };
31 allow dumpstate debugfs_wakeup_sources:file { read open };
32 allow dumpstate debugfs_dmlog_debug:file { read open };
[all …]
Dkisd.te19 allow kisd tee_device:chr_file {read write open ioctl};
20 allow kisd provision_file:dir {read write open ioctl add_name search remove_name};
21 allow kisd provision_file:file {create read write open getattr unlink};
22 allow kisd block_device:dir {read write open ioctl search};
23 allow kisd kb_block_device:blk_file {read write open ioctl getattr};
24 allow kisd dkb_block_device:blk_file {read write open ioctl getattr};
26 allow kisd key_install_data_file:file {write getattr read create unlink open};
28 allow kisd mtd_device:chr_file { open read write };
29 allow kisd mtd_device:blk_file { open read write ioctl getattr};
31 allow kisd kb_block_device:chr_file {read write open ioctl getattr};
[all …]
Dem_svr.te3 allow em_svr als_ps_device:chr_file { read open ioctl };
4 allow em_svr gsensor_device:chr_file { read open ioctl };
8 allow em_svr md_block_device:blk_file { read open };
12 allow em_svr para_block_device:blk_file { read open write};
13 allow em_svr proc_lk_env:file { read write ioctl open };
17 allow em_svr misc_sd_device:chr_file { read open ioctl };
26 allow em_svr nvram_device:blk_file { open read write };
30 allow em_svr gyroscope_device:chr_file { read ioctl open };
41 allow em_svr proc_freqhop:file { open read write };
45 allow em_svr proc_flash:file { open read };
[all …]
Daee_aedv.te65 allow aee_aedv mnt_user_file:lnk_file read;
68 allow aee_aedv storage_file:lnk_file read;
71 allow aee_aedv su:dir {search read open };
72 allow aee_aedv su:file { read getattr open };
79 allow aee_aedv dumpstate:unix_stream_socket { read write ioctl };
121 allow aee_aedv debugfs_binder:dir { read open };
122 allow aee_aedv debugfs_binder:file { read open };
123 allow aee_aedv debugfs_blockio:file { read open };
125 allow aee_aedv debugfs_fb:file { read open };
127 allow aee_aedv debugfs_fuseio:file { read open };
[all …]
Dstp_dump3.te24 allow stp_dump3 self:netlink_socket { read write getattr bind create setopt };
25 allow stp_dump3 self:netlink_generic_socket { read write getattr bind create setopt };
26 allow stp_dump3 wmtdetect_device:chr_file { read write ioctl open };
29 allow stp_dump3 tmpfs:lnk_file read;
31 allow stp_dump3 mnt_user_file:lnk_file read;
32 allow stp_dump3 storage_file:lnk_file read;
35 allow stp_dump3 sdcard_type:dir {open read write create setattr getattr add_name remove_name search…
36 allow stp_dump3 sdcard_type:file { open read write create setattr getattr append unlink rename};
/device/linaro/poplar/sepolicy/
Dhiavplayer.te13 allow hiavplayer hi_sys_device:chr_file { read write open ioctl };
14 allow hiavplayer hi_vfmw_device:chr_file { open read write ioctl getattr};
15 allow hiavplayer hi_userproc_device:chr_file { read write open ioctl };
16 allow hiavplayer hi_log_device:chr_file { read write open getattr ioctl };
17 allow hiavplayer hi_mem_device:chr_file { read write open ioctl };
18 allow hiavplayer hi_module_device:chr_file { read write open ioctl };
19 allow hiavplayer hi_stat_device:chr_file { read write open ioctl };
20 allow hiavplayer hi_userproc_device:chr_file { read write open ioctl };
21 allow hiavplayer hi_vdec_device:chr_file { read write open ioctl };
22 allow hiavplayer hi_sync_device:chr_file { read write open ioctl };
[all …]
Dhal_graphics_composer_default.te4 allow hal_graphics_composer_default hi_vfmw_device:chr_file { read write open ioctl getattr};
5 allow hal_graphics_composer_default hi_mem_device:chr_file { open read write};
6 allow hal_graphics_composer_default graphics_device:chr_file { read write};
8 allow hal_graphics_composer_default hi_gfx2d_device:chr_file { read write open ioctl };
9 allow hal_graphics_composer_default hi_vo_device:chr_file { read write open ioctl };
10 allow hal_graphics_composer_default mmz_userdev_device:chr_file { read write open ioctl };
11 allow hal_graphics_composer_default hi_vdec_device:chr_file { read write open ioctl };
12 allow hal_graphics_composer_default hi_pq_device:chr_file { read write open ioctl};
13 allow hal_graphics_composer_default hi_disp_device:chr_file { read write open ioctl};
14 allow hal_graphics_composer_default hi_sys_device:chr_file { read write open ioctl};
[all …]
Dpriv_app.te1 allow priv_app mali_device:chr_file { read write open getattr ioctl };
2 allow priv_app sysfs:file { getattr }; # open read
3 allow priv_app proc_stat:file { read write open getattr };
4 allow priv_app sysfs_hisi:file { read write open getattr };
5 allow priv_app proc_uptime:file { getattr open read };
11 allow priv_app hi_vfmw_device:chr_file { write read open ioctl getattr};
12 allow priv_app hi_overlay_file:file { read open getattr };
Dtee.te3 allow shell tee_exec:file { getattr execute read open execute_no_trans };
4 ## allow shell tee_data_file:file { create write open getattr unlink read };
6 ## allow shell tee_data_file:chr_file { read write open ioctl };
7 allow tee console_device:chr_file { getattr read write ioctl };
14 allow tee vendor_data_file:file { getattr write open read create append };
17 allow tee tee:tcp_socket { create connect read write getopt setopt };
18 allow tee tee:udp_socket { create connect read write getopt getattr };
25 allow netd tee:tcp_socket { read write getopt setopt };
26 allow netd tee:udp_socket { read write getopt setopt };
Dsystem_app.te2 allow system_app mali_device:chr_file { getattr ioctl open read write };
3 allow system_app hi_vdec_device:chr_file { getattr read write open ioctl };
5 allow system_app hi_vfmw_device:file { write read open getattr };
6 allow system_app hi_vfmw_device:chr_file { write read open getattr };
7 allow system_app hi_overlay_file:file { read open getattr };
Dsystem_server.te3 allow system_server hi_vdec_device:chr_file { read write open };
4 allow system_server sysfs_hisi:file { write read open getattr };
5 allow system_server sysfs:dir { read open };
6 allow system_server hi_vfmw_device:chr_file { open read write getattr ioctl };
7 allow system_server hi_overlay_file:file { read open getattr };
/device/generic/goldfish-opengl/system/vulkan_enc/
Dgoldfish_vk_marshaling_guest.cpp92 vkStream->read((VkStructureType*)&forUnmarshaling->sType, sizeof(VkStructureType)); in unmarshal_VkApplicationInfo()
98 vkStream->read((void*)(&pNext_placeholder), sizeof(VkStructureType)); in unmarshal_VkApplicationInfo()
119 vkStream->read((uint32_t*)&forUnmarshaling->applicationVersion, sizeof(uint32_t)); in unmarshal_VkApplicationInfo()
138 vkStream->read((uint32_t*)&forUnmarshaling->engineVersion, sizeof(uint32_t)); in unmarshal_VkApplicationInfo()
139 vkStream->read((uint32_t*)&forUnmarshaling->apiVersion, sizeof(uint32_t)); in unmarshal_VkApplicationInfo()
172 vkStream->read((VkStructureType*)&forUnmarshaling->sType, sizeof(VkStructureType)); in unmarshal_VkInstanceCreateInfo()
178 vkStream->read((void*)(&pNext_placeholder), sizeof(VkStructureType)); in unmarshal_VkInstanceCreateInfo()
181 vkStream->read((VkInstanceCreateFlags*)&forUnmarshaling->flags, sizeof(VkInstanceCreateFlags)); in unmarshal_VkInstanceCreateInfo()
193 vkStream->read((uint32_t*)&forUnmarshaling->enabledLayerCount, sizeof(uint32_t)); in unmarshal_VkInstanceCreateInfo()
195 vkStream->read((uint32_t*)&forUnmarshaling->enabledExtensionCount, sizeof(uint32_t)); in unmarshal_VkInstanceCreateInfo()
[all …]
/device/mediatek/wembley-sepolicy/prebuilts/api/26.0/
Dnonplat_sepolicy.cil3034 (allow servicemanager_26_0 bootanim_26_0 (file (read open)))
3045 (allow hwservicemanager_26_0 bootanim_26_0 (file (read open)))
3047 (allow bootanim_26_0 gpu_device_26_0 (chr_file (ioctl read write getattr lock append open)))
3049 (allow bootanim_26_0 oemfs_26_0 (file (ioctl read getattr lock open)))
3050 (allow bootanim_26_0 audio_device_26_0 (dir (ioctl read getattr lock search open)))
3051 (allow bootanim_26_0 audio_device_26_0 (chr_file (ioctl read write getattr lock append open)))
3054 (allow bootanim_26_0 ion_device_26_0 (chr_file (ioctl read write getattr lock append open)))
3057 (allow bootanim_26_0 proc_26_0 (dir (ioctl read getattr lock search open)))
3058 (allow bootanim_26_0 proc_26_0 (file (ioctl read getattr lock open)))
3059 (allow bootanim_26_0 proc_26_0 (lnk_file (ioctl read getattr lock open)))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/
Dminigzip.py19 v = ord(input.read(1))
20 v += (ord(input.read(1)) << 8 )
21 v += (ord(input.read(1)) << 16)
22 v += (ord(input.read(1)) << 24)
40 data = input.read(1024)
50 magic = input.read(2)
54 if ord(input.read(1)) != 8:
57 flag = ord(input.read(1))
58 input.read(4+1+1) # Discard modification time,
62 xlen = ord(input.read(1))
[all …]
/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc51 ssize_t read = 0; in ReadExact() local
52 while ((read = fd->Read((void*)&(buf[total_read]), size - total_read)) > 0) { in ReadExact()
53 if (read < 0) { in ReadExact()
55 return read; in ReadExact()
57 total_read += read; in ReadExact()
68 ssize_t read; in ReadAll() local
69 while ((read = fd->Read(buff, BUFF_SIZE - 1)) > 0) { in ReadAll()
71 ss << std::string(buff, read); in ReadAll()
73 if (read < 0) { in ReadAll()
75 return read; in ReadAll()
/device/mediatek/wembley-sepolicy/plat_private/
Demdlogger.te33 allow emdlogger mnt_user_file:lnk_file read;
34 allow emdlogger storage_file:lnk_file read;
41 #avc: denied { read } for pid=576 comm="emdlogger1" name="selinux_version" dev="rootfs"
46 allow emdlogger tmpfs:lnk_file read;
49 # Allow read avc: denied { read } for name="mddb" dev="mmcblk0p25" ino=681
51 allow emdlogger system_file:dir read;
60 ## purpose: avc: denied { read } for name="plat_file_contexts"
61 #allow emdlogger file_contexts_file:file { read getattr open };
64 ## purpose: denied { read } for name="cmdline" dev="proc"
69 #avc: denied { read } for name="u:object_r:vendor_default_prop:s0"
[all …]
Ddomain.te13 # allow hal_drm system_data_file:file { getattr read };
41 neverallow { appdomain app_zygote } system_data_file:file ~{ getattr read map };
53 …neverallow init system_data_file:file ~{ create getattr open read write setattr relabelfrom unlink…
57 neverallow iorap_prefetcherd system_data_file:file ~{ open read };
64 } system_data_file:file ~{ read getattr };
70 neverallow vold system_data_file:file ~read;
102 neverallow installd system_data_file:lnk_file ~{ create getattr read setattr unlink relabelfrom };
104 neverallow iorap_prefetcherd system_data_file:lnk_file ~{ read open };
106 neverallow iorap_inode2filename system_data_file:lnk_file ~{ read open getattr };
108 neverallow rs system_data_file:lnk_file ~{ read };
[all …]

12345678910>>...50