- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Itanium port question
Operating System - OpenVMS
1752579
Members
3420
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-12-2006 10:10 AM
тАО07-12-2006 10:10 AM
Itanium port question
I have a situation similar to item 26 of the Application checklist in the "HP OpenVMS Porting Applications from HP OpenVMS Alpha to HP OpenVMS Industry standard 64 for integrity servers".
The code does not link against sys$base_image but defines offsets to the PCB and uses this in a CMKRL system service.
One of the uses of this code is to create a detached process in the context of another user. There are other uses that I have not looked into yet.
These offsets are defined to be version specific and the code only handled until 7.3. We are preparing to move to Itanium, so I tried to bring up the application on an 8.2 Alpha, and I only happened to notice this code when the OS started crashing. I got this offset for the 8.2 but I understand this is very different on Itanium.
I tried to look up the map file on a test drive Itanium box and discovered this.
Though I am posting this as an Itanium port question, I am looking for information to rewrite this code so as not to use the cmkrnl.
I saw the $persona... routines in the system services reference manual but I do not find information about when these routines are used.
Back in the V4.5/4.6 days we used to have an initial section about global sections/event flags etc. in the system service reference manual, before going into the details of calling standard. I am looking for that sort of information about the $personal routines. I would very much appreciate if someone could point me to this information.
Thanks,
Malleka
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 01:38 PM
тАО07-12-2006 01:38 PM
Re: Itanium port question
Malleka,
The persona services are intended as a mechanism for a privileged user to perform some action on behalf of another user, obeying the privilege, access and quota limits of the client user.
This sounds like what you're trying to achieve with your direct access to the PCB, so persona services are likely to be a cleaner and safer alternative.
You'll probably need to rearchitect your code from the ground up, but it's likely to be significantly simpler, and architecture and version independent. The basic model is to $PERSONA_CREATE to create a persona for your target user, then $PERSONA_ASSUME to "become" that user (that's not entirely correct, but it's close). You then do whatever it is you need to do on behalf of that user, then revert to your "natural" persona.
See the $PERSONA services in the System Services Reference Manual, and also the section on Personas in HP OpenVMS Programming Concepts Manual
The persona services are intended as a mechanism for a privileged user to perform some action on behalf of another user, obeying the privilege, access and quota limits of the client user.
This sounds like what you're trying to achieve with your direct access to the PCB, so persona services are likely to be a cleaner and safer alternative.
You'll probably need to rearchitect your code from the ground up, but it's likely to be significantly simpler, and architecture and version independent. The basic model is to $PERSONA_CREATE to create a persona for your target user, then $PERSONA_ASSUME to "become" that user (that's not entirely correct, but it's close). You then do whatever it is you need to do on behalf of that user, then revert to your "natural" persona.
See the $PERSONA services in the System Services Reference Manual, and also the section on Personas in HP OpenVMS Programming Concepts Manual
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 09:03 PM
тАО07-12-2006 09:03 PM
Re: Itanium port question
It's surprising what priviledged code does work on Itanium but in this case it sounds like you should move to using the persona services.
Start with
http://h71000.www7.hp.com/doc/82FINAL/5841/5841pro_090.html#index_x_2378
Start with
http://h71000.www7.hp.com/doc/82FINAL/5841/5841pro_090.html#index_x_2378
____________________
Purely Personal Opinion
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2006 08:24 AM
тАО07-13-2006 08:24 AM
Re: Itanium port question
Thanks for the information, exactly what I needed.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP