diff options
author | Roberto Gibellini <gibellini.roberto@gmail.com> | 2016-11-19 17:21:50 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-11-19 16:36:52 -0800 |
commit | f2a3063bc88ee0a075c04fa274c10c39c7abfc9b (patch) | |
tree | 0042544658ce6961403f6eac79ca6217b8efc5cc /selinux/qmux.te | |
parent | b8ca7e9e41daaab93c33b136dd8f238606bf9352 (diff) | |
download | device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.tar.gz device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.tar.bz2 device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.zip |
Revert "i9305 : second cleanup"
I'll push single commits
This reverts commit 2f6c7f36412046bd8b67ffbf511ffa74d7cc6842.
Change-Id: I147666b0637e2950612653ad680b7a1f33e173f0
Diffstat (limited to 'selinux/qmux.te')
-rwxr-xr-x | selinux/qmux.te | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/selinux/qmux.te b/selinux/qmux.te new file mode 100755 index 0000000..e2a5bbf --- /dev/null +++ b/selinux/qmux.te @@ -0,0 +1,21 @@ +# Qualcomm Management Interface Multiplexer +type qmux, domain; +type qmux_exec, exec_type, file_type; + +# Started by init +init_daemon_domain(qmux) + +# Create local qmux_connect_socket +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; + +# Allow logging diagnostic items +allow qmux diagnostic_device:chr_file rw_file_perms; + +allow qmux self:capability { dac_override setuid }; + +# XXX Should we label with own type +allow qmux sysfs:file { open write append read getattr }; |