lkml.org 
[lkml]   [1996]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: binfmt_aout: always loaded?
William E. Roadcap writes:
> On Fri, 7 Jun 1996, B. James Phillippe wrote:
>
> > I'm using a.out support compiled as a module and am using kerneld
> > to autoload it (kernel 1.99.14 and modules 1.3.69k).......
> > Now, however, it seems to be always loaded, .......
> > Is there any way I can see which application caused the initial
> > load?
>
> try running: file /sbin/ldconfig /usr/bin/ldd
>
> Assuming those programs are located in those directories on your machine
> this will tell you if they are ELF or AOUT.
>
> The RedHat 2.1 distribution I'm using insisted on making those programs
> a.out. On many systems ldconfig is run by the startup scripts hence the
> aout module gets loaded at startup.

All,

I am not the author of the following script, but it helped me to find
hidden a.out executables on my system. You may want to give it a try:


for i in $(ps -a | sed -e 's/[^:]*:...\([^ ]*\).*/\1/')
do
if S=$(which $i 2>/dev/null)
then
file $S
fi
done


At least, it won't hurt anything. I put it in /usr/local/bin/elf_check

Regards,

Paul Matthews
McLean, VA
e-mail: paul@matthews.com


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.070 / U:2.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site