mirror of
https://github.com/drasko/codezero.git
synced 2026-02-27 17:23:13 +01:00
Capability-enabled kernel running 2_posix test OK.
This commit is contained in:
@@ -210,7 +210,7 @@ int read_pager_capabilities()
|
||||
|
||||
/* Share all of them with paged children */
|
||||
if ((err = l4_capability_control(CAP_CONTROL_SHARE,
|
||||
CAP_SHARE_CHILD,
|
||||
CAP_SHARE_CONTAINER,
|
||||
0)) < 0) {
|
||||
printf("l4_capability_control() sharing of "
|
||||
"capabilities failed.\n Could not "
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
static struct capability cap_array[30];
|
||||
|
||||
#if 0
|
||||
struct cap_group {
|
||||
struct cap_list virtmem;
|
||||
struct cap_list physmem;
|
||||
@@ -73,6 +74,7 @@ void cap_grant_single(struct capability *orig, struct capability *share, l4id_t
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void cap_print(struct capability *cap)
|
||||
{
|
||||
@@ -151,7 +153,7 @@ void cap_print(struct capability *cap)
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
int cap_read_all(void)
|
||||
int caps_read_all(void)
|
||||
{
|
||||
int ncaps;
|
||||
int err;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
#if 0
|
||||
|
||||
int mutex_user_thread(void *arg)
|
||||
{
|
||||
@@ -215,5 +216,5 @@ out_err:
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user