[sudo-users] noexec on Solaris 10 with mixed 32 bit and 64 bitbinaries

Todd C. Miller Todd.Miller at courtesan.com
Wed May 19 10:19:46 EDT 2010


In message <de1e7588c33f7bd41bfaeeb2a503cf46 at localhost>
	so spake Richard van den Berg (richard):

> After some digging I found that LD_PRELOAD_32 and LD_PRELOAD_64 should be
> used instead of LD_PRELOAD in the case both 32 and 64 bit executables are
> present.
> 
> IMHO sudo should support this. I can probably write a patch for env.c
> myself, but I'll need some help getting the autoconf scripts to compile
> both 32 and 64 bit versions of sudo_noexec.so on 64 bit capable systems.

The tricky part is getting libtool to build the 32 and 64 bit
versions of sudo_noexec.so.  I never found a way to get it to do
that but perhaps newer versions of libtool are more capable.

 - todd



More information about the sudo-users mailing list