Open System Services Programmer's Guide

Accessing Terminals From the OSS Environment...................................................................210
Blocking and Nonblocking Opens.....................................................................................210
Blocking and Nonblocking Terminal I/O............................................................................211
Terminal Parameters.........................................................................................................211
Control Characters...........................................................................................................211
Accessing Terminals From the Guardian Environment............................................................212
Using OSSTTY to Redirect Input and Output to Guardian Objects................................................214
Starting OSSTTY..............................................................................................................215
Examples of OSSTTY Usage..............................................................................................217
Printer I/O...........................................................................................................................226
Printing With the OSS API.................................................................................................226
Printing OSS Files With the Guardian API...........................................................................227
OSS I/O Management Functions............................................................................................233
Guardian I/O Management Procedures..................................................................................234
8 Using Logging Mechanisms.....................................................................236
Common and Unique Characteristics.......................................................................................236
Features Common to UNIX and OSS Logging......................................................................236
Features Unique to OSS Logging........................................................................................237
Logging Interoperability.........................................................................................................237
How to Log Information With the OSS API...............................................................................237
Specifying a Collector .....................................................................................................238
Specifying the Severity Level of Logged Events.....................................................................238
Initializing Logging Parameters..........................................................................................239
Logging a Message.........................................................................................................240
Closing a Collector .........................................................................................................242
Logging Parameters and EMS Tokens..................................................................................243
OSS Logging-Mechanism Functions.........................................................................................243
9 Using Subsystems From OSS....................................................................245
Communications Subsystems..................................................................................................245
Subsystems Supporting the Subsystem Programmatic Interface (SPI).............................................245
HP NonStop SQL/MP...........................................................................................................246
HP NonStop SQL/MX...........................................................................................................246
HP NonStop TS/MP..............................................................................................................247
HP NonStop TMF.................................................................................................................247
HP NonStop Tuxedo System...................................................................................................247
HP NonStop Distributed Computing Environment (DCE).............................................................248
Simple Network Management Protocol (SNMP)........................................................................248
10 Managing OSS Security........................................................................249
Common and Unique Characteristics.......................................................................................249
Functions Available for Security Management...........................................................................250
Security Auditing of OSS files.................................................................................................253
How to Identify an Audited file in Audit Records..................................................................253
What Operations and Objects Are Audited.........................................................................253
Considerations for File Auditing.........................................................................................255
Example of Managing file Ownership.....................................................................................256
Using OSS Access Control Lists (ACLs).....................................................................................259
Definitions.......................................................................................................................260
Access Control List Entries.................................................................................................261
ACL Notation..................................................................................................................261
Types of ACL Entries.........................................................................................................261
Optional ACL Entries........................................................................................................262
ACL Uniqueness...............................................................................................................263
ACL Inheritance...............................................................................................................263
6 Contents