summaryrefslogtreecommitdiff
path: root/viengoos/cap-lookup.c
diff options
context:
space:
mode:
authorneal <neal>2008-05-28 14:56:43 +0000
committerneal <neal>2008-05-28 14:56:43 +0000
commit423bc1f0a791c8f2c0f1ea0cb0da79b140949424 (patch)
tree3397f516f56368cb1fff458a47d8cfe43b0e06c0 /viengoos/cap-lookup.c
parentfeeaf023e4049d05eebf4b4629ce801eed5a522b (diff)
viengoos/
2008-05-28 Neal H. Walfield <neal@gnu.org> * cap-lookup.c (slot_lookup_rel): Don't take parameter type. Pass -1 to lookup in its place. * server.c (server_loop): Update use of slot_lookup_rel to be consistent with new API. * t-as.c (try): Likewise. (test): Likewise. libhurd-mm/ 2008-05-28 Neal H. Walfield <neal@gnu.org> * as.h (slot_lookup): Remove parameter type. Update users. * as.c (as_init): Update user of slot_lookup_rel to be consistent with new API. (as_init): Likewise. (slot_lookup): Likewise. Remove parameter type. ruth/ 2008-05-28 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Update use of slot_lookup to be consistent with new API.
Diffstat (limited to 'viengoos/cap-lookup.c')
-rw-r--r--viengoos/cap-lookup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/viengoos/cap-lookup.c b/viengoos/cap-lookup.c
index 719103c..6d24fef 100644
--- a/viengoos/cap-lookup.c
+++ b/viengoos/cap-lookup.c
@@ -337,14 +337,13 @@ object_lookup_rel (activity_t activity,
struct cap *
slot_lookup_rel (activity_t activity,
- struct cap *root, addr_t address,
- enum cap_type type, bool *writable)
+ struct cap *root, addr_t address, bool *writable)
{
union rt rt;
AS_LOCK;
- bool ret = lookup (activity, root, address, type, writable, want_slot, &rt);
+ bool ret = lookup (activity, root, address, -1, writable, want_slot, &rt);
AS_UNLOCK;