]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-session-device.c
logind: use the new FDSTOREREMOVE=1 sd_notify() message
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2017 18:06:11 +0000 (19:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 27 Nov 2017 16:04:04 +0000 (17:04 +0100)
commit4050e4797603d3644707d58edfd9742b5311c7cf
tree346d7dec5d978a76d89b9ce67b2afa2bf6552ccc
parente78ee06de1011aaa8de7a60d98fc18daee2edb26
logind: use the new FDSTOREREMOVE=1 sd_notify() message

Let's explicitly tell PID 1 that we don't need an fd anymore, instead of
relying exclusively on POLLERR/POLLHUP for it to be removed.

Fixes: #6908
src/login/logind-session-device.c
src/login/logind-session-device.h