summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWootak Jung <wootak.jung@samsung.com>2018-05-31 10:16:38 +0900
committerWootak Jung <wootak.jung@samsung.com>2018-05-31 10:23:05 +0900
commitf8bb52dcd073736b6350edc3a08fa890b3afe2a9 (patch)
tree0508afe6256fda0117f833c1142baa8fbbc6cd28
parent1e9c63f3b3c372d47371462c1aeab1029e3377fa (diff)
downloadbluez-f8bb52dcd073736b6350edc3a08fa890b3afe2a9.tar.gz
bluez-f8bb52dcd073736b6350edc3a08fa890b3afe2a9.tar.bz2
bluez-f8bb52dcd073736b6350edc3a08fa890b3afe2a9.zip
Fix access deny issue on dbus policy
Deny policy in context="default" has been applied because of incorrect policy in other context. Change-Id: I6185a0d784c0f082276bb4a1e002e3b86ddd9bff
-rwxr-xr-xsrc/bluetooth.conf100
1 files changed, 10 insertions, 90 deletions
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index fc9b95f5..5dc191fd 100755
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -8,119 +8,39 @@
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
- <allow own="org.projectx.bluetooth"/>
- <allow receive_sender="org.projectx.bluetooth"/>
- <allow send_destination="org.projectx.bluetooth"/>
<allow own="org.bluez.frwk_agent"/>
<allow receive_sender="org.bluez.frwk_agent"/>
<allow send_destination="org.bluez.frwk_agent"/>
- <allow own="org.bluez.Agent1"/>
- <allow receive_sender="org.bluez.Agent1"/>
- <allow send_destination="org.bluez.Agent1"/>
- <allow own="org.bluez.Adapter1"/>
- <allow receive_sender="org.bluez.Adapter1"/>
- <allow send_destination="org.bluez.Adapter1"/>
- <allow own="org.bluez.Manager"/>
- <allow receive_sender="org.bluez.Manager"/>
- <allow send_destination="org.bluez.Manager"/>
- <allow own="org.bluez.Device1"/>
- <allow receive_sender="org.bluez.Device1"/>
- <allow send_destination="org.bluez.Device1"/>
- <allow own="org.bluez.MediaEndpoint1"/>
- <allow receive_sender="org.bluez.MediaEndpoint1"/>
- <allow send_destination="org.bluez.MediaEndpoint1"/>
- <allow own="org.bluez.MediaTransport1"/>
- <allow receive_sender="org.bluez.MediaTransport1"/>
- <allow send_destination="org.bluez.MediaTransport1"/>
- <allow own="org.bluez.MediaPlayer1"/>
- <allow receive_sender="org.bluez.MediaPlayer1"/>
- <allow send_destination="org.bluez.MediaPlayer1"/>
- <allow own="org.bluez.Profile1"/>
- <allow receive_sender="org.bluez.Profile1"/>
- <allow send_destination="org.bluez.Profile1"/>
+ <allow own="org.bluez"/>
+ <allow receive_sender="org.bluez"/>
+ <allow send_destination="org.bluez"/>
</policy>
<!-- allow users of bt_use group (Tizen BT group) to
communicate with bluetoothd -->
<policy group="bt_use">
- <allow receive_sender="org.projectx.bluetooth"/>
- <allow send_destination="org.projectx.bluetooth"/>
<allow receive_sender="org.bluez.frwk_agent"/>
<allow send_destination="org.bluez.frwk_agent"/>
- <allow receive_sender="org.bluez.Agent1"/>
- <allow send_destination="org.bluez.Agent1"/>
- <allow receive_sender="org.bluez.Adapter1"/>
- <allow send_destination="org.bluez.Adapter1"/>
- <allow receive_sender="org.bluez.Manager"/>
- <allow send_destination="org.bluez.Manager"/>
- <allow receive_sender="org.bluez.Device1"/>
- <allow send_destination="org.bluez.Device1"/>
- <allow receive_sender="org.bluez.MediaEndpoint1"/>
- <allow send_destination="org.bluez.MediaEndpoint1"/>
- <allow receive_sender="org.bluez.MediaTransport1"/>
- <allow send_destination="org.bluez.MediaTransport1"/>
- <allow receive_sender="org.bluez.MediaPlayer1"/>
- <allow send_destination="org.bluez.MediaPlayer1"/>
- <allow receive_sender="org.bluez.Profile1"/>
- <allow send_destination="org.bluez.Profile1"/>
+ <allow receive_sender="org.bluez"/>
+ <allow send_destination="org.bluez"/>
</policy>
<!-- allow users of lp group (printing subsystem) to
communicate with bluetoothd -->
<policy group="lp">
- <allow receive_sender="org.projectx.bluetooth"/>
- <allow send_destination="org.projectx.bluetooth"/>
<allow receive_sender="org.bluez.frwk_agent"/>
<allow send_destination="org.bluez.frwk_agent"/>
- <allow receive_sender="org.bluez.Agent1"/>
- <allow send_destination="org.bluez.Agent1"/>
- <allow receive_sender="org.bluez.Adapter1"/>
- <allow send_destination="org.bluez.Adapter1"/>
- <allow receive_sender="org.bluez.Manager"/>
- <allow send_destination="org.bluez.Manager"/>
- <allow receive_sender="org.bluez.Device1"/>
- <allow send_destination="org.bluez.Device1"/>
- <allow receive_sender="org.bluez.MediaEndpoint1"/>
- <allow send_destination="org.bluez.MediaEndpoint1"/>
- <allow receive_sender="org.bluez.MediaTransport1"/>
- <allow send_destination="org.bluez.MediaTransport1"/>
- <allow receive_sender="org.bluez.MediaPlayer1"/>
- <allow send_destination="org.bluez.MediaPlayer1"/>
- <allow receive_sender="org.bluez.Profile1"/>
- <allow send_destination="org.bluez.Profile1"/>
+ <allow receive_sender="org.bluez"/>
+ <allow send_destination="org.bluez"/>
</policy>
<policy group="network_fw">
- <allow own="org.projectx.bluetooth"/>
- <allow receive_sender="org.projectx.bluetooth"/>
- <allow send_destination="org.projectx.bluetooth"/>
<allow own="org.bluez.frwk_agent"/>
<allow receive_sender="org.bluez.frwk_agent"/>
<allow send_destination="org.bluez.frwk_agent"/>
- <allow own="org.bluez.Agent1"/>
- <allow receive_sender="org.bluez.Agent1"/>
- <allow send_destination="org.bluez.Agent1"/>
- <allow own="org.bluez.Adapter1"/>
- <allow receive_sender="org.bluez.Adapter1"/>
- <allow send_destination="org.bluez.Adapter1"/>
- <allow own="org.bluez.Manager"/>
- <allow receive_sender="org.bluez.Manager"/>
- <allow send_destination="org.bluez.Manager"/>
- <allow own="org.bluez.Device1"/>
- <allow receive_sender="org.bluez.Device1"/>
- <allow send_destination="org.bluez.Device1"/>
- <allow own="org.bluez.MediaEndpoint1"/>
- <allow receive_sender="org.bluez.MediaEndpoint1"/>
- <allow send_destination="org.bluez.MediaEndpoint1"/>
- <allow own="org.bluez.MediaTransport1"/>
- <allow receive_sender="org.bluez.MediaTransport1"/>
- <allow send_destination="org.bluez.MediaTransport1"/>
- <allow own="org.bluez.MediaPlayer1"/>
- <allow receive_sender="org.bluez.MediaPlayer1"/>
- <allow send_destination="org.bluez.MediaPlayer1"/>
- <allow own="org.bluez.Profile1"/>
- <allow receive_sender="org.bluez.Profile1"/>
- <allow send_destination="org.bluez.Profile1"/>
+ <allow own="org.bluez"/>
+ <allow receive_sender="org.bluez"/>
+ <allow send_destination="org.bluez"/>
</policy>
<policy context="default">