lkml.org 
[lkml]   [1997]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [off-topic] Loadable modules
On Sun, 1 Jun 1997, Brian Candler wrote:
> The kernel has the ability to dynamically load and run object files (xxx.o)
> and I want to know if this is possible from normal "userland" programs.
>
> e.g. let's say I have a bunch of object files in a directory. I want to
> write a C program which loads them all in, perhaps malloc's stack and BSS
> space for them, and runs them. Is this possible?

"man dlopen". :-)

--
.-----------------------------------------------------------------------------.
| Edward S. Marshall <emarshal@common.net> | CII Technical Administrator, |
| http://www.common.net/~emarshal/ | Vice-President, Common Internet |
| Finger for PGP public key. | Inc, and Linux & LPmud (ab)user. |
`-----------------------------------------------------------------------------'


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