Capability-enabled kernel running 2_posix test OK.

This commit is contained in:
Bahadir Balban
2009-10-27 15:59:07 +02:00
parent d1f25763ac
commit 5840d6d696
12 changed files with 244 additions and 154 deletions

View File

@@ -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 "

View File

@@ -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;

View File

@@ -1,4 +1,5 @@
#if 0
int mutex_user_thread(void *arg)
{
@@ -215,5 +216,5 @@ out_err:
#endif