[EMAIL PROTECTED] wrote: > >Is there a reason why "usr/src/cmd/mapfile_noexdata" (=which marks all > >data as non-executable) not used by default in an OS/Net build ? Are > >there any problems on SPARC and/or i386 ? > > ABI compliance. The ABI requires the data segment to be executable so > by default the linker cannot generate such executables.
Does executable mean just "program" or does this include "shared library", too ? Can I use "usr/src/cmd/mapfile_noexdata" to mark the library data segments of my shared librarie(s) as non-executable ? If "yes" - why isn't this the default ? > But we prefer > out executables to be that way. Why aren't (at least) all network-facing application compiled with "usr/src/cmd/mapfile_noexdata" ? Just lazyness ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
