• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type vsock_logcat, domain;
2type vsock_logcat_exec, exec_type, vendor_file_type, file_type;
3type vsock_logcat_port_prop, property_type;
4type vsock_logcat_status_prop, property_type;
5
6init_daemon_domain(vsock_logcat)
7
8get_prop(vsock_logcat, vsock_logcat_port_prop)
9
10set_prop(vsock_logcat, vendor_ser_prop)
11set_prop(vsock_logcat, vsock_logcat_status_prop)
12
13allow vsock_logcat device:dir w_dir_perms;
14allow vsock_logcat device:fifo_file create_file_perms;
15allow vsock_logcat kmsg_device:chr_file write;
16allow vsock_logcat self:capability net_admin;
17allow vsock_logcat self:{ socket vsock_socket } create_socket_perms_no_ioctl;
18