From 87c18a55325ed35f1cc1c51792b7e1a0747ff38a Mon Sep 17 00:00:00 2001 From: Bahadir Balban Date: Fri, 4 Dec 2009 00:37:00 +0200 Subject: [PATCH] Update to kernel systable for new capability control signature. --- docs/man/man7/l4_unmap.7 | 2 +- src/glue/arm/systable.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/man/man7/l4_unmap.7 b/docs/man/man7/l4_unmap.7 index 7f5e1dc..c8f3d7c 100755 --- a/docs/man/man7/l4_unmap.7 +++ b/docs/man/man7/l4_unmap.7 @@ -38,7 +38,7 @@ The thread to remove the mapping could not be found on the system. .B -ENOCAP Capabilities required don't exist or caller do not have sufficient privileges. -.B -1 +.B -ENOMAP There is already an unmapped area in one of the pages that were unmapped. This may or may not be an error, depending on what state the caller expects the unmapped area to be in. .SH SEE ALSO diff --git a/src/glue/arm/systable.c b/src/glue/arm/systable.c index 20ce209..d099bc8 100644 --- a/src/glue/arm/systable.c +++ b/src/glue/arm/systable.c @@ -99,9 +99,7 @@ int arch_sys_capability_control(syscall_context_t *regs) { return sys_capability_control((unsigned int)regs->r0, (unsigned int)regs->r1, - (l4id_t)regs->r2, - (l4id_t)regs->r3, - (void *)regs->r4); + (void *)regs->r2); } int arch_sys_container_control(syscall_context_t *regs)