On 7/24/05, Rod Evans <[EMAIL PROTECTED]> wrote: > Peter Memishian wrote: > > > I've always wondered...why are shared libraries installed under *NIX > > > operating systems with the executable bit set? They seem to work > > > regardless of whether the bit is set or not. I'm sure there's > > > something I'm missing, but after a few hours of searching I can't seem > > > to find why. > > > > an excellent question -- > > It's historic. Shared objects contain executable code, therefore the > execute bit was appropriate. However, the program header indicates > the text segment should be mapped executable: <snips great explanation> > Funny old world isn't it?
The question then is whether or not there is any continued point in setting the executable bit? I mean, why bother setting it if it's unnecessary? On the chance that some ancient ye olde customer software will break? Not that it really matters, just curious :) -- Shawn Walker, Software and Systems Analyst [EMAIL PROTECTED] - http://binarycrusader.blogspot.com/ _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org https://opensolaris.org:444/mailman/listinfo/opensolaris-code