1dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
2dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project<busconfig>
4dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project
5dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <!-- Our well-known bus type, do not change this -->
6dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <type>system</type>
7dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project
8dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <!-- Only allow socket-credentials-based authentication -->
9dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <auth>EXTERNAL</auth>
10dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project
11dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <!-- Only listen on a local socket. (abstract=/path/to/socket 
12dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project       means use abstract namespace, don't really create filesystem 
13dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project       file; only Linux supports this. Use path=/whatever on other 
14dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project       systems.) -->
15dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <listen>unix:path=/dev/socket/dbus</listen>
16dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project
17dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <!-- Allow everything, D-Bus socket is protected by unix filesystem
18dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project       permissions -->
19dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  <policy context="default">
20dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project    <allow send_interface="*"/>
21dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project    <allow receive_interface="*"/>
22dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project    <allow own="*"/>
23dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project    <allow user="*"/>
24dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project    <allow send_requested_reply="true"/>
25dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project    <allow receive_requested_reply="true"/>
26dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project  </policy>
27dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0The Android Open Source Project</busconfig>
28