D8887: Fix leaking of FDs requested from logind

Martin Flöser noreply at phabricator.kde.org
Sun Nov 19 08:09:05 UTC 2017


graesslin added inline comments.

INLINE COMMENTS

> logind.cpp:387
> +    #else
> +        // F_DUPFD_CLOEXEC not available, do it non-atomically
> +        int fd = dup(reply.arguments().first().value<QDBusUnixFileDescriptor>().fileDescriptor());

Which systems wouldn't have it?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D8887

To: fvogt, #plasma, graesslin
Cc: kwin, plasma-devel, #kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171119/e6b86424/attachment-0001.html>


More information about the Plasma-devel mailing list