[uClibc] Re: [uClibc-cvs] CVS uClibc/ldso/ldso

Mike Frysinger vapier at gentoo.org
Mon Oct 11 14:30:54 UTC 2004


On Monday 11 October 2004 04:15 am, CVS User jocke wrote:
> Modified Files:
>  dl-elf.c
> Log Message:
> Don't use ld.so.cache for SUID programs.

why shouldnt the cache be used for SUID programs ?

i havent looked at code myself, but here is how glibc on my arm works:
/bin/su is setuid
/bin/su requires libgcc_s.so.1
libgcc_s.so.1 is in a path defined by ld.so.conf and thus cached
when i run su as non-root, it works ...
-mike



More information about the uClibc mailing list