[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exporting sys_call_table for 2.6.11
On 2/5/06, Σωτήριο Κοντογιάννη <skontog@xxxxxxxxxx> wrote:
> I tried to compile the following example in order to replace __NR_open
> syscall for my linux kernel 2.6.11 :
[snip]
> But when I compile it I get the following message:
> MODPOST
> *** Warning: "sys_call_table" [/root/kernel_sko/ex10/as10.ko] undefined!
> this is because (I think) sys_call_table[] is not exported by my kernel.
> Is there a patch or a way to export sys_call_table[] ?
>
correct, the system call table is not exported, and for good reasons.
Take a look at the thread "intercepting syscalls" in the archives
(started by Igor Shmukler), for a lot of discussion on syscall
hijacking and why you shouldn't do it.
--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
zΉή?w°n'¬ιiy§!ʼΨ^?W??v?ʼλm?ββ?μdzΉή?
ά?+ή?Ϋi?ω??Yε?)ξΖ?ΰώG«?ιg{βzΟΕmΆ???κηzYήΑΈ?²?ΰύφ?