On 6/16/07, Andrea Gasparini <gaspa@xxxxxxxxxxx> wrote:
> > module side:
> > include <somthing>
>
> tmp_pointer = foo_pointer;
> This may be required so that you don't track loose of original in
> kernel function.
yes, of course! it _must_ be used. ;)
this code was a simple stub... I think this method is similar to the 2.4
implementation of the syscalls vector, when you was responsible of
maintaining the syscalls table in a consistent state.
precisely.....lkmpg gives more insight on this. Apart from storing the default location of the function is a temp variable one should also take care not to insert two modules doing the above stuff. If at all u do that you must remove them carefully.
regards
devvrat