diff options
author | mark <mcampbellsmith@gmail.com> | 2013-08-16 22:37:42 +1000 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-08-24 15:18:37 +0000 |
commit | e752b23df936271a20a2da6f5818067535a2e7be (patch) | |
tree | 344b8383b833ee15b69f11ae524351be846b1f54 /selinux/te_macros | |
parent | 80e197c1e48c55a79249140d84585493dac24ad8 (diff) | |
download | device_samsung_i9305-e752b23df936271a20a2da6f5818067535a2e7be.zip device_samsung_i9305-e752b23df936271a20a2da6f5818067535a2e7be.tar.gz device_samsung_i9305-e752b23df936271a20a2da6f5818067535a2e7be.tar.bz2 |
i9305: Add selinux policies
Change-Id: I69d96e7084c7b0871c9d2cd318db05b461912a43
Diffstat (limited to 'selinux/te_macros')
-rwxr-xr-x | selinux/te_macros | 12 |
1 files changed, 12 insertions, 0 deletions
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 }; +') + + |