usb_moded.conf 1.51 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<!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="com.meego.usb_moded"/>
                <allow send_destination="com.meego.usb_moded"
                       send_interface="com.meego.usb_moded"/>
        </policy>
11
	<policy context="default">
12 13 14 15
		<allow send_destination="com.meego.usb_moded" 
		send_interface="com.meego.usb_moded" send_member="set_mode"/>
		<allow send_destination="com.meego.usb_moded" 
		send_interface="com.meego.usb_moded" send_member="mode_request"/>
16 17
		<allow send_destination="com.meego.usb_moded" 
		send_interface="com.meego.usb_moded" send_member="set_config"/>
18 19
		<allow send_destination="com.meego.usb_moded" 
		send_interface="com.meego.usb_moded" send_member="get_config"/>
20
		<allow send_destination="com.meego.usb_moded"
21
		send_interface="com.meego.usb_moded" send_member="get_modes"/>
22 23 24 25
		<allow send_destination="com.meego.usb_moded"
		send_interface="com.meego.usb_moded" send_member="net_config"/>
		<allow send_destination="com.meego.usb_moded"
		send_interface="com.meego.usb_moded" send_member="get_net_config"/>
26 27
		<allow send_destination="com.meego.usb_moded"
		send_interface="com.meego.usb_moded" send_member="rescue_off"/>
28 29
                <allow send_interface="org.freedesktop.DBus.Introspectable" />
                <allow send_destination="com.meego.usb_moded" />
30
                <deny own="com.meego.usb_moded"/>
31 32 33
	</policy>
</busconfig>