diff options
author | Vishal Mahaveer | 2015-07-10 12:03:06 -0500 |
---|---|---|
committer | Vishal Mahaveer | 2015-07-10 12:03:06 -0500 |
commit | a6abbeb83e9b574f3bf02b7732c21d3b307fd542 (patch) | |
tree | 4379989de1d5f058377eb626aca731e851cd26e9 /sepolicy | |
parent | 0e0bc4b1fc729df1e22b47363124ef270acb49dc (diff) | |
download | device-ti-jacinto6evm-a6abbeb83e9b574f3bf02b7732c21d3b307fd542.tar.gz device-ti-jacinto6evm-a6abbeb83e9b574f3bf02b7732c21d3b307fd542.tar.xz device-ti-jacinto6evm-a6abbeb83e9b574f3bf02b7732c21d3b307fd542.zip |
jacinto6evm: add rule for bluetooth device
Add SELinux policy for bluetooth device
Change-Id: I3d0117a4658aeaa061e1bef458d909b235d51500
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/bluetooth.te | 1 | ||||
-rw-r--r-- | sepolicy/device.te | 1 | ||||
-rw-r--r-- | sepolicy/file_contexts | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/bluetooth.te b/sepolicy/bluetooth.te new file mode 100644 index 0000000..97f1465 --- /dev/null +++ b/sepolicy/bluetooth.te | |||
@@ -0,0 +1 @@ | |||
allow bluetooth bluetooth_control:chr_file { rw_file_perms }; | |||
diff --git a/sepolicy/device.te b/sepolicy/device.te new file mode 100644 index 0000000..3b51dc7 --- /dev/null +++ b/sepolicy/device.te | |||
@@ -0,0 +1 @@ | |||
type bluetooth_control, dev_type; | |||
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts new file mode 100644 index 0000000..e7fdd50 --- /dev/null +++ b/sepolicy/file_contexts | |||
@@ -0,0 +1,2 @@ | |||
1 | #Bluettoth tty device | ||
2 | /dev/tty_hci u:object_r:bluetooth_control:s0 | ||