October 14, 2008

How to create a linux system call

Creating a system call in the kernel to be used by a user-space application isn’t that exotic but requires three basic steps. The first step is to create the function, to update the header files and to update the system call table. We will create the function with the asmlinkage modifier, which tells the compiler to pass all function argument on the stack. A simple system call function could be ... Read more