Previous Topic: Internal Diagnose CodesNext Topic: Sample Diagnose Limiting Rule Set


POSIX Diagnose Calls

In Portable Operating Systems Interface for Computing Environments (POSIX), CP lets users inquire on the contents of the POSIX database through new CP diagnose calls. These calls extract POSIX database runtime information or issue setid() requests.

These new CP diagnose calls are:

x'2A4' - get a PID from CP
x'29C' - set POSIX IDs (plist SPXBK)
           setuid()
           seteuid()
           setgid()
           setegid()
           newgrp - shell utility
x'2A0' - query POSIX IDs (plist QPXBK)
           query process attributes
           query user database
           query group database
           query SGIDs for process or user
           query POSIX config info