Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with this question as soon as possible I will make sure to rate all the right question you answered, thank you so

Please help me with this question as soon as possible I will make sure to rate all the right question you answered, thank you so much in advance. image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

1 Background The kernel is a program that is the core of a computer's operating system, with complete control over everything in the system. It is the first program loaded on start-up. It performs tasks such as running processes, han dling interrupts and all other handling that happens behind the scenes in kernel space whereas everything user does is executed in user-space. This separation prevents user data and kernel data from interfering with each other and causing instability and slowness,. Kernel modules are pieces of code whi ch provide functionality to the kernel. The word "Loadable" is prefixed to kerne module to show that t eases the process of integrating the module with the kernel Generally, if any functionality is to be provided in the kernel, it has to incorporated by compiling the kernel with the proposed changes. Loadable Kernel Modules (LKM) ease that process by providing the facility to integrate it self within the kernel instead of requiring kernel re-compilation. For infor mat ion on creating LKMs, see your t extbook (Operat ing System Concepts) page 96. You will need to use a so-called "makefile" to manage the compilation of your module. It will not be possible to use Net Beans to develop your code. One way to start is with the sample LKM provided on the textbook's website In this assignment you will write a LKM for the Linux kernel that displays the certain details of the processes (along with its parent and child) executing in the kernel. As an important step to implementing the program, you should review the section on include files to get an idea of what functionality is available From there, you may choose to outline your program in pseudocode, and then convert it into actual source co de, while reading the documentation for any functions you used. Expect that a significant part of your time on this assignment will be spent readin g/researching/understanding LKM documentatiorn and reviewing kernel source code files (linuz/sched.h, and linux/list.h). The source code should be relatively short. For kernel source code, visit www.kernel.org/. Any nes numbers mentioned in this document refer to Linux 4.9.6; please reference that version as well This document is separated into five sections: Background, Requirements, Makefiles, Include Files, and Submission. You have almost finished reading the Background section already. In Requirements, we will discuss what is expected of you in this homework. In Iuclude Files, we di scu ss several header files that include fun ctionality related to file and directory manipulation Lastly, Submission discusses how your source code should be submitted on BlackBoard 1 Background The kernel is a program that is the core of a computer's operating system, with complete control over everything in the system. It is the first program loaded on start-up. It performs tasks such as running processes, han dling interrupts and all other handling that happens behind the scenes in kernel space whereas everything user does is executed in user-space. This separation prevents user data and kernel data from interfering with each other and causing instability and slowness,. Kernel modules are pieces of code whi ch provide functionality to the kernel. The word "Loadable" is prefixed to kerne module to show that t eases the process of integrating the module with the kernel Generally, if any functionality is to be provided in the kernel, it has to incorporated by compiling the kernel with the proposed changes. Loadable Kernel Modules (LKM) ease that process by providing the facility to integrate it self within the kernel instead of requiring kernel re-compilation. For infor mat ion on creating LKMs, see your t extbook (Operat ing System Concepts) page 96. You will need to use a so-called "makefile" to manage the compilation of your module. It will not be possible to use Net Beans to develop your code. One way to start is with the sample LKM provided on the textbook's website In this assignment you will write a LKM for the Linux kernel that displays the certain details of the processes (along with its parent and child) executing in the kernel. As an important step to implementing the program, you should review the section on include files to get an idea of what functionality is available From there, you may choose to outline your program in pseudocode, and then convert it into actual source co de, while reading the documentation for any functions you used. Expect that a significant part of your time on this assignment will be spent readin g/researching/understanding LKM documentatiorn and reviewing kernel source code files (linuz/sched.h, and linux/list.h). The source code should be relatively short. For kernel source code, visit www.kernel.org/. Any nes numbers mentioned in this document refer to Linux 4.9.6; please reference that version as well This document is separated into five sections: Background, Requirements, Makefiles, Include Files, and Submission. You have almost finished reading the Background section already. In Requirements, we will discuss what is expected of you in this homework. In Iuclude Files, we di scu ss several header files that include fun ctionality related to file and directory manipulation Lastly, Submission discusses how your source code should be submitted on BlackBoard

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Discuss the techniques of job analysis.

Answered: 1 week ago

Question

How do we do subnetting in IPv6?Explain with a suitable example.

Answered: 1 week ago

Question

Explain the guideline for job description.

Answered: 1 week ago

Question

What is job description ? State the uses of job description.

Answered: 1 week ago

Question

What are the objectives of job evaluation ?

Answered: 1 week ago