D13664: [WIP] Fix use of pipes in MD RAID code
Fabian Vogt
noreply at phabricator.kde.org
Thu Jun 21 17:07:28 UTC 2018
fvogt created this revision.
fvogt added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
fvogt requested review of this revision.
REVISION SUMMARY
Use pipe2 with O_CLOEXEC to not leak FDs and close the pipe after reading.
TEST PLAN
Did not break anything here, but I don't have MD RAID.
Not tested yet by the reporter, thus WIP.
REPOSITORY
R106 KSysguard
BRANCH
Plasma/5.12
REVISION DETAIL
https://phabricator.kde.org/D13664
AFFECTED FILES
ksysguardd/Linux/softraid.c
To: fvogt, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180621/70f80da4/attachment.html>
More information about the Plasma-devel
mailing list