diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-27 08:39:07 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-27 08:39:07 +1100 |
commit | fbd884a80d35bad7d69410096e3ab186783dd038 (patch) | |
tree | 087729e583f7eb0dce13a0a738526ae2b6c06a2a /uidswap.c | |
parent | 0c100870ac1c271a0a3d65099777af312e71d865 (diff) | |
download | openssh-git-fbd884a80d35bad7d69410096e3ab186783dd038.tar.gz |
- (djm) Fix up POSIX saved uid support. Report from Mark Miller
<markm@swoon.net>
- (djm) Search for -lcrypt on FreeBSD too
Diffstat (limited to 'uidswap.c')
-rw-r--r-- | uidswap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |