On Sun, Apr 06, 2003 at 01:27:54AM +0200, Robert Penz wrote: <snip> > > sorry for my late answer but I didn't have the time to work on my kernel > module > > I need the sys_call_table import, or do I not need to save the sys_call_table > ? > > /* setup the proc stuff */ > old_open = sys_call_table[__NR_open]; > sys_call_table[__NR_open] = new_open; Your new_open() function does nothing except calling the saved old_open() function. It doesn't make much sense, it does nothing. Actually, nobody should need to touch sys_call_table do do anything. There are interfaces for doing things such as creating /proc entries. -- Eduardo
Attachment:
pgp00363.pgp
Description: PGP signature