- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change to getlogin
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 06:51 AM
10-23-2000 06:51 AM
Change to getlogin
My company's aplication was recently impacted by a change to the functionality in the "getlogin" call. This was discovered while re-compiling our application under HPUX 11.0. Is anyone aware if HP will be distributing this same change to getlogin for the 10.x series?
TIA
Bill Capen
- Tags:
- getlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 06:57 AM
10-23-2000 06:57 AM
Re: Change to getlogin
On HP-UX 11.00 man getlogin says:
WARNINGS
Users of getlogin_r() should note getlogin_r() now conforms with the
POSIX.1c Threads standard. The old prototype of getlogin_r() is supported for compatibility with existing DCE applications only.
On HP-UX 10.20 man getlogin says:
WARNINGS
Users of getlogin_r() should also note that the prototype of this
function will change in the next release for conformance with the new
POSIX Threads standard.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 07:06 AM
10-23-2000 07:06 AM
Re: Change to getlogin
If this is the case it's not so much the O/S but the revision of the lib and / or 32/64 bit compatibility etc ...
Perhaps you could detail.
It's very unlikely HP would back port functionality to an Old O/S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 07:15 AM
10-23-2000 07:15 AM
Re: Change to getlogin
We are working with a legacy application, that was using "getlogin" to determine if a user would be allowed to perform certain functionality.
After compiling on hpux 11, 32 bit mode and attempting to execute, getlogin was consistantly returning an error condition. I opened a call with HP, and their response was that "it has been fixed to work exactly like the man page entry", specifically :
At least one of the standard input, standard output, or standard error
must be a terminal. For the first of these found that is a terminal,
a user must have logged in on that terminal, and that terminal must be
the controlling terminal of the session leader process of the calling
process's session.
We have managed to get past this issue for hpux 11, but we currently have many clients operating under hpux 10.2. My concern, is that if this is considered a "fix", that a future patch bundle may have this in it, which would bring our 10.2 clients to a halt.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 07:41 AM
10-23-2000 07:41 AM