summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-03 03:36:54 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-04-03 03:36:54 +0000
commitaf40bc6a72013e9eec74ec99e21dab9342ac9880 (patch)
tree932c4234df520c7d3e917c1c49652969e740a916
parent07739fe305472f6755a42d2ab4cd442adf44c8a0 (diff)
- (bal) mispelling in uidswap.c (portable only)
-rw-r--r--ChangeLog3
-rw-r--r--uidswap.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8cdb416af..15b7a3540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,7 @@
39 - markus@cvs.openbsd.org 2002/04/02 20:11:38 39 - markus@cvs.openbsd.org 2002/04/02 20:11:38
40 [ssh-rsa.c] 40 [ssh-rsa.c]
41 ignore SSH_BUG_SIGBLOB for ssh-rsa; #187 41 ignore SSH_BUG_SIGBLOB for ssh-rsa; #187
42 - (bal) mispelling in uidswap.c (portable only)
42 43
4320020401 4420020401
44 - (stevesk) [monitor.c] PAM should work again; will *not* work with 45 - (stevesk) [monitor.c] PAM should work again; will *not* work with
@@ -8146,4 +8147,4 @@
8146 - Wrote replacements for strlcpy and mkdtemp 8147 - Wrote replacements for strlcpy and mkdtemp
8147 - Released 1.0pre1 8148 - Released 1.0pre1
8148 8149
8149$Id: ChangeLog,v 1.2019 2002/04/03 03:03:04 mouring Exp $ 8150$Id: ChangeLog,v 1.2020 2002/04/03 03:36:54 mouring Exp $
diff --git a/uidswap.c b/uidswap.c
index bbef830eb..9b16a6b51 100644
--- a/uidswap.c
+++ b/uidswap.c
@@ -84,7 +84,7 @@ temporarily_use_uid(struct passwd *pw)
84 /* Set the effective uid to the given (unprivileged) uid. */ 84 /* Set the effective uid to the given (unprivileged) uid. */
85 if (setgroups(user_groupslen, user_groups) < 0) 85 if (setgroups(user_groupslen, user_groups) < 0)
86 fatal("setgroups: %.100s", strerror(errno)); 86 fatal("setgroups: %.100s", strerror(errno));
87#endif /* !HAVE_CYWIN */ 87#endif /* !HAVE_CYGWIN */
88#ifndef SAVED_IDS_WORK_WITH_SETEUID 88#ifndef SAVED_IDS_WORK_WITH_SETEUID
89 /* Propagate the privileged gid to all of our gids. */ 89 /* Propagate the privileged gid to all of our gids. */
90 if (setgid(getegid()) < 0) 90 if (setgid(getegid()) < 0)