Home
last modified time | relevance | path

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

12345678910>>...13

/system/sepolicy/
Ddnsmasq.te17 allow dnsmasq netd:fifo_file { read write };
19 allow dnsmasq netd:netlink_kobject_uevent_socket { read write };
20 allow dnsmasq netd:netlink_nflog_socket { read write };
21 allow dnsmasq netd:netlink_route_socket { read write };
22 allow dnsmasq netd:unix_stream_socket { read write };
23 allow dnsmasq netd:unix_dgram_socket { read write };
24 allow dnsmasq netd:udp_socket { read write };
Dhostapd.te20 allow hostapd netd:udp_socket { read write };
21 allow hostapd netd:fifo_file { read write };
23 allow hostapd netd:netlink_kobject_uevent_socket { read write };
24 allow hostapd netd:netlink_nflog_socket { read write };
25 allow hostapd netd:netlink_route_socket { read write };
26 allow hostapd netd:unix_stream_socket { read write };
27 allow hostapd netd:unix_dgram_socket { read write };
Dprofman.te5 allow profman user_profile_data_file:file { getattr read write lock };
8 allow profman asec_apk_file:file { read };
9 allow profman apk_data_file:file { read };
10 allow profman oemfs:file { read };
12 allow profman tmpfs:file { read };
Dclatd.te9 allow clatd netd:fifo_file { read write };
11 allow clatd netd:netlink_kobject_uevent_socket { read write };
12 allow clatd netd:netlink_nflog_socket { read write };
13 allow clatd netd:netlink_route_socket { read write };
14 allow clatd netd:udp_socket { read write };
15 allow clatd netd:unix_stream_socket { read write };
16 allow clatd netd:unix_dgram_socket { read write };
Ddex2oat.te8 allow dex2oat dalvikcache_data_file:lnk_file read;
14 allow dex2oat asec_apk_file:file read;
15 allow dex2oat unlabeled:file read;
16 allow dex2oat oemfs:file read;
17 allow dex2oat apk_tmp_file:file read;
18 allow dex2oat user_profile_data_file:file { getattr read lock };
33 # Create and read symlinks in /data/ota/dalvik-cache. This is required for PIC mode boot images,
35 allow dex2oat ota_data_file:lnk_file { create read };
Dapp.te23 allow appdomain zygote_tmpfs:file read;
57 allow appdomain devpts:chr_file { getattr read write ioctl };
61 allow appdomain system_server:unix_stream_socket { read write setopt getattr getopt shutdown };
62 allow appdomain system_server:tcp_socket { read write getattr getopt shutdown };
68 allow appdomain surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
96 # Renderscript needs the ability to read directories on /system
103 allow appdomain wallpaper_file:file { getattr read write };
106 allow appdomain ringtone_file:file { getattr read write };
109 allow appdomain shortcut_manager_icons:file { getattr read };
112 allow appdomain icon_file:file { getattr read };
[all …]
Ddrmserver.te23 allow drmserver { app_data_file autoplay_data_file}:file { read write getattr };
24 allow drmserver sdcard_type:file { read write getattr };
42 allow drmserver apk_data_file:file { read getattr };
43 allow drmserver asec_apk_file:file { read getattr };
44 allow drmserver ringtone_file:file { read getattr };
47 allow drmserver radio_data_file:file { read getattr };
Dautoplay_app.te26 allow autoplay_app zygote_tmpfs:file read;
58 # Allow read access to ion memory allocation device
59 allow autoplay_app ion_device:chr_file { read open };
63 allow autoplay_app system_server:unix_stream_socket { read write setopt getattr getopt shutdown };
64 allow autoplay_app system_server:tcp_socket { read write getattr getopt shutdown };
70 allow autoplay_app surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
73 allow autoplay_app system_data_file:file { getattr read };
74 allow autoplay_app system_data_file:lnk_file read;
103 neverallow autoplay_app debugfs:file read;
Dmediaserver.te43 allow mediaserver apk_data_file:file { read getattr };
44 allow mediaserver asec_apk_file:file { read getattr };
45 allow mediaserver ringtone_file:file { read getattr };
48 allow mediaserver radio_data_file:file { read getattr };
51 allow mediaserver { appdomain autoplay_app }:fifo_file { getattr read write };
60 # Grant access to read files on appfuse.
61 allow mediaserver app_fuse_file:file { read getattr };
68 allow mediaserver rild:unix_stream_socket { connectto read write setopt };
124 allow mediaserver preloads_data_file:file { getattr read ioctl };
Ddomain_deprecated.te5 allow domain_deprecated tmpfs:file { read getattr };
6 allow domain_deprecated tmpfs:lnk_file { read getattr };
18 allow domain_deprecated adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
26 allow domain_deprecated device:file read;
35 allow domain_deprecated system_data_file:file { getattr read };
49 allow domain_deprecated cache_file:file { getattr read };
Drunas.te8 allow runas shell:fifo_file { read write };
9 allow runas devpts:chr_file { read write ioctl };
10 allow runas shell_data_file:file { read write };
23 # read /seapp_contexts and /data/security/seapp_contexts
Dsgdisk.te5 # Allowed to read/write low-level partition tables
10 allow sgdisk devpts:chr_file { read write ioctl getattr };
14 allow sgdisk vold:fifo_file { read write getattr };
Dinit.te28 allow init devpts:chr_file { read write open };
91 # Allow read-only access to context= mounted filesystems.
100 # chown/chmod require open+read+setattr required for open()+fchown/fchmod().
105 allow init {file_type -system_file -exec_type -app_data_file}:dir { create search getattr open read
107 …ll_data_file -vold_data_file -misc_logd_file }:file { create getattr open read write setattr relab…
108 …data_file -misc_logd_file }:{ sock_file fifo_file } { create getattr open read setattr relabelfrom…
120 allow init { fs_type -contextmount_type -sdcard_type -rootfs }:file { open read setattr };
121 allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read setattr search };
124 allow init { dev_type -kmem_device }:chr_file { read open setattr };
140 # or a read that consumes the messages that were read.
[all …]
Dglobal_macros22 define(`r_file_perms', `{ getattr open read ioctl lock }')
30 define(`r_dir_perms', `{ open getattr read search ioctl lock }')
36 define(`r_ipc_perms', `{ getattr read associate unix_read }')
43 define(`rw_socket_perms', `{ ioctl read getattr write setattr lock append bind connect getopt setop…
Didmap.te7 allow idmap resourcecache_data_file:file { getattr read write };
9 # Open and read from target and overlay apk files passed by argument.
Dfsck.te9 allow fsck tmpfs:chr_file { read write ioctl };
12 allow fsck devpts:chr_file { read write ioctl getattr };
16 allow fsck vold:fifo_file { read write getattr };
Dte_macros11 allow $1 $2:file { getattr open read execute };
14 allow $3 $2:file { entrypoint open read execute getattr };
66 # Allow the specified domain to read directories, files
80 allow $1 $1_tmpfs:file { read write };
158 # Allows source domain to read the
182 allow servicemanager $1:file { read open };
224 allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto…
281 allow $1 $1_devpts:chr_file { open getattr read write ioctl };
315 # Ability to run logcat and read from android
339 allow keystore $1:file { read open };
[all …]
Dfingerprintd.te11 # allow HAL module to read dir contents
14 # allow HAL module to read/write/unlink contents of this dir
Dmls25 # Process read operations: No read up unless trusted.
66 # Only constrain open, not read/write.
80 mlsconstrain dir { read getattr search }
83 mlsconstrain { file lnk_file sock_file chr_file blk_file } { read getattr execute }
99 mlsconstrain fifo_file { read getattr }
/system/core/libsparse/
Dsimg_dump.py55 header_bin = FH.read(28)
97 header_bin = FH.read(12)
115 FH.read(data_sz)
122 fill_bin = FH.read(4)
137 crc_bin = FH.read(4)
161 junk_len = len(FH.read())
/system/vold/
DBenchmarkGen.h45 TEMP_FAILURE_RETRY(read(t3433f17, buf, 65557)); in BenchmarkRun()
62 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); in BenchmarkRun()
66 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); in BenchmarkRun()
80 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); in BenchmarkRun()
84 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); in BenchmarkRun()
90 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); in BenchmarkRun()
94 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); in BenchmarkRun()
100 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); in BenchmarkRun()
104 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); in BenchmarkRun()
110 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); in BenchmarkRun()
[all …]
/system/bt/vendor_libs/test_vendor_lib/src/
Dtest_channel_transport.cc94 read(fd, &command_name_size, 1); in OnFileCanReadWithoutBlocking()
97 read(fd, &command_name_raw[0], command_name_size); in OnFileCanReadWithoutBlocking()
108 read(fd, &num_args, 1); in OnFileCanReadWithoutBlocking()
113 read(fd, &arg_size, 1); in OnFileCanReadWithoutBlocking()
116 read(fd, &arg[0], arg_size); in OnFileCanReadWithoutBlocking()
/system/extras/verity/
DVeritySigner.java42 byte[] content = Utils.read(args[0]); in main()
48 byte[] signature = Utils.read(args[2]); in main()
64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main()
/system/core/libcutils/
Ddebugger.c38 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) != 1) { in send_request()
92 while ((n = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer)))) > 0) { in dump_backtrace_to_file_timeout()
115 ssize_t n = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer) - 1)); in dump_tombstone_timeout()
/system/netd/tests/dns_responder/
Ddns_responder.cpp144 const char* read(const char* buffer, const char* buffer_end);
156 const char* DNSName::read(const char* buffer, const char* buffer_end) { in read() function in test::DNSName
233 const char* read(const char* buffer, const char* buffer_end);
238 const char* DNSQuestion::read(const char* buffer, const char* buffer_end) { in read() function in test::DNSQuestion
239 const char* cur = qname.read(buffer, buffer_end); in read()
279 const char* read(const char* buffer, const char* buffer_end);
296 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read() function in test::DNSRecord
297 const char* cur = name.read(buffer, buffer_end); in read()
376 const char* read(const char* buffer, const char* buffer_end);
396 const char* DNSHeader::read(const char* buffer, const char* buffer_end) { in read() function in test::DNSHeader
[all …]

12345678910>>...13