For kernel version 2.6.32 1.create a new syscall called \"notnice\". It is the s
ID: 3631321 • Letter: F
Question
For kernel version 2.6.321.create a new syscall called "notnice". It is the same as "nice" (see man nice) but it allows you to raise your running priority as well as lower it. In this project you will just get set up for that.
2.Alter the syscall_table, at entry 35 add a call to sys_notnice.
3.Alter the sched.c file in ./kernel, adding the function sys_notnice. Follow the pattern of sys_nice.
4.For the moment, the function body of sys_notnice only logs its entry using the call printk(KERN_DEBUG "notnice: entered");
5.Write a user program that invokes your new system call.
if you need more information you can email me at 102970938@qq.com
Explanation / Answer
I have done the solution on my computer. Rate me lifesaver and I'll share it with you through email or cramster inbox. I am just tired of me answering the questions and other people getting ratings. That is why I'm doing this.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.