______ Kernel modification project (CS 273 (OS), Fall 2020)
Home
>>    




Kernel modification project

CS 273 (OS), Fall 2020

Final submission due date: Saturday 11/14/20 "midnight"

  • Incremental submissions (described below): Monday 10/19/20; Monday 10/26/20

Requirements: Implement one or more new system calls in a Linux kernel that extend the capabilities of the kernel in some demonstrable way.

Incremental steps for accomplishing this assignment

  1. Install VirtualBox, create a virtual machine, install Linux on that virtual machine, and install kernel sources on your virtual system.

  2. Compile the kernel, and test your new copy of the kernel.

  3. Add a first new system calls to your kernel sources that is a copy of an existing system call, and recompile to demonstrated your added system call. (Since this "clone" system call does not add new capabilities to the kernel, it does not complete the project requirements.)


    • The steps above through user-level section of adding a system call are due Monday 10/19/20 as HW9.

    • The remaining kernel-level section of kernel-level section of adding a system call is due on Monday 10/26/20 as part of HW10.

      Submission instructions TBA in this space and on Piazza

  4. Research one or more new system call ideas that would add at least one demonstrable new capability for the kernel. This may involve code search, internet search, interaction with the professor. Sample project ideas are provided.

  5. Develop and implement your kernel modifications, including at least one new system call that accesses those modifications.

  6. Extra features beyond the basic assignment normally consist of additional new system calls or extensive modifications that go significantly beyond the minimal expectations of a demonstrable new kernel capability.

  7. Submit your kernel modifications in the form of a patch (a specialized file that specifies how to transform the standard kernel sources to produce your modified kernel), documentation, and other deliverables specified in this project's submission form.