diff options
author | Simon Shields <keepcalm444@gmail.com> | 2016-02-09 12:22:50 +1100 |
---|---|---|
committer | Brett Rogers <brettrogers11@gmail.com> | 2016-02-13 17:04:14 -0800 |
commit | e8c54e0ff69cf7d27f02f12d30442db077cf68f8 (patch) | |
tree | 9edd44de98248f54d295e7c63e213bb07a8234fa /selinux/tinyplay.te | |
parent | e0ee8862745fdbe0812af963e8fec8a0da6ec862 (diff) | |
download | device_samsung_smdk4412-common-e8c54e0ff69cf7d27f02f12d30442db077cf68f8.zip device_samsung_smdk4412-common-e8c54e0ff69cf7d27f02f12d30442db077cf68f8.tar.gz device_samsung_smdk4412-common-e8c54e0ff69cf7d27f02f12d30442db077cf68f8.tar.bz2 |
smdk4412-common: add macloader and tinyplay sepolicy [1/2]
Change-Id: I1dcc6f97ba7f6d95ed92770d5f38d03b4e3b3d57
Diffstat (limited to 'selinux/tinyplay.te')
-rw-r--r-- | selinux/tinyplay.te | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/selinux/tinyplay.te b/selinux/tinyplay.te new file mode 100644 index 0000000..49a5f37 --- /dev/null +++ b/selinux/tinyplay.te @@ -0,0 +1,8 @@ +type tinyplay, domain; +type tinyplay_exec, exec_type, file_type; +init_daemon_domain(tinyplay) + +allow tinyplay audio_device:chr_file { open read write ioctl }; +allow tinyplay audio_device:dir search; + +domain_trans(init, rootfs, tinyplay) |