summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1991-07-11 20:37:15 +0000
committerMichael I. Bushnell <mib@gnu.org>1991-07-11 20:37:15 +0000
commit2611d17c381f6b8808bb373353bd8e76be9b6ff9 (patch)
treebbc33f7d804cb7584866758bbe7be250e87dda71 /hurd
parent439ec1af9beaa2e8331d58f97ea61abd6b6c821a (diff)
Formerly auth.defs.~8~
Diffstat (limited to 'hurd')
-rw-r--r--hurd/auth.defs7
1 files changed, 6 insertions, 1 deletions
diff --git a/hurd/auth.defs b/hurd/auth.defs
index 3d74f8a3..8d02f042 100644
--- a/hurd/auth.defs
+++ b/hurd/auth.defs
@@ -25,6 +25,9 @@ subsystem auth 25000;
AUTH_IMPORTS
#endif
+type reply_port_t = MACH_MSG_TYPE_MAKE_SEND_ONCE | polymorphic
+ ctype: mach_port_t;
+
/* Given an authentication handle, return the identification. */
routine auth_getids (
handle: auth_t;
@@ -34,7 +37,7 @@ routine auth_getids (
routine auth_makeauth (
handle: auth_t;
id: idblock_t;
- out newhandle: auth_t);
+ out newhandle: mach_port_make_send_t);
/* Called by a user in a reauthentication transaction. The rendezvous
port is used to match the request up with the server's
@@ -42,6 +45,7 @@ routine auth_makeauth (
the server. */
routine auth_user_authenticate (
handle: auth_t;
+ sreplyport reply_port: reply_port_t;
rendezvous: mach_port_t;
out newport: mach_port_t);
@@ -52,6 +56,7 @@ routine auth_user_authenticate (
is returned. */
routine auth_server_authenticate (
handle: auth_t;
+ sreplyport reply_port: reply_port_t;
rendezvous: mach_port_t;
newport: mach_port_t;
out id: idblock_t);