summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storeio/storeio.c12
-rw-r--r--trans/null.c11
2 files changed, 0 insertions, 23 deletions
diff --git a/storeio/storeio.c b/storeio/storeio.c
index 63ad0b3d..67a6ecb7 100644
--- a/storeio/storeio.c
+++ b/storeio/storeio.c
@@ -205,18 +205,6 @@ check_open_hook (struct trivfs_control *trivfs_control,
return err;
}
-error_t
-trivfs_S_file_check_access (struct trivfs_protid *cred,
- mach_port_t reply, mach_msg_type_name_t reply_type,
- int *allowed)
-{
- if (! cred)
- return EOPNOTSUPP;
- else
- return file_check_access (cred->realnode, allowed);
- return 0;
-}
-
static error_t
open_hook (struct trivfs_peropen *peropen)
{
diff --git a/trans/null.c b/trans/null.c
index 23b69646..13e7a439 100644
--- a/trans/null.c
+++ b/trans/null.c
@@ -102,17 +102,6 @@ trivfs_goaway (struct trivfs_control *fsys, int flags)
{
exit (0);
}
-
-error_t
-trivfs_S_file_check_access (struct trivfs_protid *cred,
- mach_port_t reply, mach_msg_type_name_t reply_type,
- int *allowed)
-{
- if (! cred)
- return EOPNOTSUPP;
- else
- return file_check_access (cred->realnode, allowed);
-}
/* Return objects mapping the data underlying this memory object. If
the object can be read then memobjrd will be provided; if the