17. Testing our new system call

  1. Step 1: Recompile and install the new kernel so that our system call becomes available to the operating system.

  2. Step 2: Compile and execute the user space C file (testmycall.c) that we created above.

  3. RESULT: You should see the output as 25. This has been tested on kernel 2.6.17.13.