Re: hook of syscall

From: Khimenko Victor (khim@sch57.msk.ru)
Date: Tue Apr 18 2000 - 02:59:07 EST


In <Pine.LNX.4.21.0004180837380.935-100000@saturn.homenet> Tigran Aivazian (tigran@veritas.com) wrote:
> On Tue, 18 Apr 2000, Tabei Koji wrote:
>> Is the hook of sys_xxx possible?
>> If it is possible, Do you know a document or a sample?

> yes, an example of changing system calls (temporarily) is in a timetravel
> module I wrote ages ago:

> http://www.ocston.org/~tigran/tt/tt.html

Hmm. I've not looked on your beast yet, but I'm puzzled: you can intercept
userspace calls easily (you do not need do it in kernel in fact: take look on
strace/ltrace/etc) but sometimes kernel just calls sys_open directly ! Is it
intercepted in your timetravel module as well ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:12 EST