Re: changing internal kernel system mechanism in runtime by a module patch

2006-11-16 Thread Muli Ben-Yehuda
On Fri, Nov 17, 2006 at 06:58:29AM +, Christoph Hellwig wrote: > This kind of stuff is just sick. Better let them play with their research > OS for this kind of thing :) sick, research, what's the difference? :-) > In practice any non-trivial bug fix requires > changes to global data struct

Re: changing internal kernel system mechanism in runtime by a module patch

2006-11-16 Thread Christoph Hellwig
On Fri, Nov 17, 2006 at 08:47:32AM +0200, Muli Ben-Yehuda wrote: > > i am talking about a clean/standard way to do such thing > > (without overwrite the mem address of the function and replace it in a > > dirty way...) > > k42 supports "dynamic hot-swap" and there's been some work done to > bring

Re: changing internal kernel system mechanism in runtime by a module patch

2006-11-16 Thread Muli Ben-Yehuda
On Thu, Nov 16, 2006 at 09:19:50PM +0200, Yitzchak Eidus wrote: > is it possible to replace linux kernel internal functions such as > schdule () to lets say my_schdule () in a run time with a module > patch??? (so that every call in the kernel to schdule() will go to > my_schdule()... ) ??? Not

Re: changing internal kernel system mechanism in runtime by a module patch

2006-11-16 Thread Jan Engelhardt
On Nov 16 2006 20:29, Adrian Bunk wrote: >On Thu, Nov 16, 2006 at 09:19:50PM +0200, Yitzchak Eidus wrote: >> is it possible to replace linux kernel internal functions such as >> schdule () to lets say my_schdule () in a run time with a module >> patch??? Nothing is impossible. >> (so that every

Re: changing internal kernel system mechanism in runtime by a module patch

2006-11-16 Thread Stephen Hemminger
On Thu, 16 Nov 2006 21:19:50 +0200 "Yitzchak Eidus" <[EMAIL PROTECTED]> wrote: > is it possible to replace linux kernel internal functions such as > schdule () to lets say my_schdule () in a run time with a module > patch??? > (so that every call in the kernel to schdule() will go to my_schdule()

Re: changing internal kernel system mechanism in runtime by a module patch

2006-11-16 Thread Adrian Bunk
On Thu, Nov 16, 2006 at 09:19:50PM +0200, Yitzchak Eidus wrote: > is it possible to replace linux kernel internal functions such as > schdule () to lets say my_schdule () in a run time with a module > patch??? > (so that every call in the kernel to schdule() will go to my_schdule()... ) > ??? >