diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-10 22:11:11 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-10 22:11:11 +0200 |
commit | 9393fb33d0405cfb99449241139413f0aae6f4f0 (patch) | |
tree | e1e8fe2a5710e758607e771da109256360dc4660 /tmpfs | |
parent | b14e0100f5295abd950eef636fa16df181504401 (diff) | |
download | hurd-9393fb33d0405cfb99449241139413f0aae6f4f0.tar.gz hurd-9393fb33d0405cfb99449241139413f0aae6f4f0.tar.bz2 hurd-9393fb33d0405cfb99449241139413f0aae6f4f0.zip |
Update to the improved memory_object_create proxy RPC
Thus avoiding two RPCs.
Diffstat (limited to 'tmpfs')
-rw-r--r-- | tmpfs/node.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tmpfs/node.c b/tmpfs/node.c index ed04a8df..86e02fea 100644 --- a/tmpfs/node.c +++ b/tmpfs/node.c @@ -572,7 +572,8 @@ diskfs_get_filemap (struct node *np, vm_prot_t prot) vm_size_t len = ~0; err = memory_object_create_proxy (mach_task_self (), VM_PROT_READ | VM_PROT_EXECUTE, - &np->dn->u.reg.memobj, 1, + &np->dn->u.reg.memobj, + MACH_MSG_TYPE_COPY_SEND, 1, &offset, 1, &start, 1, &len, 1, &right); if (err) |