-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
__mutex_lock (&_hurd_idlock);
if (!_hurd_id_valid)
{
- error_t err = __auth_getids (_hurd_auth, &_hurd_id);
+ error_t err = _HURD_PORT_USE (&_hurd_auth,
+ __auth_getids (port, &_hurd_id));
if (err)
{
__mutex_unlock (&_hurd_idlock);
sizeof (_hurd_id.gids[0])))
{
__mutex_unlock (&_hurd_idlock);
- errno = ENOMEM; /* ? */
+ errno = ENOMEM; /* XXX ? */
return -1;
}
else
_hurd_id.rgid = _hurd_id.gids[0];
- if (err = auth_makeauth (_hurd_auth, &_hurd_id, &newauth))
+ if (err = _HURD_PORT_USE (&_hurd_auth,
+ __auth_makeauth (port, &_hurd_id, &newauth)))
{
_hurd_id_valid = 0;
__mutex_unlock (&_hurd_idlock);