[zion] Enfore Duplication permissions on capabilities.

This commit is contained in:
Drew Galbraith 2023-08-01 18:30:24 -07:00
parent 1364fbed9f
commit f0a27d30be
7 changed files with 9 additions and 6 deletions

View file

@ -22,7 +22,7 @@ class Channel : public IpcObject {
public:
uint64_t TypeTag() override { return KernelObject::CHANNEL; }
static uint64_t DefaultPermissions() {
return kZionPerm_Read | kZionPerm_Write;
return kZionPerm_Read | kZionPerm_Write | kZionPerm_Duplicate;
}
static glcr::Pair<glcr::RefPtr<Channel>, glcr::RefPtr<Channel>>