Skip Menu |
 

From danw@MIT.EDU Wed Dec 31 15:00:25 1997
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id PAA17787 for <bugs@RT-11.MIT.EDU>; Wed, 31 Dec 1997 15:00:25 -0500
Received: from ANTHARIA.MIT.EDU by MIT.EDU with SMTP
id AA16484; Wed, 31 Dec 97 15:00:24 EST
Received: by antharia.MIT.EDU (950413.SGI.8.6.12/4.7) id PAA09533; Wed, 31 Dec 1997 15:00:23 -0500
Message-Id: <199712312000.PAA09533@antharia.MIT.EDU>
Date: Wed, 31 Dec 1997 15:00:23 -0500
From: danw@MIT.EDU
Reply-To: danw@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: -lkrb4 gives link warning on NetBSD (setreuid in in_tkt.c)
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 521
>Category: krb5-libs
>Synopsis: -lkrb4 gives link warning on NetBSD (setreuid in in_tkt.c)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: tlyu
>State: feedback
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Dec 31 15:01:01 EST 1997
>Last-Modified: Tue Jan 06 17:39:08 EST 1998
>Originator: Dan Winship
>Organization:
>Release: 1.0
>Environment:
NetBSD planet-zorp 1.2 NetBSD 1.2 (ATHENAOTHER) #13: Sun Nov 10 03:22:41 EST 1996 ghudson@the-light-fantastic:/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sys/arch/i386/compile/ATHENAOTHER i386

Show quoted text
>Description:
krb4/in_tkt.c uses setreuid, which is marked as deprecated in
the NetBSD libc, so any time you link a program against libkrb4,
you see:

in_tkt.o: warning: this program uses setreuid(), which is deprecated.

Show quoted text
>How-To-Repeat:
build any program that uses the krb4 libs on NetBSD

Show quoted text
>Fix:
The NetBSD setreuid man page suggests using `seteuid' if you
want to swap the real and effective uids.
Show quoted text
>Audit-Trail:

Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Tue Jan 6 17:29:51 1998
Responsible-Changed-Why:

State-Changed-From-To: open-feedback
State-Changed-By: tlyu
State-Changed-When: Tue Jan 6 17:37:19 1998
State-Changed-Why:

should be fixed...
src/lib/krb4/in_tkt.c 1.6

Show quoted text
>Unformatted: