summaryrefslogtreecommitdiff
path: root/viengoos/cap.h
diff options
context:
space:
mode:
authorneal <neal>2008-01-24 20:37:41 +0000
committerneal <neal>2008-01-24 20:37:41 +0000
commit1274cc5549afe8d7f3114f38fc215240f9d5d7a2 (patch)
treedd0bee46f17396b0a007f1ad22e245b057e741cf /viengoos/cap.h
parent4858fa9d9e060da09b1aabdabc653e4e02122df2 (diff)
hurd/
2008-01-24 Neal H. Walfield <neal@gnu.org> * cap.h (cap_copy): Rename ADDRESS_SPACE argument to TARGET_ADDRESS_SPACE. Take additional argument SOURCE_ADDRESS_SPACE. Update users. (cap_copy_x): Likewise. (cap_copy): Likewise. (object_slot_copy_out): Rename ADDRESS_SPACE argument to OBJECT_ADDRESS_SPACE. Take additional argument TARGET_ADDRESS_SPACE. Update users. (object_slot_copy_out): Rename ADDRESS_SPACE argument to OBJECT_ADDRESS_SPACE. Take additional argument SOURCE_ADDRESS_SPACE. Update users. libhurd-mm/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * as.h (as_slot_ensure_full): New declaration. (as_insert): Take additional parameters SOURCE_AS and TARGET_AS. * as.c (as_slot_ensure_full): Remove declaration. (as_slot_ensure): Update use of as_slot_ensure full to be consistent with the new API. (as_alloc_slow): Update use of rm_cap_copy to be consistent with new API. viengoos/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * as.h (as_insert): Rename argument AS_ROOT_ADDR to TARGET_AS. Take additional argument SOURCE_AS. Update users. * as.c (as_build_internal): Update use of cap_copy_x to be consistent with new API. (as_insert): Take additional argument ENTRY_AS. Update use of cap_copy to be consistent with new API. * cap.h (cap_set): Update use of cap_copy to be consistent with new API. * thread.c (thread_exregs): Update use of cap_copy and cap_copy_x to be consistent with new API. * as.h (as_slot_ensure_full): New declaration. ruth/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Update use of rm_cap_read to be consistent with new API.
Diffstat (limited to 'viengoos/cap.h')
-rw-r--r--viengoos/cap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/viengoos/cap.h b/viengoos/cap.h
index bc0694f..4780711 100644
--- a/viengoos/cap.h
+++ b/viengoos/cap.h
@@ -33,7 +33,9 @@ static inline bool
cap_set (struct activity *activity, struct cap *target, struct cap source)
{
/* This is kosher as we know the implementation of CAP_COPY. */
- return cap_copy (activity, ADDR_VOID, target, ADDR_VOID, source, ADDR_VOID);
+ return cap_copy (activity,
+ ADDR_VOID, target, ADDR_VOID,
+ ADDR_VOID, source, ADDR_VOID);
}
/* Invalidate all mappings that may depend on this object. */