From 258173b2ff624b1641148e03e7a5398aade9284f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sat, 20 Jul 1996 04:03:39 +0000 Subject: *** empty log message *** --- term/ChangeLog | 6 ++++++ term/users.c | 15 +++++++++++++++ 2 files changed, 21 insertions(+) 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 + + * 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 * 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 . */ error_t -- cgit v1.2.3