[zion] Begin requiring capability transmit permission.
As a first pass require the permission when passing a capability to a new process.
This commit is contained in:
parent
f0a27d30be
commit
4e9ad6a516
3 changed files with 10 additions and 5 deletions
|
|
@ -22,7 +22,8 @@ class Port : public IpcObject {
|
|||
public:
|
||||
uint64_t TypeTag() override { return KernelObject::PORT; }
|
||||
static uint64_t DefaultPermissions() {
|
||||
return kZionPerm_Write | kZionPerm_Read | kZionPerm_Duplicate;
|
||||
return kZionPerm_Write | kZionPerm_Read | kZionPerm_Duplicate |
|
||||
kZionPerm_Transmit;
|
||||
}
|
||||
|
||||
Port() = default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue