Due: October 5, 2022
The goal of this exercise is to determine whether the system enforces the Principle of Complete Mediation. To start, create a readable text file, called testfile. Write a short program that does the following:
Then run the program. Do you see the contents of the file? If so, after you run your program, try to display the contents of the file using cat(1), less(1), or some similar program. What happens?
Turn in the source code to your program and your answers to the questions in the preceding paragraph. To turn in your source code, please create a .tar file, put the source in there, and submit it. In order to receive credit, please be sure the source code compiles correctly and executes correctly on the CSIF.
Note: If you run your program a second time, be sure testfile is still readable; otherwise, your program will fail.
ECS 235A, Computer and Information Security
Version of September 20, 2022 at 12:45PM
|You can also obtain a PDF version of this.|