| United States-English |
|
|
|
![]() |
HP Tru64 UNIX and TruCluster Server Version 5.1B-4: Patch Summary and Release Notes > Chapter 1 Enhancements, Improvements, and FeaturesNew Generic Subsystem Attribute Corrects UNIX98 Standards Violations |
|
A new tunable system attribute, std_unix98, has been added under the generic subsystem to cause the waitpid( )() and poll( )() system calls to conform to UNIX98 standard behavior. See the revised sys_attris_generic(5) reference page delivered in this kit for more information. Refer to the standards(5) reference page for more information about industry standards and associated tags. Prior to the installation of this kit, the waitpid()() system call failed to conform to the following UNIX98 requirement:
The new std_unix98 attribute enables waitpid( )() to conform to UNIX98 standard behavior. For example, consider a situation in which a calling process has multiple children and no unwaited-for child zombie and you call waitpid( )() with a specific child PID:
Prior to the installation of this kit, the poll()() system call fails to conform to the following UNIX98 requirement:
When no writes have taken place on any of the priority bands, a call to poll( )() blocks will time out and return failure. The poll( )() system call has been modified so if you need standards-compliant behavior, you can use the new std_unix98 attribute. If std_unix98 is set to a value of either 1 or 2, then the UNIX98_POLLWRBAND bit (defined as a macro in the /usr/sys/include/sys/param.h file) gets set, which results in the internal processing becoming indifferent to whichever external mapping of POLLWRBAND is in play. By default, this bit in std_unix98 is not set, so poll( )() will behave the same way as it does today. See the revised poll(2) reference page delivered in this kit. |
|||||||||||||||||||||||||
|
|||||||||||||||