RE: QUESTION: modifying kernel functions in a running kernel

Chris Jones (chris@black-sun.co.uk)
Thu, 22 Jul 1999 20:17:26 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

> -----Original Message-----
> From: Steve Dodd [mailto:dirk@loth.demon.co.uk]
>
> > It there is a bug fix for Linux, it is much easier to patch the
kernel
> > tree. SetFunction() was used on the Amiga for fixing bugs in the
> > closed source OS and for straping on new functionality.
>
> That wasn't really the issue: the problem was that a lot of the
important
> libraries were in ROM (that is, the code was in ROM; the library
struct &
> jump table were copied to RAM IIRC, otherwise SetFunction()
wouldn't've
> worked). Certainly exec.library, intuition.library, dos.library
> were all in ROM.

Most of the core system libraries were in ROM, but that isn't the
issue. They were closed source, in ROM or on disk. Probably well over
90% of the programs that used SetFunction() were not official
Commodore programs (SetPatch being just about the only one), but were
programs written by external developers who needed to fix a bug, or
hack the system for added functionality. As I understand it, you could
replace a function that was in a library stored on disk, not just the
ones in ROM.

- ---
Chris Jones
Black-Sun Software
chris@black-sun.co.uk
www.black-sun.co.uk

"Linux is beating Windows" - David Cole, Microsoft Executive

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

iQA/AwUBN5duRZhmBipjerS3EQIuagCgsPGQ+UR//vTkSsqNY1T11TFGF6EAniMP
QZ8mevTq7t29E8dg97IA8g16
=VhnG
-----END PGP SIGNATURE-----

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