]> git.ipfire.org Git - thirdparty/systemd.git/commit
homed: Add InhibitSuspend() method
authorAdrian Vovk <adrianvovk@gmail.com>
Sun, 21 Jan 2024 01:29:40 +0000 (20:29 -0500)
committerLennart Poettering <lennart@poettering.net>
Wed, 31 Jan 2024 08:48:23 +0000 (09:48 +0100)
commit691b99160de4bc856e676dba6e07b33d2fa0908e
tree4f3c60188af2c1d66ddc9eaaca478ab295ce6031
parent116ce3f391f61dbdda3b3ae86f1587f677ffd7b5
homed: Add InhibitSuspend() method

This returns an FD that can be used to temporarily inhibit the automatic
locking on system suspend behavior of homed. As long as the FD is open,
LockAllHomes() won't lock that home directory on suspend. This allows
desktop environments to implement custom more complicated behavior
man/org.freedesktop.home1.xml
src/home/homed-home-bus.c
src/home/homed-home-bus.h
src/home/homed-home.c
src/home/homed-home.h
src/home/homed-manager-bus.c
src/home/org.freedesktop.home1.conf
src/home/org.freedesktop.home1.policy