Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
It's too simple, so you could also solve this problem by making a static build of ping that can not load any shared library.
In my "non-security guy" perspective that would be enough for most environments.
Posted Nov 1, 2010 11:17 UTC (Mon) by michaeljt (subscriber, #39183)
I thought that with ELF there was no such thing as a pure statically linked binary.
Posted Nov 1, 2010 23:34 UTC (Mon) by nix (subscriber, #2304)
(Also, if pure statically-linked binaries cannot exist, what do you think /lib/ld-linux.so.2 is? If ELF interpreters don't count because they are technically shared objects and relocate themselves, /sbin/sln surely does. No relocation, no PT_INTERP: static as static comes, and on pretty much every system.)
Posted Nov 1, 2010 23:52 UTC (Mon) by anselm (subscriber, #2796)
/sbin/sln surely does. No relocation, no PT_INTERP: static as static comes, and on pretty much every system
I'm on Debian sid, and I don't have an executable called »sln« – not in /sbin, not anywhere. Am I missing something?
Posted Nov 2, 2010 0:14 UTC (Tue) by nix (subscriber, #2304)
Posted Nov 2, 2010 0:17 UTC (Tue) by dlang (✭ supporter ✭, #313)
Posted Nov 3, 2010 14:58 UTC (Wed) by nix (subscriber, #2304)
Posted Nov 3, 2010 23:29 UTC (Wed) by cesarb (subscriber, #6266)
Posted Nov 4, 2010 0:18 UTC (Thu) by foom (subscriber, #14868)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds