summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-03 22:53:20 +0000
committerRoland McGrath <roland@gnu.org>2002-05-03 22:53:20 +0000
commit14a0cff3ffdcb92b8ac874552e0c36b0b671c012 (patch)
tree3fa0a06b64abff0bb40652a279ced2f031332312
parent6d949206e081d7c5a167d67029830ed8c0e79b22 (diff)
2002-05-03 Roland McGrath <roland@frob.com>
* auth.defs (auth_user_authenticate): Add sreplyport argument. * auth_request.defs: New file.
-rw-r--r--hurd/auth.defs5
-rw-r--r--hurd/auth_request.defs36
2 files changed, 38 insertions, 3 deletions
diff --git a/hurd/auth.defs b/hurd/auth.defs
index ad80cfb5..ebb682fd 100644
--- a/hurd/auth.defs
+++ b/hurd/auth.defs
@@ -1,5 +1,5 @@
/* Definitions for the authentication server
- Copyright (C) 1991, 1992, 1993, 1994, 1996 Free Software Foundation
+ Copyright (C) 1991,92,93,94,96,2002 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -59,6 +59,7 @@ routine auth_makeauth (
the server. */
routine auth_user_authenticate (
handle: auth_t;
+ sreplyport reply: mach_port_poly_t;
rendezvous: mach_port_send_t;
out newport: mach_port_send_t);
@@ -76,5 +77,3 @@ routine auth_server_authenticate (
out auids: idarray_t;
out egids: idarray_t;
out agids: idarray_t);
-
-
diff --git a/hurd/auth_request.defs b/hurd/auth_request.defs
new file mode 100644
index 00000000..a1f9e271
--- /dev/null
+++ b/hurd/auth_request.defs
@@ -0,0 +1,36 @@
+/* Request-only side of auth interface
+ Copyright (C) 2002 Free Software Foundation, Inc.
+
+This file is part of the GNU Hurd.
+
+The GNU Hurd is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+The GNU Hurd is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with the GNU Hurd; see the file COPYING. If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+subsystem auth_reply 25000; /* must match auth.defs */
+
+#include <hurd/hurd_types.defs>
+
+skip; /* auth_getids */
+skip; /* auth_makeauth */
+
+simpleroutine auth_user_authenticate_request (
+ handle: auth_t;
+ ureplyport reply: mach_port_poly_t;
+ rendezvous: mach_port_send_t);
+
+simpleroutine auth_server_authenticate_request (
+ handle: auth_t;
+ ureplyport reply: mach_port_poly_t;
+ rendezvous: mach_port_send_t;
+ newport: mach_port_poly_t);