[zion] Enforce cap transmit permissions in more places.

This commit is contained in:
Drew Galbraith 2023-08-01 18:43:48 -07:00
parent 4e9ad6a516
commit f0add6e0c3
7 changed files with 24 additions and 8 deletions

View file

@ -21,7 +21,8 @@ class Endpoint : public IpcObject {
public:
uint64_t TypeTag() override { return KernelObject::ENDPOINT; }
static uint64_t DefaultPermissions() {
return kZionPerm_Read | kZionPerm_Write | kZionPerm_Duplicate;
return kZionPerm_Read | kZionPerm_Write | kZionPerm_Duplicate |
kZionPerm_Transmit;
}
static glcr::RefPtr<Endpoint> Create();