EVERYTHING FROM THE OTHER REPO
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<!--
|
||||
This configuration file is no longer required and may be removed.
|
||||
|
||||
In older versions of dbus, this file defined the behaviour of the well-known
|
||||
session bus. That behaviour is now determined by
|
||||
/usr/share/dbus-1/session.conf, which should not be edited.
|
||||
|
||||
For local configuration changes, create a file
|
||||
session-local.conf or files matching session.d/*.conf in the same directory
|
||||
as this one, with a <busconfig> element containing configuration directives.
|
||||
These directives can override D-Bus or OS defaults.
|
||||
|
||||
For upstream or distribution-wide defaults that can be overridden
|
||||
by a local sysadmin, create files matching
|
||||
/usr/share/dbus-1/session.d/*.conf instead.
|
||||
-->
|
||||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig></busconfig>
|
||||
@@ -0,0 +1,19 @@
|
||||
<!--
|
||||
This configuration file is no longer required and may be removed.
|
||||
|
||||
In older versions of dbus, this file defined the behaviour of the well-known
|
||||
system bus. That behaviour is now determined by
|
||||
/usr/share/dbus-1/system.conf, which should not be edited.
|
||||
|
||||
For local configuration changes, create a file
|
||||
system-local.conf or files matching system.d/*.conf in the same directory
|
||||
as this one, with a <busconfig> element containing configuration directives.
|
||||
These directives can override D-Bus or OS defaults.
|
||||
|
||||
For upstream or distribution-wide defaults that can be overridden
|
||||
by a local sysadmin, create files matching
|
||||
/usr/share/dbus-1/system.d/*.conf instead.
|
||||
-->
|
||||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig></busconfig>
|
||||
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE busconfig PUBLIC
|
||||
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig>
|
||||
|
||||
<!-- Only root or user avahi can own the Avahi service -->
|
||||
<policy user="avahi">
|
||||
<allow own="org.freedesktop.Avahi"/>
|
||||
</policy>
|
||||
<policy user="root">
|
||||
<allow own="org.freedesktop.Avahi"/>
|
||||
</policy>
|
||||
|
||||
<!-- Allow anyone to invoke methods on Avahi server, except SetHostName -->
|
||||
<policy context="default">
|
||||
<allow send_destination="org.freedesktop.Avahi"/>
|
||||
<allow receive_sender="org.freedesktop.Avahi"/>
|
||||
|
||||
<deny send_destination="org.freedesktop.Avahi"
|
||||
send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>
|
||||
</policy>
|
||||
|
||||
<!-- Allow everything, including access to SetHostName to users of the group "netdev" -->
|
||||
<policy group="netdev">
|
||||
<allow send_destination="org.freedesktop.Avahi"/>
|
||||
<allow receive_sender="org.freedesktop.Avahi"/>
|
||||
</policy>
|
||||
<policy user="root">
|
||||
<allow send_destination="org.freedesktop.Avahi"/>
|
||||
<allow receive_sender="org.freedesktop.Avahi"/>
|
||||
</policy>
|
||||
</busconfig>
|
||||
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE busconfig PUBLIC
|
||||
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig>
|
||||
<policy user="root">
|
||||
<allow own="fi.epitest.hostap.WPASupplicant"/>
|
||||
|
||||
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
|
||||
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
|
||||
|
||||
<allow own="fi.w1.wpa_supplicant1"/>
|
||||
|
||||
<allow send_destination="fi.w1.wpa_supplicant1"/>
|
||||
<allow send_interface="fi.w1.wpa_supplicant1"/>
|
||||
<allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
|
||||
</policy>
|
||||
<policy context="default">
|
||||
<deny own="fi.epitest.hostap.WPASupplicant"/>
|
||||
<deny send_destination="fi.epitest.hostap.WPASupplicant"/>
|
||||
|
||||
<deny own="fi.w1.wpa_supplicant1"/>
|
||||
<deny send_destination="fi.w1.wpa_supplicant1"/>
|
||||
<deny receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
|
||||
</policy>
|
||||
</busconfig>
|
||||
Reference in New Issue
Block a user