This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc and $ORIGIN


On Tue, May 05, 2009 at 05:21:57PM -0500, Ryan Arnold wrote:                                                                                                    
> The ELF executable your run has the absolute loader path embedded in                                                                                          
> the ELF header in the INTERP section:                                                                                                                         
                                                                                                                                                                
No, no, i only liked the libc to be unbound to paths. I was aware that                                                                                          
the loader is fixed or it would be kernel code needed to be changed for                                                                                         
supporting unfixed loaders.                                                                                                                                     
                                                                                                                                                                
> As far as I know the kernel always loads this loader unless you invoke                                                                                        
> the target loader FIRST and direct the loader to load the application.                                                                                        
                                                                                                                                                                
Well, if i had the time and the clue for it, i'd develop a hash-bang-based                                                                                      
loader, which probably would make binaries basically loadable by almost                                                                                         
every Unix system, afais. But that seems to much work for it now! ;)                                                                                            
                                                                                                                                                                
Thanks for your links and replying that fast!                                                                                                                   
Greetings,                                                                                                                                                      
Fabiano                                                                                                                                                         


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]