From: Stephen Hemminger <shemminger@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: changing internal kernel system mechanism in runtime by a module patch
Date: Thu, 16 Nov 2006 13:12:43 -0800 [thread overview]
Message-ID: <20061116131243.1f4d6ccd@freekitty> (raw)
In-Reply-To: e7aeb7c60611161119h3e198e96va07d36d5b2dd6390@mail.gmail.com
On Thu, 16 Nov 2006 21:19:50 +0200
"Yitzchak Eidus" <ieidus@gmail.com> 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()... ) ???
>
> 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...)
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
Look at kprobe/jprobe.
--
Stephen Hemminger <shemminger@osdl.org>
next prev parent reply other threads:[~2006-11-16 21:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-16 19:19 changing internal kernel system mechanism in runtime by a module patch Yitzchak Eidus
2006-11-16 19:29 ` Adrian Bunk
2006-11-16 21:49 ` Jan Engelhardt
2006-11-16 21:12 ` Stephen Hemminger [this message]
2006-11-17 6:47 ` Muli Ben-Yehuda
2006-11-17 6:58 ` Christoph Hellwig
2006-11-17 7:06 ` Muli Ben-Yehuda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061116131243.1f4d6ccd@freekitty \
--to=shemminger@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox