All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with elf and dynamic loading ...
@ 2001-01-12 10:30 Damien TOURAINE
  2001-01-12 11:16 ` Andreas Jaeger
  0 siblings, 1 reply; 2+ messages in thread
From: Damien TOURAINE @ 2001-01-12 10:30 UTC (permalink / raw)
  To: Linux Kernel

Hi !

I'm using dynamic library to load some part of a big software (that use 
several differents modules).
The main program fully use the symboles of the shared object (through 
the dlsym command), however, the functions available in the module are 
not able to use the symbols of the main program.

Is-it a bug of the kernel ?
Is-it to avoid a potential hole of security ?

My system :
Computer : SONY Notebook with a PCMCIA network card and SCSI cardbus.
Kernel : 2.2.18
  I tryied to compile and launch 2.4 -test13, however, I think I didn't 
have the right parameters for the compilation because it don't manage to 
get the bash (still try to compile it) ...
Glibc : 2.2
miscellanous : fully use the elf format, have recompiled the glibc 2.2 
from the GNU tree, have also recompile linux from the kernel.org.

Friendly
  Damien TOURAINE

-- 
--------------------------------------------------------------------
Damien TOURAINE	- +33 1 69 85 81 68
PhD student at LIMSI - CNRS (http://www.limsi.fr)
Bat. 508, Universite Paris-Sud F-91403 Orsay cedex (France)
--------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with elf and dynamic loading ...
  2001-01-12 10:30 Problem with elf and dynamic loading Damien TOURAINE
@ 2001-01-12 11:16 ` Andreas Jaeger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Jaeger @ 2001-01-12 11:16 UTC (permalink / raw)
  To: Damien TOURAINE; +Cc: Linux Kernel

>>>>> Damien TOURAINE writes:

 > Hi !
 > I'm using dynamic library to load some part of a big software (that
 > use several differents modules).

 > The main program fully use the symboles of the shared object (through
 > the dlsym command), however, the functions available in the module are
 > not able to use the symbols of the main program.


 > Is-it a bug of the kernel ?
 > Is-it to avoid a potential hole of security ?
That's a question for glibc - it has nothing to do with the kernel.
To get it to work, your program should be compiled with -Bdynamic.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-12 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-12 10:30 Problem with elf and dynamic loading Damien TOURAINE
2001-01-12 11:16 ` Andreas Jaeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.