mirror of
https://github.com/drasko/codezero.git
synced 2026-02-07 23:43:15 +01:00
Added a TASK_CAP_LIST macro that abstracts away the primary cap list
We moved initial list of a pager's caps from ktcb to task's space since the task is expected to trust its space. Most references to task->cap_list had to change. Although a single cap list only tells part of the story about the task's caps, the TASK_CAP_LIST macro works for us to get the first private set of caps that a task has.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <l4/macros.h>
|
||||
#include <libposix.h>
|
||||
|
||||
static inline void __attribute__ ((noreturn)) l4_exit(int status)
|
||||
static inline void __attribute__ ((noreturn)) l4_exit_ipc(int status)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -22,6 +22,6 @@ static inline void __attribute__ ((noreturn)) l4_exit(int status)
|
||||
|
||||
void __attribute__ ((noreturn)) _exit(int status)
|
||||
{
|
||||
l4_exit(status);
|
||||
l4_exit_ipc(status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user