Open sid-agrawal opened 3 months ago
It is more clear from [1,2] that we need to consider PDs as resources, too. Then, an edge from PD(active) to PD (as a resource)
would have take
& grant
permissions.
This relates to our conversation about execution context, as it seems like a PD is just a way to enforce resource constraints, not really an active entity.
Further, if the PD is backed by some memory, then it has a map
edge to memory
, and the EC (or PD, I'm not sure) holding that memory enforces this PD abstraction. This relates to
[1] Protection: https://dl.acm.org/doi/10.1145/775265.775268 [2] Hierarchical Take-Grant Protection systems: https://dl.acm.org/doi/abs/10.1145/1067627.806598
This should help with comments about the difference between the code–page held by the PD and the same code page held by the kernel. Process-PD has
R
perms to the code page, and the kernel hasmap
perms to the process code page.We can also use this to capture whether the memory in the resource is
interprested
by the PD or not.