summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/ChangeLog6
-rw-r--r--term/users.c15
2 files changed, 21 insertions, 0 deletions
diff --git a/term/ChangeLog b/term/ChangeLog
index 8a9fa491..0e7992ea 100644
--- a/term/ChangeLog
+++ b/term/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jul 19 23:46:39 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * users.c (trivfs_S_file_access): Implement locally always
+ returning all access. Eventually, this needs to do the right
+ thing when trivfs wises up wrt modes.
+
Tue Jul 16 20:49:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
* users.c (trivfs_S_io_read): Bother to set atime when
diff --git a/term/users.c b/term/users.c
index b8aa5bd5..5a72b755 100644
--- a/term/users.c
+++ b/term/users.c
@@ -514,6 +514,21 @@ trivfs_S_file_chmod (struct trivfs_protid *cred,
}
+error_t
+trivfs_S_file_access (struct trivfs_protid *cred,
+ mach_port_t reply,
+ mach_msg_type_name_t reply_type,
+ int *allowed)
+{
+ if (!cred)
+ return EOPNOTSUPP;
+
+ /* XXX Do the right thing eventually. */
+ *allowed = O_READ | O_WRITE;
+ return 0;
+}
+
+
/* Called for user writes to the terminal as described
in <hurd/io.defs>. */
error_t