Re: intercepting syscalls (by setting pointer in sys_call_table)

Tigran Aivazian (tigran@sco.COM)
Wed, 24 Mar 1999 09:02:59 +0000 (GMT)


Hi,

A long time ago I wrote a toy kernel module (called Time Travel) which
intercepts all time-related system calls and shifts a particular program
into the future or past by the specified ammount.

The only SMP-consideration I encountered is that I had to compile with
-D__SMP__, otherwise things like current->comm will be NULL.

Btw, TimeTravel is available from
http://www.aivazian.demon.co.uk/tt/tt.html

Regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.aivazian.demon.co.uk

-
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/