From 5a49fc0097b833965c8d82900dc5021b9d5b66db Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 18 Nov 1996 23:44:07 +0000 Subject: Mon Nov 18 17:45:48 1996 Thomas Bushnell, n/BSG * exec.c (load_section): If ANYWHERE, then make sure ADDR starts out at least past the first page, so that we don't take it. Then the library can (if desired) make the page no-access. Fri Nov 15 17:34:23 1996 Thomas Bushnell, n/BSG * exec.c: Don't include any more. * main.c (S_exec_init): New arg syntax of trivfs_open. --- exec/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'exec/main.c') 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), -- cgit v1.2.3