Question: Part 2.B) This part involves modifying the simple kernel module provided in chapter 2 of the book source code so that it uses the kernel

 Part 2.B) This part involves modifying the simple kernel module provided

Part 2.B) This part involves modifying the simple kernel module provided in chapter 2 of the book source code so that it uses the kernel linked-list data structure to allocate and link a few nodes into this circular doubly linked list. In the module entry point, create a linked list containing five struct hithday elements Traverse the linked list ad output its contents to the kernel log var log messages or var log kern.log) .You may also check the output in the kernel log buffer by execnting the "dmsg" command at the shell prompt while logged on as root .In the module exit poi, delete the elements from the linked list and return the free emory back to the kernel. .Atter unloading your modified kernel module, check the outpnt n the kernel log or execute the dmesg command to check that the list has been removed upon unloading it trom the kernel address space. The output helow was generated by a solution implementation: May 15 07:37:03 cts4318-node-2 kernel: Loading Module May 15 07:37:03 cts4348 node 2 kernel: Birthday: Month 10 DaY 22 Year 1963 May 15 07:37:03 cts4348-node-2 kernel: Birthday: Month 8 Day 13 Year 1995 May 15 07:37:03 cts434-node-2 kernel: Birthday: Month 9 Day 2 Year 1998 May 15 07:37:03 cts4348-node-2 kernel Birthday Month 8 Day 12 Year 1963 May 15 07:47:54 cts434 -rt)de-2 kerne1: Reno ving Module May 15 07:4:54 ct54348-node-2 kernel: Removing 10 22 1963 May 15 07:47:54 cts4348 node 2 kernel: Removing 8 13 1995 May 15 07:47:54 cts4348-node-2 kernel: Removing ? 2 1998 May 15 07:47:54 cts4348-node-2 kernel Removing 3 12 1963

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!