D15984: Close unneeded FDs before startup
Fabian Vogt
noreply at phabricator.kde.org
Sat Oct 6 17:43:43 BST 2018
fvogt created this revision.
fvogt added reviewers: Plasma, broulik.
Herald added a project: Plasma.
fvogt requested review of this revision.
REVISION SUMMARY
This works around a firefox bug which causes sockets to internet addresses to
get inherited by native host processes. Those are listed as outgoing
connections opened by plasma-browser-integration-host in netstat/ss.
CCBUG: 399449
TEST PLAN
Checked with ss -ap | grep plasma and also
ll /proc/$(pidof plasma-browser-integration)/fd/ after starting firefox.
No inherited sockets anymore.
REPOSITORY
R856 Plasma Browser Integration
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D15984
AFFECTED FILES
host/main.cpp
To: fvogt, #plasma, broulik
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/20181006/4752bed8/attachment-0001.html>
More information about the Plasma-devel
mailing list