• Home
  • Raw
  • Download

Lines Matching refs:simpleperf_app_runner

1 typeattribute simpleperf_app_runner coredomain;
3 domain_auto_trans(shell, simpleperf_app_runner_exec, simpleperf_app_runner)
5 # run simpleperf_app_runner in adb shell.
6 allow simpleperf_app_runner adbd:fd use;
7 allow simpleperf_app_runner adbd:unix_stream_socket { read write };
8 allow simpleperf_app_runner shell:fd use;
9 allow simpleperf_app_runner devpts:chr_file { read write ioctl };
11 # simpleperf_app_runner reads package information.
12 allow simpleperf_app_runner system_data_file:file r_file_perms;
13 allow simpleperf_app_runner system_data_file:lnk_file getattr;
14 allow simpleperf_app_runner packages_list_file:file r_file_perms;
17 allow simpleperf_app_runner system_data_file:lnk_file read;
19 # simpleperf_app_runner switches to the app UID/GID.
20 allow simpleperf_app_runner self:global_capability_class_set { setuid setgid };
22 # simpleperf_app_runner switches to the app security context.
23 selinux_check_context(simpleperf_app_runner) # validate context
24 allow simpleperf_app_runner self:process setcurrent;
25 allow simpleperf_app_runner { ephemeral_app isolated_app platform_app priv_app untrusted_app_all }:…
27 # simpleperf_app_runner/libselinux needs access to seapp_contexts_file to
29 allow simpleperf_app_runner seapp_contexts_file:file r_file_perms;
31 # simpleperf_app_runner passes pipe fds.
32 # simpleperf_app_runner writes app type (debuggable or profileable) to pipe fds.
33 allow simpleperf_app_runner shell:fifo_file { getattr read write };
35 # simpleperf_app_runner checks shell data paths.
36 # simpleperf_app_runner passes shell data fds.
37 allow simpleperf_app_runner shell_data_file:dir { getattr search };
38 allow simpleperf_app_runner shell_data_file:file { getattr write };
44 # simpleperf_app_runner cannot have capabilities other than CAP_SETUID and CAP_SETGID
45 neverallow simpleperf_app_runner self:global_capability_class_set ~{ setuid setgid };
46 neverallow simpleperf_app_runner self:global_capability2_class_set *;