* why is intercepting system calls considerred bad?
@ 2006-07-21 5:06 Irfan Habib
2006-07-21 5:34 ` Joshua Hudson
2006-07-21 22:14 ` David Schwartz
0 siblings, 2 replies; 4+ messages in thread
From: Irfan Habib @ 2006-07-21 5:06 UTC (permalink / raw)
To: linux-kernel
HI,
I recently met a kernel janitor, who told me that intercepting system
calls is undesirable, why?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: why is intercepting system calls considerred bad?
2006-07-21 5:06 why is intercepting system calls considerred bad? Irfan Habib
@ 2006-07-21 5:34 ` Joshua Hudson
2006-07-21 22:14 ` David Schwartz
1 sibling, 0 replies; 4+ messages in thread
From: Joshua Hudson @ 2006-07-21 5:34 UTC (permalink / raw)
To: Irfan Habib, linux-kernel
On 7/20/06, Irfan Habib <irfan.habib@gmail.com> wrote:
> HI,
>
> 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.
For this reason, anybody who intercepts a system call must be compiled
in, and if two intercept the same system call, than the link order
dictates behavior.
Obviously not desirable.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: why is intercepting system calls considerred bad?
2006-07-21 5:06 why is intercepting system calls considerred bad? Irfan Habib
2006-07-21 5:34 ` Joshua Hudson
@ 2006-07-21 22:14 ` David Schwartz
1 sibling, 0 replies; 4+ messages in thread
From: David Schwartz @ 2006-07-21 22:14 UTC (permalink / raw)
To: linux-kernel
> I recently met a kernel janitor, who told me that intercepting system
> calls is undesirable, why?
It's a club. Software development should be done with scalpels.
DS
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: why is intercepting system calls considerred bad?
[not found] ` <6AVU0-7fw-3@gated-at.bofh.it>
@ 2006-07-21 7:44 ` Bodo Eggert
0 siblings, 0 replies; 4+ messages in thread
From: Bodo Eggert @ 2006-07-21 7:44 UTC (permalink / raw)
To: Joshua Hudson, Irfan Habib, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-21 22:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-21 5:06 why is intercepting system calls considerred bad? Irfan Habib
2006-07-21 5:34 ` Joshua Hudson
2006-07-21 22:14 ` David Schwartz
[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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome