4 ms·
I̵t̵'̵s̵ ̵n̵o̵t̵ ̵a̵b̵o̵u̵t̵ ̵L̵D̵_̵P̵R̵E̵L̵O̵A̵D̵;̵ ̵m̵o̵r̵e̵ ̵l̵i̵k̵e̵ ̵y̵o̵u̵'̵r̵e̵ ̵c̵a̵l̵l̵i̵n̵g̵ ̵c̵l̵o̵n̵e̵ ̵i̵n̵ ̵p̵y̵t̵h̵o̵n̵ ̵p̵r̵o̵c̵e̵s̵s̵ ̵a̵n̵d̵ ̵
by zeusk 3y ago
I̵t̵'̵s̵ ̵n̵o̵t̵ ̵a̵b̵o̵u̵t̵ ̵L̵D̵_̵P̵R̵E̵L̵O̵A̵D̵;̵ ̵m̵o̵r̵e̵ ̵l̵i̵k̵e̵ ̵y̵o̵u̵'̵r̵e̵ ̵c̵a̵l̵l̵i̵n̵g̵ ̵c̵l̵o̵n̵e̵ ̵i̵n̵ ̵p̵y̵t̵h̵o̵n̵ ̵p̵r̵o̵c̵e̵s̵s̵ ̵a̵n̵d̵ ̵t̵h̵e̵ ̵p̵r̵o̵c̵e̵s̵s̵ ̵a̵l̵r̵e̵a̵d̵y̵ ̵h̵a̵s̵ ̵t̵c̵m̵a̵l̵l̵o̵c̵ ̵o̵v̵e̵r̵r̵i̵d̵i̵n̵g̵ ̵m̵a̵l̵l̵o̵c̵ ̵i̵n̵ ̵t̵h̵e̵ ̵a̵d̵d̵r̵e̵s̵s̵ ̵s̵p̵a̵c̵e̵.̵
- Filligree 3y agoIn this case it was about LD_PRELOAD. The behaviour is still surprising. I would've expected it to be a drop in replacement -- it is in most cases. Sure, sanitizing the environment for process calls is doable, but this also means I can't use libssh2 at all.
- yjftsjthsd-h 3y agoHang on - you can't use libssh2, or openssh? They're totally separate projects
- Filligree 3y agoI tried OpenSSH, libssh and libssh2. All three fail, though admittedly I don't know for sure this was the cause of failure for the two latter; they gave me no diagnostics. They all worked fine without LD_PRELOAD though, so...
- AshamedCaptain 3y agoThis makes no sense. The moment you call exec the entire address space would go away.
- deleted 3y ago[deleted]