The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | <!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 Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 8 | <!-- 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 Project | 35237d1 | 2008-12-17 18:08:08 -0800 | [diff] [blame^] | 17 | <!-- Allow everything, D-Bus socket is protected by unix filesystem |
| 18 | permissions --> |
The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 19 | <policy context="default"> |
The Android Open Source Project | 35237d1 | 2008-12-17 18:08:08 -0800 | [diff] [blame^] | 20 | <allow send_interface="*"/> |
| 21 | <allow receive_interface="*"/> |
| 22 | <allow own="*"/> |
The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 23 | <allow user="*"/> |
The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 24 | <allow send_requested_reply="true"/> |
| 25 | <allow receive_requested_reply="true"/> |
| 26 | </policy> |
The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 27 | </busconfig> |