From: Bodo Eggert <7eggert@elstempel.de>
To: Joshua Hudson <joshudson@gmail.com>,
Irfan Habib <irfan.habib@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: why is intercepting system calls considerred bad?
Date: Fri, 21 Jul 2006 09:44:46 +0200 [thread overview]
Message-ID: <E1G3ph4-0000Z9-VV@be1.lrz> (raw)
In-Reply-To: <6AVU0-7fw-3@gated-at.bofh.it>
Joshua Hudson <joshudson@gmail.com> wrote:
> On 7/20/06, Irfan Habib <irfan.habib@gmail.com> wrote:
>> I recently met a kernel janitor, who told me that intercepting system
>> calls is undesirable, why?
>
> I'll bite.
>
> You intercept. Somebody else intercepts. You want to stop intercepting.
Use a double-linked list.
Having a mechanism to intercept syscalls will slow down syscall processing,
and there was no legit user in the history of linux. If you need something
like that, there is ptrace.
> For this reason, anybody who intercepts a system call must be compiled
> in,
No, but they may need to be compiled in for other reasons.
> and if two intercept the same system call, than the link order
> dictates behavior.
>
> Obviously not desirable.
ACK.
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
http://david.woodhou.se/why-not-spf.html
next parent reply other threads:[~2006-07-21 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6AVr2-6FS-3@gated-at.bofh.it>
[not found] ` <6AVU0-7fw-3@gated-at.bofh.it>
2006-07-21 7:44 ` Bodo Eggert [this message]
2006-07-21 5:06 Irfan Habib
2006-07-21 5:34 ` Joshua Hudson
2006-07-21 22:14 ` David Schwartz
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=E1G3ph4-0000Z9-VV@be1.lrz \
--to=7eggert@elstempel.de \
--cc=7eggert@gmx.de \
--cc=irfan.habib@gmail.com \
--cc=joshudson@gmail.com \
--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
Powered by JetHome