Question: The second chapter of the textbook provides an interesting programming assignment (titled Linux Kernel Modules). In the first assignment you completed the first part of
The second chapter of the textbook provides an interesting programming assignment (titled Linux Kernel Modules). In the first assignment you completed the first part of the project (basically followed the steps in Part I Loading and Removing Kernel Modules). In this assignment you are asked to complete the second part described in the textbook (Part II- Kernel Data Structures) While the full text of the programming activity is available in the textbook, I am pasting below the specific requirements: Starting with the module provided for part I: In the module entry point, create a linked list containing five struct birthday elements. Traverse the linked list and output its contents to the kernel log buffer. Invoke the dmesg command to ensure the list is properly constructed once the kernel module has been loaded. In the module exit point, delete the elements from the linked list and return the free memory back to the kernel. Again, invoke the dmesg command to check that the list has been removed once the kernel module has been unloaded.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
