mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Altering kernel path execution using module
@ 2007-05-28  4:12 pradeep singh
  2007-05-28  4:13 ` pradeep singh
  0 siblings, 1 reply; 2+ messages in thread
From: pradeep singh @ 2007-05-28  4:12 UTC (permalink / raw)
  To: linux-kernel

Hi All,

Is it possible to change the normal kernel execution path using a
loadable module, without actually patching the kernel?
e.g
    fun1()->fun2()->fun3()->fun4()->fun5()->fun6()

Can i change this method invocation sequence to a custom sequence
using *only* loadable modules?

i.e
   fun1()->fun2()-->myfun1()-->myfun2()....->fun4()->fun5()->fun6().

And i do not want to replace any in kernel methods with my custom hooks.

Tried asking on kernelnewbies but i am not satisfied with the
debuggers pointed as help(i.e kprobes).

Apologies if this is too trivial for you all.

Any help?

Thanks
--pradeep

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Altering kernel path execution using module
  2007-05-28  4:12 Altering kernel path execution using module pradeep singh
@ 2007-05-28  4:13 ` pradeep singh
  0 siblings, 0 replies; 2+ messages in thread
From: pradeep singh @ 2007-05-28  4:13 UTC (permalink / raw)
  To: linux-kernel

On 5/28/07, pradeep singh <p.singh.rautela@gmail.com> wrote:
> Hi All,
>
> Is it possible to change the normal kernel execution path using a
> loadable module, without actually patching the kernel?
> e.g
>     fun1()->fun2()->fun3()->fun4()->fun5()->fun6()
>
> Can i change this method invocation sequence to a custom sequence
> using *only* loadable modules?
>
> i.e
>    fun1()->fun2()-->myfun1()-->myfun2()....->fun4()->fun5()->fun6().
>
> And i do not want to replace any in kernel methods with my custom hooks.
>
> Tried asking on kernelnewbies but i am not satisfied with the
> debuggers pointed as help(i.e kprobes).
>
> Apologies if this is too trivial for you all.
>
> Any help?
Please CC to me as i am not subscribed to the lkml.
thanks
--pradeep
>
> Thanks
> --pradeep
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-28  4:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-28  4:12 Altering kernel path execution using module pradeep singh
2007-05-28  4:13 ` pradeep singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®