blob: 75586b92dc6cfec6863362659d21157a6f2f8591 [file] [log] [blame]
The Android Open Source Project4f6e8d72008-10-21 07:00:00 -07001<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3<busconfig>
4
5 <!-- Our well-known bus type, do not change this -->
6 <type>system</type>
7
The Android Open Source Project4f6e8d72008-10-21 07:00:00 -07008 <!-- Only allow socket-credentials-based authentication -->
9 <auth>EXTERNAL</auth>
10
11 <!-- Only listen on a local socket. (abstract=/path/to/socket
12 means use abstract namespace, don't really create filesystem
13 file; only Linux supports this. Use path=/whatever on other
14 systems.) -->
15 <listen>unix:path=/dev/socket/dbus</listen>
16
The Android Open Source Project35237d12008-12-17 18:08:08 -080017 <!-- Allow everything, D-Bus socket is protected by unix filesystem
18 permissions -->
The Android Open Source Project4f6e8d72008-10-21 07:00:00 -070019 <policy context="default">
The Android Open Source Project35237d12008-12-17 18:08:08 -080020 <allow send_interface="*"/>
21 <allow receive_interface="*"/>
22 <allow own="*"/>
The Android Open Source Project4f6e8d72008-10-21 07:00:00 -070023 <allow user="*"/>
The Android Open Source Project4f6e8d72008-10-21 07:00:00 -070024 <allow send_requested_reply="true"/>
25 <allow receive_requested_reply="true"/>
26 </policy>
The Android Open Source Project4f6e8d72008-10-21 07:00:00 -070027</busconfig>