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]

Re: Rationale for giving .so files +x


On Thursday 14 June 2007, Serge van den Boom wrote:
> What's the rationale for setting the executable bit on shared object files?

shared object codes include executable code so in order to map them with 
execute permissions, you need the +x bit

> 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).

that's a different issue
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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