mirror of
https://github.com/drasko/codezero.git
synced 2026-01-28 10:43:14 +01:00
Removed 2 arguments from l4_capability_control
l4_capability_control works well for almost all system calls using a buffer pointer to the capability that it operates on. Only for sharing/granting of capability lists, it is yet to be decided how to provide a grant target id.
This commit is contained in:
@@ -42,8 +42,7 @@ int l4_ipc(l4id_t to, l4id_t from, u32 flags);
|
||||
|
||||
typedef int (*__l4_capability_control_t)(unsigned int req, unsigned int flags, void *buf);
|
||||
extern __l4_capability_control_t __l4_capability_control;
|
||||
int l4_capability_control(unsigned int req, unsigned int flags,
|
||||
l4id_t capid, l4id_t tid, void *buf);
|
||||
int l4_capability_control(unsigned int req, unsigned int flags, void *buf);
|
||||
|
||||
typedef int (*__l4_map_t)(void *phys, void *virt,
|
||||
u32 npages, u32 flags, l4id_t tid);
|
||||
|
||||
Reference in New Issue
Block a user