This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]