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 /term/users.c | |
parent | 2165110ce825e8543fcd68607a7b13c2b900c9cd (diff) | |
download | hurd-258173b2ff624b1641148e03e7a5398aade9284f.tar.gz hurd-258173b2ff624b1641148e03e7a5398aade9284f.tar.bz2 hurd-258173b2ff624b1641148e03e7a5398aade9284f.zip |
*** empty log message ***
Diffstat (limited to 'term/users.c')
-rw-r--r-- | term/users.c | 15 |
1 files changed, 15 insertions, 0 deletions
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 |