[2849] in Kerberos-V5-bugs
krb5-libs/521: -lkrb4 gives link warning on NetBSD (setreuid in in_tkt.c)
daemon@ATHENA.MIT.EDU (danw@MIT.EDU)
Wed Dec 31 15:01:24 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, danw@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
>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: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Dec 31 15:01:01 EST 1997
>Last-Modified:
>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
>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.
>How-To-Repeat:
build any program that uses the krb4 libs on NetBSD
>Fix:
The NetBSD setreuid man page suggests using `seteuid' if you
want to swap the real and effective uids.
>Audit-Trail:
>Unformatted: