Adding new System Call to Linux Kernel 3.13 on 64 bit system
问题 I'm trying to add a simple helloworld System Call to kernel 3.13.0-37-generic on 64 bit system. I'll try to show what I did so far step by step : 1- I've downloaded kernel source by : sudo apt-get source linux-image-3.13.0-37-generic After that, kernel source files extracted to /usr/src/ 2- Define a new system call sys_hello() : I've created a directory with hello name in the kernel source directory in /usr/src/linux-3.13/ And I created a hello.c file in hello directory with below content :