File: hwsim-dbus.conf

package info (click to toggle)
iwd 3.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,164 kB
  • sloc: ansic: 140,705; sh: 5,514; makefile: 714
file content (23 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- This configuration file specifies the required security policies
     for Simulation daemon to work. -->

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- ../system.conf have denied everything, so we just punch some holes -->

  <policy user="root">
    <allow own="net.connman.hwsim"/>
    <allow send_destination="net.connman.hwsim"/>
  </policy>

  <policy group="sudo">
    <allow send_destination="net.connman.hwsim"/>
  </policy>

  <policy context="default">
    <deny send_destination="net.connman.hwsim"/>
  </policy>

</busconfig>