CS401/CS746
(Linux) Kernel Programming

Spring 2016


Exercise #4 The aim of this exercise is to get familiar with implementing system calls.

Some references Tasks
  1. Write a simple system call and a process that invokes it. Test its correctness.
    On issuing a system call, the call should print the pid and parent pid and also return the current process's ppid.
  2. Write a linux kernel module to intercept this new new system call and alter it's functionality in some other manner.
    When the module is removed, original system call functionality should be restored.
Due date: 27th January 2016, Wednesday (in class)
Submit a step-by-step ordered process in which the above is achieved.
A in-class demo is required.