From f2a3063bc88ee0a075c04fa274c10c39c7abfc9b Mon Sep 17 00:00:00 2001 From: Roberto Gibellini Date: Sat, 19 Nov 2016 17:21:50 -0700 Subject: Revert "i9305 : second cleanup" I'll push single commits This reverts commit 2f6c7f36412046bd8b67ffbf511ffa74d7cc6842. Change-Id: I147666b0637e2950612653ad680b7a1f33e173f0 --- selinux/te_macros | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 selinux/te_macros (limited to 'selinux/te_macros') diff --git a/selinux/te_macros b/selinux/te_macros new file mode 100755 index 0000000..274fd55 --- /dev/null +++ b/selinux/te_macros @@ -0,0 +1,12 @@ +##################################### +# qmux_socket(clientdomain) +# Allow client to send via a local +# socket to the qmux domain. +define(`qmux_socket', ` +type $1_qmuxd_socket, file_type; +file_type_auto_trans($1, qmuxd_socket, $1_qmuxd_socket) +unix_socket_connect($1, qmuxd, qmux) +allow qmux $1_qmuxd_socket:sock_file { getattr unlink }; +') + + -- cgit v1.1