Bug 374 - uidswap.c doesn't compile on SCO 3.2v4.2
Summary: uidswap.c doesn't compile on SCO 3.2v4.2
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: ix86 Other
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-31 05:23 AEST by Gert Doering
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gert Doering 2002-07-31 05:23:14 AEST
patch needed:

--- uidswap.c   23 Jul 2002 21:29:50 -0000      1.34
+++ uidswap.c   30 Jul 2002 19:21:20 -0000
@@ -114,8 +114,8 @@
        if (!temporarily_use_uid_effective)
                fatal("restore_uid: temporarily_use_uid not effective");

-       debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid);
 #ifdef SAVED_IDS_WORK_WITH_SETEUID
+       debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid);
        /* Set the effective uid back to the saved privileged uid. */
        if (seteuid(saved_euid) < 0)
                fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno));
Comment 1 Ben Lindstrom 2002-07-31 05:33:24 AEST
Yep, sorry.  This should be fixed in the CVS Tree.
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED