Robert Craig  committed fe257f5

Change domain qmux_socket to qmuxd_socket.

This is a temporary fix for some build issues.

Change-Id: I3701bbaf72e61feed7a4ac803140d5cf764ed6f0

  • Participants
  • Parent commits 684299d

Comments (0)

Files changed (4)

File sepolicy/file.te

 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

 /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

 # 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

 # 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 };