This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Rationale for giving .so files +x
- From: Serge van den Boom <svdb at stack dot nl>
- To: binutils at sourceware dot org
- Date: Fri, 15 Jun 2007 00:03:13 +0200 (CEST)
- Subject: Rationale for giving .so files +x
Hi,
What's the rationale for setting the executable bit on shared object files?
The rest of a POSIX system treats files with the executable bit set as files
that can be execve()'ed. With a few exceptions such as libc.so and ld.so,
this is not the case for shared object files (at least not without an
immediate SIGSEGV).
Any insights?
Thanks,
Serge