diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-05-24 21:52:54 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-05-24 21:52:54 +0000 |
commit | 3820adeaa4b010360b6046234d14a17d47d24b0a (patch) | |
tree | b1b549cabb7c2f063e112ae116b30caeee4db1cc | |
parent | d72583333960f612d5bd8a6860d4ecea6f10363c (diff) |
Formerly io-restrict-auth.c.~5~
-rw-r--r-- | libtrivfs/io-restrict-auth.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libtrivfs/io-restrict-auth.c b/libtrivfs/io-restrict-auth.c index 7d4d0f7a..7f24b2a2 100644 --- a/libtrivfs/io-restrict-auth.c +++ b/libtrivfs/io-restrict-auth.c @@ -20,21 +20,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ #include "priv.h" +#include "io_S.h" -error_t -trivfs_S_io_restrict_auth (struct protid *cred, +kern_return_t +trivfs_S_io_restrict_auth (struct trivfs_protid *cred, mach_port_t *newport, mach_msg_type_name_t *newporttype, uid_t *uids, u_int nuids, uid_t *gids, u_int ngids) { - struct protid *newcred; + struct trivfs_protid *newcred; int i; if (!cred) return EOPNOTSUPP; - newcred = ports_allocate_port (sizeof (struct protid), + newcred = ports_allocate_port (sizeof (struct trivfs_protid), trivfs_protid_porttype); newcred->isroot = 0; newcred->cntl = cred->cntl; |