summaryrefslogtreecommitdiff
path: root/test/data/valid-config-files/count-fds.conf.in
blob: f9ae3edc946435b2ed5c78f863523ba0ed3c6499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <!-- Our well-known bus type, don't change this -->
  <type>session</type>
  <listen>@TEST_LISTEN@</listen>

  <policy context="default">
    <!-- Allow everything to be sent -->
    <allow send_destination="*" eavesdrop="true"/>
    <!-- Allow everything to be received -->
    <allow eavesdrop="true"/>
    <!-- Allow anyone to own anything -->
    <allow own="*"/>
    <!-- Exercise rules that match on numbers of fds -->
    <deny send_path="/test/DenySendMax2" max_fds="2"/>
    <deny receive_path="/test/DenyReceiveMax3" max_fds="3"/>
    <deny send_path="/test/DenySendMin4" min_fds="4"/>
    <deny receive_path="/test/DenyReceiveMin5" min_fds="5"/>
  </policy>

</busconfig>