[zion] Move to default permissions being supplied by KernelObjects
This commit is contained in:
parent
48c6e5b3a4
commit
1364fbed9f
16 changed files with 91 additions and 54 deletions
|
|
@ -20,6 +20,10 @@ struct KernelObjectTag<Endpoint> {
|
|||
class Endpoint : public IpcObject {
|
||||
public:
|
||||
uint64_t TypeTag() override { return KernelObject::ENDPOINT; }
|
||||
static uint64_t DefaultPermissions() {
|
||||
return kZionPerm_Read | kZionPerm_Write;
|
||||
}
|
||||
|
||||
static glcr::RefPtr<Endpoint> Create();
|
||||
|
||||
glcr::ErrorCode Read(uint64_t* num_bytes, void* data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue