From: selvakumar nagendran <kernelselva@yahoo.com>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re : Re: Intercepting system calls in Linux kernel 2.6.x
Date: Thu, 23 Dec 2004 22:09:06 -0800 (PST) [thread overview]
Message-ID: <20041224060906.21085.qmail@web60606.mail.yahoo.com> (raw)
In-Reply-To: <200412240540.iBO5ebvF015327@turing-police.cc.vt.edu>
Hello,
I want to save the system call parameters in a
table. I want to do this from the kernel module. For
that, I want to replace the already existing system
call handler by my own. Are there any other mechanisms
for doing this without exporting system call table? If
it is then plz suggest any one of them?
Thanks,
selva
--- Valdis.Kletnieks@vt.edu wrote:
> On Thu, 23 Dec 2004 20:45:53 PST, selvakumar
> nagendran said:
> > In linux kernel 2.6.x, what should we do to
> intercept
> > system calls? When I used sys_call_table from a
> > module, it returned the following error 'undefined
> > variable sys_call_table'. What is the way to
> export
> > system call table in kernel 2.6.x?
>
> That's generally very deprecated.
>
> What problem are you trying to solve by intercepting
> system calls? There
> may very well be some other way to achieve what
> you're trying to do...
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
next prev parent reply other threads:[~2004-12-24 6:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-24 4:45 selvakumar nagendran
2004-12-24 5:40 ` Valdis.Kletnieks
2004-12-24 6:09 ` selvakumar nagendran [this message]
2004-12-24 9:11 ` Re : " Arjan van de Ven
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=20041224060906.21085.qmail@web60606.mail.yahoo.com \
--to=kernelselva@yahoo.com \
--cc=Valdis.Kletnieks@vt.edu \
--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
all inboxes | Powered by JetHome®