From DShambroom@gte.com Thu Dec 5 11:21:08 1996
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id LAA07611 for <bugs@RT-11.MIT.EDU>; Thu, 5 Dec 1996 11:21:08 -0500
Received: from ns.gte.com by MIT.EDU with SMTP
id AA16332; Thu, 5 Dec 96 11:21:07 EST
Received: from coltrane.gte.com by ns.gte.com (8.7.5/)
Received: from localhost by coltrane.gte.com (AIX 4.1/UCB 5.64/4.03)
id AA18512; Thu, 5 Dec 1996 11:18:25 -0500
Message-Id: <32A6F5D1.15FB@gte.com>
Date: Thu, 05 Dec 1996 11:18:25 -0500
From: "W. David Shambroom" <DShambroom@gte.com>
Sender: wds1%coltrane@gte.com
To: krb5-bugs@MIT.EDU
Cc: rjb1@ns.gte.com
Subject: util/pty/update_utmp.c
Therefore HAVE_SETUTXENT is defined and line 129 of
util/pty/update_utmp.c generates an unresolved external reference.
--
W. David Shambroom E-mail: DShambroom@gte.com
Software Systems Laboratory Phone: (617) 466-2584
GTE Laboratories Incorporated Fax: (617) 466-3339
Responsible-Changed-From-To: gnats-admin->hartmans
Responsible-Changed-By: tlyu
Responsible-Changed-When: Fri Dec 13 15:21:26 1996
Responsible-Changed-Why:
Refiled
From: Sam Hartman <hartmans@MIT.EDU>
To: DShambroom@gte.com
Cc: krb5-bugs@MIT.EDU, rjb1@ns.gte.com
Subject: Re: pty/276: util/pty/update_utmp.c
Date: Thu, 27 Feb 1997 10:10:59 -0500 (EST)
CSet++ 3.1.4 for AIX 4.2.0 supports setutxent() but not getutmpx().
Therefore HAVE_SETUTXENT is defined and line 129 of
util/pty/update_utmp.c generates an unresolved external reference.
I assume it's the OS that support this not the ocmpiler.
Would you mind doing a quick apropos and telling me what utmpx functions AIX does support? I do not have access to an AIX 4.2 system.
From: "W. David Shambroom" <DShambroom@gte.com>
To: Sam Hartman <hartmans@MIT.EDU>
Cc: Subject: Re: pty/276: util/pty/update_utmp.c
Date: Fri, 28 Feb 1997 14:15:16 -0500
This is a multi-part message in MIME format.
--------------500F28472C67
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sam Hartman wrote:
/usr/include/utmpx.h follows.
--
W. David Shambroom
Principal Member of Technical Staff E-mail: DShambroom@gte.com
Software Systems Laboratory Phone: (617) 466-2584
GTE Laboratories Incorporated Fax: (617) 466-3339
--------------500F28472C67
Content-Type: text/plain; charset=us-ascii; name="utmpx.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="utmpx.h"
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* bos420 src/bos/usr/include/utmpx.h */
/* */
/* Licensed Materials - Property of IBM */
/* */
/* Restricted Materials of IBM */
/* */
/* (C) COPYRIGHT International Business Machines Corp. 1995,1996 */
/* All Rights Reserved */
/* */
/* US Government Users Restricted Rights - Use, duplication or */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* IBM_PROLOG_END_TAG */
/* @(#)49 1.5 src/bos/usr/include/utmpx.h, libcadm, bos420, 9613T 3/6/96 06:15:35 */
/*
* COMPONENT_NAME: CMDOPER
*
* FUNCTIONS: UTMP_DATA_INIT
*
* ORIGINS: 27,71
*
* (C) COPYRIGHT International Business Machines Corp. 1989,1996
* All Rights Reserved
* Licensed Materials - Property of IBM
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
/*
* (c) Copyright 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
* ALL RIGHTS RESERVED
*/
#ifndef _H_UTMPX
#define _H_UTMPX
#ifndef _H_STANDARDS
#include <standards.h>
#endif
#if _XOPEN_SOURCE_EXTENDED==1
#include <sys/time.h>
struct utmpx
{
char ut_user[8] ; /* User login name */
char ut_id[14] ; /* /etc/inittab id */
char ut_line[12] ; /* device name (console, lnxx) */
short ut_type ; /* type of entry */
pid_t ut_pid ; /* process id */
struct timeval ut_tv; /* time entry was made */
char ut_host[16]; /* host id */
} ;
/* Definitions for ut_type */
#define EMPTY 0
#ifdef _ALL_SOURCE
#define RUN_LVL 1
#endif
#define BOOT_TIME 2
#define OLD_TIME 3
#define NEW_TIME 4
#define INIT_PROCESS 5 /* Process spawned by "init" */
#define LOGIN_PROCESS 6 /* A "getty" process waiting for login */
#define USER_PROCESS 7 /* A user process */
#define DEAD_PROCESS 8
#ifdef _ALL_SOURCE
#define ACCOUNTING 9
#define UTMAXTYPE ACCOUNTING /* Largest legal value of ut_type */
/* Special strings or formats used in the "ut_line" field when */
/* accounting for something other than a process. */
/* No string for the ut_line field can be more than 11 chars + */
/* a NULL in length. */
#define RUNLVL_MSG "run-level %c"
#define BOOT_MSG "system boot"
#define OTIME_MSG "old time"
#define NTIME_MSG "new time"
#endif
#ifdef _THREAD_SAFE
struct utmp_data {
int ut_fd;
long loc_utmp;
struct utmpx ubuf;
char *name;
};
#define UTMP_DATA_INIT(__s) (__s.ut_fd=-1, __s.name=UTMP_FILE)
#endif /* _THREAD_SAFE */
#ifdef _NO_PROTO
extern void endutxent();
extern struct utmpx *getutxent();
extern struct utmpx *getutxid();
extern struct utmpx *getutxline();
extern struct utmpx *pututxline();
extern void setutxent();
#ifdef _THREAD_SAFE
extern void endutxent_r();
extern int getutxent_r();
extern int getutxid_r();
extern int getutxline_r();
extern int pututxline_r();
extern void setutxent_r();
/* See comments in stdlib.h on _AIX32_THREADS */
#endif /* _THREAD_SAFE */
#else /* _NO_PROTO */
extern void endutxent(void);
extern struct utmpx *getutxent(void);
extern struct utmpx *getutxid(const struct utmpx *);
extern struct utmpx *getutxline(const struct utmpx *);
extern struct utmpx *pututxline(const struct utmpx *);
extern void setutxent(void);
#ifdef _THREAD_SAFE
extern int getutxent_r(struct utmpx **utmpx, struct utmp_data *utmp_data);
extern int getutxid_r(const struct utmpx *utent, struct utmpx **utmpx,
struct utmp_data *utmp_data);
extern int getutxline_r(const struct utmpx *utent, struct utmpx **utmpx,
struct utmp_data *utmp_data);
extern int pututxline_r(const struct utmpx *utent,
struct utmp_data *utmp_data);
extern void setutxent_r(struct utmp_data *utmp_data);
extern void endutxent_r(struct utmp_data *utmp_data);
/* See comments in stdlib.h on _AIX32_THREADS */
#endif /* _THREAD_SAFE */
#endif /* _NO_PROTO */
#endif /* _XOPEN_SOURCE_EXTENDED */
#endif /* _H_UTMPX */
--------------500F28472C67--
Reformatted PR a bit, kept confidential because of copyrighted HPUX
header. --KR 2001-09-14
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Fri Sep 28 21:32:30 2001
State-Changed-Why:
Responsible-Changed-From-To: hartmans->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Fri Sep 28 21:32:34 2001
Responsible-Changed-Why:
refiled
State-Changed-From-To: analyzed-feedback
State-Changed-By: tlyu
State-Changed-When: Fri Sep 28 21:33:05 2001
State-Changed-Why:
should be fixed by utmp reworking on trunk; will be in 1.2.3
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id LAA07611 for <bugs@RT-11.MIT.EDU>; Thu, 5 Dec 1996 11:21:08 -0500
Received: from ns.gte.com by MIT.EDU with SMTP
id AA16332; Thu, 5 Dec 96 11:21:07 EST
Received: from coltrane.gte.com by ns.gte.com (8.7.5/)
Received: from localhost by coltrane.gte.com (AIX 4.1/UCB 5.64/4.03)
id AA18512; Thu, 5 Dec 1996 11:18:25 -0500
Message-Id: <32A6F5D1.15FB@gte.com>
Date: Thu, 05 Dec 1996 11:18:25 -0500
From: "W. David Shambroom" <DShambroom@gte.com>
Sender: wds1%coltrane@gte.com
To: krb5-bugs@MIT.EDU
Cc: rjb1@ns.gte.com
Subject: util/pty/update_utmp.c
Show quoted text
>Number: 276
>Category: pty
>Synopsis: util/pty/update_utmp.c
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: feedback
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Dec 05 11:22:01 EST 1996
>Last-Modified: Fri Sep 28 21:33:28 EDT 2001
>Originator: "W. David Shambroom" <DShambroom@gte.com>
>Organization:
>Release:
>Environment:
>Description:
CSet++ 3.1.4 for AIX 4.2.0 supports setutxent() but not getutmpx(). >Category: pty
>Synopsis: util/pty/update_utmp.c
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: feedback
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Dec 05 11:22:01 EST 1996
>Last-Modified: Fri Sep 28 21:33:28 EDT 2001
>Originator: "W. David Shambroom" <DShambroom@gte.com>
>Organization:
>Release:
>Environment:
>Description:
Therefore HAVE_SETUTXENT is defined and line 129 of
util/pty/update_utmp.c generates an unresolved external reference.
--
W. David Shambroom E-mail: DShambroom@gte.com
Software Systems Laboratory Phone: (617) 466-2584
GTE Laboratories Incorporated Fax: (617) 466-3339
Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Fix:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->hartmans
Responsible-Changed-By: tlyu
Responsible-Changed-When: Fri Dec 13 15:21:26 1996
Responsible-Changed-Why:
Refiled
From: Sam Hartman <hartmans@MIT.EDU>
To: DShambroom@gte.com
Cc: krb5-bugs@MIT.EDU, rjb1@ns.gte.com
Subject: Re: pty/276: util/pty/update_utmp.c
Date: Thu, 27 Feb 1997 10:10:59 -0500 (EST)
CSet++ 3.1.4 for AIX 4.2.0 supports setutxent() but not getutmpx().
Therefore HAVE_SETUTXENT is defined and line 129 of
util/pty/update_utmp.c generates an unresolved external reference.
I assume it's the OS that support this not the ocmpiler.
Would you mind doing a quick apropos and telling me what utmpx functions AIX does support? I do not have access to an AIX 4.2 system.
From: "W. David Shambroom" <DShambroom@gte.com>
To: Sam Hartman <hartmans@MIT.EDU>
Cc: Subject: Re: pty/276: util/pty/update_utmp.c
Date: Fri, 28 Feb 1997 14:15:16 -0500
This is a multi-part message in MIME format.
--------------500F28472C67
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sam Hartman wrote:
Show quoted text
>
> CSet++ 3.1.4 for AIX 4.2.0 supports setutxent() but not getutmpx().
> Therefore HAVE_SETUTXENT is defined and line 129 of
> util/pty/update_utmp.c generates an unresolved external reference.
>
> I assume it's the OS that support this not the ocmpiler.
> Would you mind doing a quick apropos and telling me what utmpx functions AIX does support? I do not have access to an AIX 4.2 system.
> CSet++ 3.1.4 for AIX 4.2.0 supports setutxent() but not getutmpx().
> Therefore HAVE_SETUTXENT is defined and line 129 of
> util/pty/update_utmp.c generates an unresolved external reference.
>
> I assume it's the OS that support this not the ocmpiler.
> Would you mind doing a quick apropos and telling me what utmpx functions AIX does support? I do not have access to an AIX 4.2 system.
/usr/include/utmpx.h follows.
--
W. David Shambroom
Principal Member of Technical Staff E-mail: DShambroom@gte.com
Software Systems Laboratory Phone: (617) 466-2584
GTE Laboratories Incorporated Fax: (617) 466-3339
--------------500F28472C67
Content-Type: text/plain; charset=us-ascii; name="utmpx.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="utmpx.h"
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* bos420 src/bos/usr/include/utmpx.h */
/* */
/* Licensed Materials - Property of IBM */
/* */
/* Restricted Materials of IBM */
/* */
/* (C) COPYRIGHT International Business Machines Corp. 1995,1996 */
/* All Rights Reserved */
/* */
/* US Government Users Restricted Rights - Use, duplication or */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* IBM_PROLOG_END_TAG */
/* @(#)49 1.5 src/bos/usr/include/utmpx.h, libcadm, bos420, 9613T 3/6/96 06:15:35 */
/*
* COMPONENT_NAME: CMDOPER
*
* FUNCTIONS: UTMP_DATA_INIT
*
* ORIGINS: 27,71
*
* (C) COPYRIGHT International Business Machines Corp. 1989,1996
* All Rights Reserved
* Licensed Materials - Property of IBM
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
/*
* (c) Copyright 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
* ALL RIGHTS RESERVED
*/
#ifndef _H_UTMPX
#define _H_UTMPX
#ifndef _H_STANDARDS
#include <standards.h>
#endif
#if _XOPEN_SOURCE_EXTENDED==1
#include <sys/time.h>
struct utmpx
{
char ut_user[8] ; /* User login name */
char ut_id[14] ; /* /etc/inittab id */
char ut_line[12] ; /* device name (console, lnxx) */
short ut_type ; /* type of entry */
pid_t ut_pid ; /* process id */
struct timeval ut_tv; /* time entry was made */
char ut_host[16]; /* host id */
} ;
/* Definitions for ut_type */
#define EMPTY 0
#ifdef _ALL_SOURCE
#define RUN_LVL 1
#endif
#define BOOT_TIME 2
#define OLD_TIME 3
#define NEW_TIME 4
#define INIT_PROCESS 5 /* Process spawned by "init" */
#define LOGIN_PROCESS 6 /* A "getty" process waiting for login */
#define USER_PROCESS 7 /* A user process */
#define DEAD_PROCESS 8
#ifdef _ALL_SOURCE
#define ACCOUNTING 9
#define UTMAXTYPE ACCOUNTING /* Largest legal value of ut_type */
/* Special strings or formats used in the "ut_line" field when */
/* accounting for something other than a process. */
/* No string for the ut_line field can be more than 11 chars + */
/* a NULL in length. */
#define RUNLVL_MSG "run-level %c"
#define BOOT_MSG "system boot"
#define OTIME_MSG "old time"
#define NTIME_MSG "new time"
#endif
#ifdef _THREAD_SAFE
struct utmp_data {
int ut_fd;
long loc_utmp;
struct utmpx ubuf;
char *name;
};
#define UTMP_DATA_INIT(__s) (__s.ut_fd=-1, __s.name=UTMP_FILE)
#endif /* _THREAD_SAFE */
#ifdef _NO_PROTO
extern void endutxent();
extern struct utmpx *getutxent();
extern struct utmpx *getutxid();
extern struct utmpx *getutxline();
extern struct utmpx *pututxline();
extern void setutxent();
#ifdef _THREAD_SAFE
extern void endutxent_r();
extern int getutxent_r();
extern int getutxid_r();
extern int getutxline_r();
extern int pututxline_r();
extern void setutxent_r();
/* See comments in stdlib.h on _AIX32_THREADS */
#endif /* _THREAD_SAFE */
#else /* _NO_PROTO */
extern void endutxent(void);
extern struct utmpx *getutxent(void);
extern struct utmpx *getutxid(const struct utmpx *);
extern struct utmpx *getutxline(const struct utmpx *);
extern struct utmpx *pututxline(const struct utmpx *);
extern void setutxent(void);
#ifdef _THREAD_SAFE
extern int getutxent_r(struct utmpx **utmpx, struct utmp_data *utmp_data);
extern int getutxid_r(const struct utmpx *utent, struct utmpx **utmpx,
struct utmp_data *utmp_data);
extern int getutxline_r(const struct utmpx *utent, struct utmpx **utmpx,
struct utmp_data *utmp_data);
extern int pututxline_r(const struct utmpx *utent,
struct utmp_data *utmp_data);
extern void setutxent_r(struct utmp_data *utmp_data);
extern void endutxent_r(struct utmp_data *utmp_data);
/* See comments in stdlib.h on _AIX32_THREADS */
#endif /* _THREAD_SAFE */
#endif /* _NO_PROTO */
#endif /* _XOPEN_SOURCE_EXTENDED */
#endif /* _H_UTMPX */
--------------500F28472C67--
Reformatted PR a bit, kept confidential because of copyrighted HPUX
header. --KR 2001-09-14
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Fri Sep 28 21:32:30 2001
State-Changed-Why:
Responsible-Changed-From-To: hartmans->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Fri Sep 28 21:32:34 2001
Responsible-Changed-Why:
refiled
State-Changed-From-To: analyzed-feedback
State-Changed-By: tlyu
State-Changed-When: Fri Sep 28 21:33:05 2001
State-Changed-Why:
should be fixed by utmp reworking on trunk; will be in 1.2.3
Show quoted text
>Unformatted: