NetBSD Problem Report #24

From gnats  Mon Oct 11 15:19:56 1993
Received: from localhost (jtc@localhost) by sun-lamp.cs.berkeley.edu (8.3/8.3) id PAA12936; Mon, 11 Oct 1993 15:19:56 -0700
Message-Id: <199310112219.PAA12936@sun-lamp.cs.berkeley.edu>
Date: Mon, 11 Oct 1993 15:19:56 -0700
From: "J.T. Conklin" <jtc>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: setlogin/getlogin use variable _logname_valid

>Number:         24
>Category:       lib
>Synopsis:       setlogin/getlogin use variable _logname_valid
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 11 15:20:01 +0000 1993
>Closed-Date:    Mon Dec 20 11:05:54 +0000 1993
>Last-Modified:  
>Originator:     J.T. Conklin
>Release:        NetBSD-0.9
>Organization:
Winning Strategies, Inc.
>Environment:

System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP#6 i386

>Description:
	The setlogin and getlogin functions use global variable _logname_valid
	to communicate with each other, but this variable name is in the 
	user's namespace.

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Mon Dec 20 11:05:54 1993
State-Changed-Why:
Renamed _logname_valid to __logname_valid to move it out of the user's 
namespace.

>Unformatted:
 To: gnats-bugs@sun-lamp.cs.berkeley.edu
 Subject: setlogin/getlogin use variable _logname_valid
 From: jtc@sun-lamp.cs.berkeley.edu
 Reply-To: jtc@sun-lamp.cs.berkeley.edu
 X-send-pr-version: 3.01

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.