>I thought that root's shell was always staticly linked.
Nope. I think that might be true on BSD: they're a bit more into static
linking. But, at least on my Debian machine, the only static binary in
/sbin is ldconfig and there are no static binaries at all in /bin. Root's
shell is bash, which uses a whole slew of libraries:
libreadline.so.4 => /lib/libreadline.so.4 (0x4001e000)
libhistory.so.4 => /lib/libhistory.so.4 (0x40043000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40049000)
libdl.so.2 => /lib/libdl.so.2 (0x40089000)
libc.so.6 => /lib/libc.so.6 (0x4008d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
p.
PGP signature