summaryrefslogtreecommitdiff
path: root/exec/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/main.c')
-rw-r--r--exec/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/exec/main.c b/exec/main.c
index 4148946d..3bee8221 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -269,7 +269,9 @@ S_exec_init (struct trivfs_protid *protid,
change. */
struct trivfs_protid *cred;
- err = trivfs_open (fsys, 0, 0, 0, 0, 0, MACH_PORT_NULL, &cred);
+ err = trivfs_open (fsys,
+ iohelp_create_iouser (make_idvec (), make_idvec ()),
+ 0, MACH_PORT_NULL, &cred);
assert_perror (err);
proc_execdata_notify (procserver, ports_get_right (cred),