D8806: Do not leak rfkill file descriptors.
Oliver Freyermuth
noreply at phabricator.kde.org
Mon Nov 13 23:09:29 UTC 2017
ofreyermuth created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
They may be leaked into all child processes,
including regular Konsole terminals on KDE.
I observed them showing up at all processes in my KDE session, just checking
ls -la /proc/self/fd
Using O_CLOEXEC, things are resolved properly.
REPOSITORY
R269 BluezQt
REVISION DETAIL
https://phabricator.kde.org/D8806
AFFECTED FILES
src/rfkill.cpp
To: ofreyermuth
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171113/933acdee/attachment.html>
More information about the Kde-frameworks-devel
mailing list