[zion] Enfore Duplication permissions on capabilities.
This commit is contained in:
parent
1364fbed9f
commit
f0a27d30be
7 changed files with 9 additions and 6 deletions
|
|
@ -23,7 +23,7 @@ class MemoryObject : public KernelObject {
|
|||
public:
|
||||
uint64_t TypeTag() override { return KernelObject::MEMORY_OBJECT; }
|
||||
static uint64_t DefaultPermissions() {
|
||||
return kZionPerm_Write | kZionPerm_Read;
|
||||
return kZionPerm_Write | kZionPerm_Read | kZionPerm_Duplicate;
|
||||
}
|
||||
|
||||
MemoryObject(uint64_t size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue