blob: 5b60a1fc597ed963ee8da074a9d60b4822669069 [file] [log] [blame]
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
<!-- The following demonstrates how to punch holes in a default deny-all
policy so that a particular user can own a service, and other
connections can get messages from it -->
<!-- Only root can own the FooService service, and
this user can only send the one kind of message -->
<policy user="root">
<allow own=""/>
<allow send_interface=""/>
<!-- Allow any connection to receive the message, but
only if the message is sent by the owner of FooService -->
<policy context="default">
<allow receive_interface="" receive_sender=""/>