Appending to executables.

adam at lzmi.UUCP adam at lzmi.UUCP
Wed Oct 17 09:04:34 AEST 1984


It is not true that one cannot write a Unix executable to which
additional functions can be appended at runtime. One of the uses of
shared memory, available in System V and V(2), is linking executables at
runtime. All you need to do is define the shared memory, then fork and
exec a process that copies some of its own functions into shared memory
and then goes to sleep.
					Adam Reed
					lzmi!adam



More information about the Comp.lang.c mailing list