Minutes of the 8 August 2012 Teleconference Austin-569 Page 1 of 1 Submitted by Andrew Josey, The Open Group. 9 August, 2012 Attendees Mark Brown, IBM, TOG OR Andrew Josey, The Open Group Don Cragun, PASC OR Joerg Schilling, Fraunhofer Society Nick Stoughton, USENIX, ISO/IEC OR Jim Pugsley, Oracle Eric Blake, Red Hat Geoff Clare, The Open Group * General News - IEEE balloting News The ballot closes next week, a small number of ballots are yet to be received, although the minimum return has been met. On the comment from Piotr Karocki received in the ballot, it was agreed that it is out of scope for TC1. Andrew was actioned to convey a message pointing to bug 293 where we have already considered very similar questions and proposed a solution for Issue 8 (namely, that Unicode normalization may but not must occur, and that EINVAL may be used to reject names that are not in a normalized form), but which was not in scope for inclusion in this TC1. (action completed during meeting) - Interpretations It was noted that the comment period for the current batch of interpretations ends on August 16. * Old Business The open items were not discussed at this meeting but are retained for the next meeting. +Bug 0000561: NUL-termination of sun_path in Unix sockets OPEN http://austingroupbugs.net/view.php?id=561 We agreed to leave this open as Eric plans to update the proposal. +mbsnrtowcs() discussion OPEN We agreed to leave this open as Nick plans to file a defect report. +Bug 0000573: Please add '+' to the portable filename character set OPEN http://austingroupbugs.net/view.php?id=573 Joerg has an action to prepare a proposed change. Bug 0000592: consistent use of struct timespec OPEN http://austingroupbugs.net/view.php?id=592 This item needs further investigation of existing implementations. * Current Business Bug 0000582: uselocale(0) is poorly specified Accepted as Marked. http://austingroupbugs.net/view.php?id=582 This is a proposed interpretation in progress. A minor update has been proposed to the wording. This has been reflected by the update to bugnote 1265. As this is a minor change, the review is still planned to complete on August 16. Bug 0000594: Clarify interaction of si_status and WIF* macros Accepted as Marked http://austingroupbugs.net/view.php?id=594 This item was reopened after the last meeting. Two actions were completed from last time. Bugnote 1317 has been updated based on the input in Bugnote 1318. An interpretation is required. This issue is tagged for TC2-2008 Interpretation response: The standard is clear that si_status contains an exit value or a signal; it is not encoded in the same manner as the status returned by wait(). However, the standard is unclear about when si_status contains an exit status and when it contains a signal, and no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor. Rationale: None. Notes to the Editor (not part of this interpretation): At page 334 line 11164 Change the "Value" for "int si_status" to If si_code is equal to CLD_EXITED, then si_status holds the exit value of the process; otherwise, it is equal to the signal that caused the process to change state. The exit value in si_status shall be equal to the full exit value (that is, the value passed to _exit(), _Exit() or exit(), or returned from main()); it shall not be limited to the least significant eight bits of the value. Cross-volume changes to XSH... At page 545 line 18913 section _Exit() and page 785 line 26213 section exit() change: the least significant 8 bits (that is, status & 0377) shall be available to a waiting parent process to: the least significant 8 bits (that is, status & 0377) shall be available from wait() and waitpid(); the full value shall be available from waitid() and in the siginfo_t passed to a signal handler for SIGCHLD. At page 545 line 18925 section _Exit() change: If the parent process of the calling process is executing a wait(), waitid(), or waitpid(), [XSI]and has neither set its SA_NOCLDWAIT flag nor set SIGCHLD to SIG_IGN,[/XSI] it shall be notified of termination of the calling process and the low-order eight bits (that is, bits 0377) of status shall be made available to it. If the parent is not waiting, the child’s status shall be made available to it when the parent subsequently executes wait(), waitid(), or waitpid(). The semantics of the waitid() function shall be equivalent to wait(). to: If the parent process of the calling process is executing a wait(), waitid(), or waitpid(), [XSI]and has neither set its SA_NOCLDWAIT flag nor set SIGCHLD to SIG_IGN,[/XSI] it shall be notified of termination of the calling process and the child's status shall be made available to it. If the parent is not waiting, the child’s status shall be made available to it when the parent subsequently executes wait(), waitid(), or waitpid(). At page 545 line 18936 section _Exit() delete: The semantics of the waitid() function shall be equivalent to wait(). Bug 0000597: exit() incorrectly claims that the exit code is masked by 0377 Duplicate of 594 http://austingroupbugs.net/view.php?id=594 This item is marked as a duplicate of 594 Bug 0000593: posix_typed_mem_open requires the use of Accepted as Marked http://austingroupbugs.net/view.php?id=593 Eric had completed his action in bugnote 1319. This item was tagged for Issue 8. An interpretation is required. The intention is to flag the changes for Issue 8 and also to process this as "defect case" interpretation so that Issue 7 implementations can make symbols visible in . Interpretation response: The standard states that may not expose O_* constants, and conforming implementations must conform to this by also including . However, concerns have been raised about this which are being referred to the sponsor. Rationale: There is a desire to make headers self-contained for proper use of an interface. Notes to the Editor (not part of this interpretation): Make the following edits (assuming that the edits in 0000411 will also be made): After line 9854 (XBD DESCRIPTION), insert the following paragraph: The header shall define O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_EXCL, and O_NONBLOCK as described in . After line 10879 (XBD DESCRIPTION), insert the following paragraph: The header shall define O_CREAT and O_EXCL as described in . After line 11971 (XBD DESCRIPTION), insert the following paragraph with XSI shading: The header shall define O_CLOEXEC, O_NOCTTY, and O_RDWR as described in . At line 12042 (XBD DESCRIPTION), change: Inclusion of the header may also make visible all symbols from , , , and . to this (still CX shaded): Inclusion of the header may also make visible all symbols from , , , , and . After line 12468 (XBD DESCRIPTION), insert the following paragraph, with TYM and SHM shading as marked: The header shall define O_RDONLY, O_RDWR, O_WRONLY, O_CLOEXEC, O_CREAT, O_EXCL, and O_TRUNC as described in . After line 12485 (XBD DESCRIPTION), insert the following paragraph: Inclusion of the header may make visible all symbols from the header. At line 46459 (XSH posix_openpt SYNOPSIS), delete: #include At line 46467 (XSH posix_openpt DESCRIPTION), delete the phrase: defined in At line 48934 (XSH posix_typed_mem_open DESCRIPTION), delete the phrase: and defined in the header, At line 60341 (XSH shm_open DESCRIPTION), delete the phrase: defined in the header Bug 0000598: OH shading and new interfaces OPEN http://austingroupbugs.net/view.php?id=598 Eric took an action to propose a new solution with self-contained headers. Bug 576 was also discussed but left OPEN for all to consider. Next Steps ---------- The next call is on August 15 and will continue processing defect reports. This call will be for the regular 90 minutes. http://austingroupbugs.net See the calendar for the list of dialup numbers. An IRC channel will be available for the meeting irc://irc.freenode.org/austingroupbugs