Anonymous | Login | 2024-09-07 13:34 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001087 | [1003.1(2016/18)/Issue7+TC2] System Interfaces | Objection | Error | 2016-10-14 05:07 | 2024-06-11 09:09 | ||
Reporter | philip-guenther | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | Philip Guenther | ||||||
Organization | OpenBSD | ||||||
User Reference | |||||||
Section | truncate | ||||||
Page Number | 2178 | ||||||
Line Number | 69754 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0001087: truncate() should behave like write() and generate SIGXFSZ for the thread instead of the process | ||||||
Description |
Lines 69753-69754 say: If the request would cause the file size to exceed the soft file size limit for the process, the request shall fail and the implementation shall generate the SIGXFSZ signal for the process. This is inconsistent with the requirement on write(): If the request would cause the file size to exceed the soft file size limit for the process and there is no room for any bytes to be written, the request shall fail and the implementation shall generate the SIGXFSZ signal for the thread. As well as XSH section 2.4.1: Signals which are generated by some action attributable to a particular thread, such as a hardware fault, shall be generated for the thread that caused the signal to be generated. |
||||||
Desired Action |
Change lines 69753-69754 from: If the request would cause the file size to exceed the soft file size limit for the process, the request shall fail and the implementation shall generate the SIGXFSZ signal for the process. to: If the request would cause the file size to exceed the soft file size limit for the process, the request shall fail and the implementation shall generate the SIGXFSZ signal for the thread. |
||||||
Tags | tc3-2008 | ||||||
Attached Files | |||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |