Due: March 15, 2024
Points: 100
Revision 1, March 14, 2024: The variable in 2(c) was misnamed. It should have been filelist[fid].access_control_list, not filelist[fid].access_control.
function addread(call_pid, for_pid: process_id; fid: file_id): integer; begin if (call_pid = filelist[fid].owner) then addright(filelist[fid].access_control_list, for_pid, "r"); result := (call_pid - filelist[fid].owner); return result end.
|
ECS 235B, Foundations of Computer and Information Security Version of March 8, 2024 at 11:36AM
|
You can also obtain a PDF version of this. |