Reorganized system call library; uses separate file per call now.
New configuration header file to include/ exclude functionality. Extracted privileged features from struct proc and create new struct priv. Renamed various system calls for readability.
This commit is contained in:
@@ -215,7 +215,6 @@ vir_bytes size;
|
||||
int privilege;
|
||||
{
|
||||
/* Build descriptor for a data segment. */
|
||||
|
||||
sdesc(segdp, base, size);
|
||||
segdp->access = (privilege << DPL_SHIFT) | (PRESENT | SEGMENT | WRITEABLE);
|
||||
/* EXECUTABLE = 0, EXPAND_DOWN = 0, ACCESSED = 0 */
|
||||
|
||||
Reference in New Issue
Block a user