diff options
author | neal <neal> | 2008-01-24 18:10:25 +0000 |
---|---|---|
committer | neal <neal> | 2008-01-24 18:10:25 +0000 |
commit | 00a668bbbf9d3f537275921abfe6e1144c96411a (patch) | |
tree | 9a35b2776e466f691b5de17761eafe6b8d0aed6a /viengoos/cap.h | |
parent | 424299f129bb4ae71c2304626f28679bb32f3136 (diff) |
hurd/
2008-01-24 Neal H. Walfield <neal@gnu.org>
* cap.h (cap_copy): Take additional argument ADDRESS_SPACE.
Update users.
(cap_read): Likewise.
(object_slot_copy_out): Likewise.
(object_slot_copy_in): Likewise.
(object_slot_read): Likewise.
(cap_copy_x): Likewise.
(cap_copy): Likewise.
viengoos/
2008-01-24 Neal H. Walfield <neal@gnu.org>
* server.c (SLOT_): Take additional argument root. Use it rather
than THREAD->ASPACE. Update users.
(SLOT): Likewise.
(CAP_): Likewise.
(CAP): Likewise.
(ROOT): New macro.
(server_loop): Update cap_read, object_slot_copy_out,
object_slot_copy_in, object_slot_read, cap_copy_x, and cap_copy
method implementations to new API.
* as.h (as_insert): Take additional argument AS_ROOT_ADDR.
Update users.
* as.c (as_build_internal): Take additional argument
AS_ROOT_ADDR. Pass it to cap_copy_x.
(as_slot_ensure_full): Take additional argument AS_ROOT_ADDR.
Pass it to as_build_internal.
(as_insert): Likewise.
* thread.c (thread_exregs): Update use of cap_copy to conform
with new API.
* cap.h (cap_set): Likewise.
libhurd-mm/
2008-01-24 Neal H. Walfield <neal@gnu.org>
* as.c (as_slot_ensure): Update use of as_slot_ensure_full to be
consistent with new API.
(as_alloc_slow): Update use of rm_cap_copy to be consistent with
new API.
(as_init): Likewise.
(as_walk): Likewise.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viengoos/cap.h b/viengoos/cap.h index f70484f..bc0694f 100644 --- a/viengoos/cap.h +++ b/viengoos/cap.h @@ -33,7 +33,7 @@ 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, target, ADDR_VOID, source, ADDR_VOID); + return cap_copy (activity, ADDR_VOID, target, ADDR_VOID, source, ADDR_VOID); } /* Invalidate all mappings that may depend on this object. */ |