E2 - Your first kernel module 🍿

You will specify, implement, and test a simple kernel module that creates a kdlp entry in the Linux kernel’s /proc filesystem with a basic read only interface that returns a unchanging message that includes the student’s name.

Outcomes:

What to submit:

Procedure:

  1. Create your named folder in the e2 directory, change directory into it, and copy the specification template into your folder (cp ../specification.txt .).
  2. Edit your copy of specification.txt and fill in the blanks to fully specify the expected behavior of your module.
  3. At this point you can git add the specification file and make your first commit.
  4. Write a testing program and makefile that exercises all the functionality your driver will have according to the specification by performing operations on the file that it will create in /proc.
  5. At this point you can git add your makefile and testing program and make your second commit.
  6. Implement the driver.
  7. Submit your patches to exercise2@kdlp.underground.software by the due date.

Submission Guidelines