Operating Systems 2015F: Tutorial 7
In this tutorial you should either work on your project or, if you are having trouble getting started, you should work through the example covered in class on October 6th.
If you get through the class example quickly, attempt some of the following modifications:
- Make getpriority subtract 5 from the priority when returning it (so you can't tell that we added 5 in setpriority).
- On execve, make the priority (niceness) of a process the maximum value (make it have the lowest possible priority) if the executable has the string "pushover" in it.
- Make chmod always make things world readable. (Note: this might be dangerous! Take precautions.)