On 2/5/06, Jesper Juhl <jesper.juhl@xxxxxxxxx> wrote:> 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.>That would be the LKML archives btw. --Jesper Juhl <jesper.juhl@xxxxxxxxx>Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.htmlPlain text mails only, please http://www.expita.com/nomime.html?ς??w??μ;?λ?ιiy§!ʼΨ^?W??v?ʼλm?ββ?μdzΉή?π+r―{ψmΆ??ώfʼ?ωεώX§»θ?δzΉή?w°n'¬όPώm§???κηzYήΑΈ?³ϊ+?χΪ