From fbd884a80d35bad7d69410096e3ab186783dd038 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 27 Feb 2001 08:39:07 +1100 Subject: - (djm) Fix up POSIX saved uid support. Report from Mark Miller - (djm) Search for -lcrypt on FreeBSD too --- uidswap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uidswap.c') diff --git a/uidswap.c b/uidswap.c index 8b7f535b..bdfa484f 100644 --- a/uidswap.c +++ b/uidswap.c @@ -26,13 +26,13 @@ RCSID("$OpenBSD: uidswap.c,v 1.13 2001/01/21 19:06:01 markus Exp $"); * POSIX saved uids or not. */ -#ifdef _POSIX_SAVED_IDS +#if defined(_POSIX_SAVED_IDS) && !defined(BROKEN_SAVED_UIDS) /* Lets assume that posix saved ids also work with seteuid, even though that is not part of the posix specification. */ #define SAVED_IDS_WORK_WITH_SETEUID /* Saved effective uid. */ static uid_t saved_euid = 0; -#endif /* _POSIX_SAVED_IDS */ +#endif /* * Temporarily changes to the given uid. If the effective user -- cgit v1.2.1