[systemd-devel] [PATCH] logind: allow HybridSleep methods in default DBus context

Lennart Poettering lennart at poettering.net
Tue Dec 18 08:45:50 PST 2012


On Mon, 17.12.12 22:32, Mantas Mikulėnas (grawity at gmail.com) wrote:

Applied. Thanks!

> ---
>  src/login/org.freedesktop.login1.conf | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/src/login/org.freedesktop.login1.conf b/src/login/org.freedesktop.login1.conf
> index 5860fd9..6c1f2f5 100644
> --- a/src/login/org.freedesktop.login1.conf
> +++ b/src/login/org.freedesktop.login1.conf
> @@ -99,7 +99,11 @@
>                  <allow send_destination="org.freedesktop.login1"
>                         send_interface="org.freedesktop.login1.Manager"
>                         send_member="Hibernate"/>
> +
> +                <allow send_destination="org.freedesktop.login1"
> +                       send_interface="org.freedesktop.login1.Manager"
> +                       send_member="HybridSleep"/>
>  
>                  <allow send_destination="org.freedesktop.login1"
>                         send_interface="org.freedesktop.login1.Manager"
>                         send_member="CanPowerOff"/>
> @@ -115,7 +119,11 @@
>                  <allow send_destination="org.freedesktop.login1"
>                         send_interface="org.freedesktop.login1.Manager"
>                         send_member="CanHibernate"/>
> +
> +                <allow send_destination="org.freedesktop.login1"
> +                       send_interface="org.freedesktop.login1.Manager"
> +                       send_member="CanHybridSleep"/>
>  
>                  <allow send_destination="org.freedesktop.login1"
>                         send_interface="org.freedesktop.login1.Manager"
>                         send_member="AttachDevice"/>


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list