File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ properly in different cases and to test attacks against your monitor.
33331 . Your defense monitor should incorporate all the standard file operation
3434 methods, with an added method named ` undo ` .
35352 . A ` writeat ` operation will not immediately write its changes to the file. The
36- changes will only be permanent after either of the following occur:
36+ changes will only be permanent (commit) after either of the following occur:
3737 - A subsequent valid ` writeat ` operation is executed.
3838 - The file is closed.
39393 . The ` undo ` operation will reverse the changes of the last valid ` writeat `
@@ -44,7 +44,8 @@ properly in different cases and to test attacks against your monitor.
4444 undone.
45454 . Aside from the ability to be undone and potentially delayed writes, all
4646 ` writeat ` operations should behave the same way as they do in the RepyV2 API.
47-
47+ 5 . The ` undo ` operation raises ` FileClosedError ` if the file is already closed.
48+ 6 . ` readat ` cannot read data that has not been committed to the file.
4849
4950Three design paradigms are at work in this assignment: accuracy, efficiency, and
5051security.
You can’t perform that action at this time.
0 commit comments