public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Syscall table AKA hijacking syscalls
@ 2004-01-02 12:59 Libor Vanek
  2004-01-02 13:08 ` Matti Aarnio
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Libor Vanek @ 2004-01-02 12:59 UTC (permalink / raw)
  To: linux-kernel

Hi,
I'm writing some project which needs to hijack some syscalls in VFS 
layer. AFAIK in 2.6 is this "not-wanted" solution (even that there are 
some very nasty ways of doing it - see 
http://mail.nl.linux.org/kernelnewbies/2002-12/msg00266.html )

Also I've found out that Linus stated that intercepting syscalls is "bad 
thing" (load module a, load module b, unload module b => crash) but I 
think that there are some very good reasons (and ways) to do it (see 
http://syscalltrack.sourceforge.net ). My main reason to do it is that I 
want my GPLed module to be able to modify some VFS syscalls without 
patching and recompiling whole kernel and rebooting the machine.

So what is proper (Linus recommanded) way to do such a things? Create 
patches for specific syscalls like "if this_module_installed then 
call_this_function;" or try to force things like syscalltrack to go into 
vanilla kernel some time? Because what I've found out there are more 
projects which suffer from this restriction.


-- 

Libor Vanek







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

end of thread, other threads:[~2004-01-07  9:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-02 12:59 Syscall table AKA hijacking syscalls Libor Vanek
2004-01-02 13:08 ` Matti Aarnio
2004-01-02 13:26   ` Libor Vanek
2004-01-02 13:57 ` Ragnar Kjørstad
2004-01-02 15:39   ` Libor Vanek
2004-01-02 16:42     ` Jörn Engel
2004-01-02 15:12 ` Muli Ben-Yehuda
2004-01-02 15:38   ` Libor Vanek
2004-01-02 16:00     ` Christoph Hellwig
2004-01-02 16:35       ` Jörn Engel
2004-01-02 16:59         ` Libor Vanek
2004-01-02 18:04           ` Jörn Engel
2004-01-02 18:58             ` Libor Vanek
2004-01-02 19:15               ` Arjan van de Ven
2004-01-02 19:23                 ` Libor Vanek
2004-01-02 19:18               ` Jörn Engel
2004-01-02 19:37                 ` Libor Vanek
2004-01-02 19:56                   ` Jörn Engel
2004-01-07  9:28     ` stefan.eletzhofer
2004-01-02 23:35 ` Anton Blanchard
2004-01-02 23:46   ` Libor Vanek
2004-01-03 15:41     ` Helge Hafting

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