Tag Info

New answers tagged


The line for GNU/<kernel> <kernel-version> in file output is created from a note section of the ELF binary1. If file doesn't output this line, then there isn't an appropriate note in the binary2 and the utility has no way to know to print it. 1 see PT_NOTE and .note in elf(5) 2 because it handles every note


In your ld.so.preload, you want to specify "$LIB" in your path rather than an explicit "lib" or "lib64". Thus, on a Redhat-style distro, "/usr/alternates/$LIB/libfoo.so" becomes "/usr/alternates/lib/libfoo.so" for a 32-bit process and "/usr/alternates/lib64/libfoo.so" for a 64-bit process. On an Debian-style distro, "/usr/alternates/$LIB/libfoo.so" becomes ...

Top 50 recent answers are included