diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-20 04:03:39 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-20 04:03:39 +0000 |
commit | 258173b2ff624b1641148e03e7a5398aade9284f (patch) | |
tree | 0e157bf48f3b5ed507120cee6b0961c13e2dd660 | |
parent | 2165110ce825e8543fcd68607a7b13c2b900c9cd (diff) |
*** empty log message ***
-rw-r--r-- | term/ChangeLog | 6 | ||||
-rw-r--r-- | term/users.c | 15 |
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 |