From f1b28539b34ae85f8a526c54249b31e083e4ad3a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 20 Mar 2000 18:14:14 +0000 Subject: 2000-03-20 Roland McGrath * main.c (trivfs_allow_open): Initialize to zero. (trivfs_support_read, trivfs_support_write): Likewise. (trivfs_support_exec): Variable removed. --- exec/main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/exec/main.c b/exec/main.c index d366d960..7bf3305d 100644 --- a/exec/main.c +++ b/exec/main.c @@ -39,10 +39,9 @@ extern error_t bfd_mach_host_arch_mach (host_t host, /* Trivfs hooks. */ int trivfs_fstype = FSTYPE_MISC; int trivfs_fsid = 0; -int trivfs_support_read = 1; -int trivfs_support_write = 1; -int trivfs_support_exec = 1; -int trivfs_allow_open = O_READ|O_WRITE|O_EXEC; +int trivfs_support_read = 0; +int trivfs_support_write = 0; +int trivfs_allow_open = 0; struct port_class *trivfs_protid_portclasses[1]; struct port_class *trivfs_cntl_portclasses[1]; @@ -229,7 +228,7 @@ S_exec_init (struct trivfs_protid *protid, { struct trivfs_protid *cred; mach_port_t right; - + err = trivfs_open (fsys, iohelp_create_iouser (make_idvec (), make_idvec ()), 0, MACH_PORT_NULL, &cred); -- cgit v1.2.3