diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-04-28 21:13:41 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-29 09:50:13 +0400 |
commit | 7f10f9404abc9e95998ead236180a2e5e7de1f80 (patch) | |
tree | e0642919c0fe0450e4566cd6ebd8638e778b133a /accel-pppd/ctrl | |
parent | 6644c1fee5dfe332a8c303bda85effe501f88524 (diff) | |
download | accel-ppp-xebd-7f10f9404abc9e95998ead236180a2e5e7de1f80.tar.gz accel-ppp-xebd-7f10f9404abc9e95998ead236180a2e5e7de1f80.zip |
net-snmp: unshare file descriptors namespace
Use unshare(CLONE_FILES) to create a local file descriptors namespace
for the SNMP thread. This is similar to what was done in bf5340
'net-snmp: run snmp in "special" thread', but without calling clone()
directly. So the net-snmp plugin keeps running in a regular pthread.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl')
0 files changed, 0 insertions, 0 deletions