Re: Binary Kernel Patching - Upgrading without a reboot

Michael B. Trausch (mtrausch@wcnet.org)
Sat, 19 Jun 1999 11:22:55 -0400 (EDT)


-----BEGIN PGP SIGNED MESSAGE-----

On Sat, 19 Jun 1999, David wrote:
>
> You can do this with a user level program just as well. Note the usage of
> dl_open(...) and related functions. Simply signal your program to unload that
> section, replace the code, and reload.
>
> This is dynamic libraries. The concept is of dynamics is already surrounding
> you, just in a very simple form. Extend it's functionality.
>

Grr... I apologize then for my quite effective display of ignorance :-).

I knew that you could use signals to terminate a program and to tell it
what to do if it has installed a signal handler, but I didn't know that
you could do something as complex as that... I just learned myself that if
you send a signal 2 to mpg123, it will quit the song that it's playing,
and move to the next one. Heh. Pretty cool stuff.

- ----------------------------------------------------------------------------
Michael B. Trausch
President of Linux Operations, ADK Computers http://adk.hypermart.net/
- ----------------------------------------------------------------------------
PGP Public Key is available at hkp://keys.pgp.com/mtrausch@wcnet.org, or at:
http://wcnet.org/~mtrausch/pubkey.txt, or finger://mtrausch@wcnet.org
- ----------------------------------------------------------------------------
ADK Computers, Walbridge Office E-Mail: mtrausch@wcnet.org
- ----------------------------------------------------------------------------

Customer: I'm running Windows '98 Tech: Yes. Customer: My computer isn't
working now. Tech: Yes, you said that.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCbAwUBN2u11nNd0YT7jYpVAQGgYwQtEwUDLdOTkcE2gnElS1L1h0VfMREzPbm4
QdHU3isbb3aOqZn7UVtGTWLRScTlwrvvu7027EuYb0fWqZGt+P8SKjaPO1IJR1R3
m71jOj6Zaz6q2grv1CR8/WFWJ+9MQjVsr9G92mueFs8Vfwmx6XP5DYGGmu8FrCpS
/uTajHC9kCBKBBIRMDk=
=HEUm
-----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/