Open System Services Programmer's Guide

Access Check Algorithm...................................................................................................266
ACL Operations Supported...............................................................................................266
ACL Interaction with stat()..................................................................................................266
ACL Interaction with chmod().............................................................................................267
ACL Interaction with chown().............................................................................................267
OSS Network File System (NFS) and ACLs...........................................................................267
Header file.....................................................................................................................268
Example Program For ACLs...............................................................................................268
Restricted-Access Filesets and File Privileges..............................................................................270
Restricted-Access Filesets...................................................................................................271
File Privilege File Attribute.................................................................................................272
OSS SEEP Programming........................................................................................................274
OSS SEEP Management...................................................................................................274
OSS SEEP Consultation.....................................................................................................275
OSS SEEP System and Library Calls....................................................................................276
Final Result of the Operation.............................................................................................277
OSS SEEP Interprocess-Communication Messages................................................................279
OSS SEEP Design............................................................................................................283
OSS SEEP-Related EMS Events...........................................................................................283
11 64-Bit Support in OSS and Guardian......................................................285
Features of 64-Bit Support......................................................................................................285
64-Bit OSS Processes............................................................................................................286
Process Type Attribute.......................................................................................................287
New PROCESS_GETINFOLIST_ Attributes............................................................................287
New PROCESSOR_GETINFOLIST_ Attribute.........................................................................288
64-Bit Heap and 32-Bit Heap for 64-Bit OSS Processes.........................................................289
ILP32 and LP64 Data Models............................................................................................289
Sharing Memory Between 32-Bit and 64-Bit Processes...............................................................290
C/C++ Language Features Supporting 64-Bit Addressing..........................................................292
32-Bit and 64-Bit Applications Constraints................................................................................292
64-Bit Support for OSS and Guardian APIs..............................................................................292
Changed OSS Functions...................................................................................................292
32-Bit and 64-Bit Public DLLs.............................................................................................293
Neutral Public DLLs...........................................................................................................293
SQL/MX.........................................................................................................................293
New OSS Function in YPUTDLL..........................................................................................294
New Guardian Procedures and OSS Functions....................................................................294
Guardian Procedures Callable from 64-Bit OSS Processes.....................................................295
OSS Functions Callable from 32-bit Processes Using 64-bit Pointers.........................................297
32-Bit and 64-Bit Object Files.................................................................................................297
Linker Object Files............................................................................................................297
Data Models for Object Files.............................................................................................298
Mixed Data-Model Programming............................................................................................299
New Pointer Modifiers......................................................................................................299
New pragma Directives....................................................................................................300
Mixed Data-Model Prototypes in cextdecs.h.........................................................................300
Mixed Data-Model Programming Example..........................................................................300
New C/C++ builtins........................................................................................................301
New OSS String Manipulation Functions.............................................................................302
File and Socket I/O APIs 32-Bit Support for 64-Bit Segments..................................................302
64-Bit Data Types and Data Structures Changes.......................................................................303
64-Bit Data Types Changes...............................................................................................303
64-Bit Data Structures Changes and Additions.....................................................................305
New 64-Bit Data Structures for Process Creation..................................................................306
Contents 7