On 2/16/07, Blair Sadewitz <blair.sadewitz@gmail.com> wrote:
> Speaking of samba-related issues, the pam-pwauth_suid module does not
> build on amd64 because the makefile doesn't account for -fPIC.
> Also, I don't think it's supposed to be executable, unless all the
> other modules are installed incorrectly. ;)
All .so's should be marked executable; the fact that many software
packages don't do this is a bug, not a feature.
(This used to be standard practice, and is required on some Unix-type
systems in order for a shared object to be mapped in as text/code
space. There have been mumblings even in NetBSD about reviving the
MAP_EXEC protection mapping from the 'x' bit of a shared library, thus
making that bit quite important after all.)
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>