Creating a System Call in Linux -


we got midterm project today "operating systems" course, requested implement system call (and guess assume we'll have write piece of code call it).

i understand i'll need update table of system calls (can't remember name, no biggie), create kernel module table point to, mean i'll have recompile whole kernel, kernel knows module?

i have seen it's possible hijack current system call, suspect won't credit assignment if way.

just wanted feel size of effort i'll making.

update: kinda ended being hassle, change things believe 2.6.32 forward, when went previous kernel version specific tutorials online found, easy follow. if catches online , following tutorial, recommend downloading same kernel in tutorial initially, move forward there once have understanding of you're doing. if you're familiar compiling kernels, etc, might not have issue, first time compiling kernel, pain compile 2 hours , find out didn't work, , have on again, when wasn't sure was/wasn't doing wrong.

but mean i'll have recompile whole kernel, kernel knows module?

yes, need recompile kernel.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -