1. seandroid
  2. Untitled project
  3. device/lge/mako


Robert Craig  committed d6480de

Change domain qmux_socket to qmuxd_socket.

This is a temporary fix for some build issues.

Change-Id: I3701bbaf72e61feed7a4ac803140d5cf764ed6f0

  • Participants
  • Parent commits 8f039e7
  • Branches seandroid-4.2

Comments (0)

Files changed (4)

File sepolicy/file.te

View file
  • Ignore whitespace
 type mpdecision_socket, file_type;
-type qmux_socket, file_type;
+type qmuxd_socket, file_type;
 type kickstart_data_file, file_type, data_file_type;
 type sensors_data_file, file_type, data_file_type;

File sepolicy/file_contexts

View file
  • Ignore whitespace
 /dev/kgsl                      u:object_r:kgsl_device:s0
 # Sockets
-/dev/socket/qmux_audio(/.*)?     u:object_r:qmux_socket:s0
-/dev/socket/qmux_bluetooth(/.*)? u:object_r:qmux_socket:s0
-/dev/socket/qmux_gps(/.*)?       u:object_r:qmux_socket:s0
-/dev/socket/qmux_radio(/.*)?     u:object_r:qmux_socket:s0
+/dev/socket/qmux_audio(/.*)?     u:object_r:qmuxd_socket:s0
+/dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0
+/dev/socket/qmux_gps(/.*)?       u:object_r:qmuxd_socket:s0
+/dev/socket/qmux_radio(/.*)?     u:object_r:qmuxd_socket:s0
 /dev/socket/mpdecision(/.*)?     u:object_r:mpdecision_socket:s0
 # Block labeling

File sepolicy/qmux.te

View file
  • Ignore whitespace
 # Create local qmux_connect_socket
-allow qmux qmux_socket:dir w_dir_perms;
-allow qmux qmux_socket:sock_file { create setattr getattr unlink };
+allow qmux qmuxd_socket:dir w_dir_perms;
+allow qmux qmuxd_socket:sock_file { create setattr getattr unlink };
 # /dev/hsicctl* node access
 allow qmux radio_device:chr_file rw_file_perms;

File sepolicy/te_macros

View file
  • Ignore whitespace
 # Allow client to send via a local
 # socket to the qmux domain.
 define(`qmux_socket', `
-unix_socket_connect($1, qmux, qmux)
-allow $1 qmux_socket:dir w_dir_perms;
-allow $1 qmux_socket:sock_file { create setattr unlink getattr };
+unix_socket_connect($1, qmuxd, qmux)
+allow $1 qmuxd_socket:dir w_dir_perms;
+allow $1 qmuxd_socket:sock_file { create setattr unlink getattr };