From 14a0cff3ffdcb92b8ac874552e0c36b0b671c012 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 3 May 2002 22:53:20 +0000 Subject: 2002-05-03 Roland McGrath * auth.defs (auth_user_authenticate): Add sreplyport argument. * auth_request.defs: New file. --- hurd/auth.defs | 5 ++--- hurd/auth_request.defs | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 hurd/auth_request.defs (limited to 'hurd') 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 + +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); -- cgit v1.2.3