Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001671 [Issue 8 drafts] System Interfaces Objection Error 2023-04-18 08:54 2024-06-11 09:12
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Closed   Product Version Draft 3
Name Geoff Clare
Organization The Open Group
User Reference
Section fcntl()
Page Number 902
Line Number 30778
Final Accepted Text
Summary 0001671: OFD-owned locks addition missed some changes
Description The bug 0000768 changes on the fcntl() page to add OFD-owned file locks omitted needed updates to two paragraphs that describe shared locks and exclusive locks.
Desired Action Change:
When a shared lock is set on a segment of a file, other processes shall be able to set shared locks on that segment or a portion of it. A shared lock prevents any other process from setting an exclusive lock on any portion of the protected area. A request for a shared lock shall fail if the file descriptor was not opened with read access.

An exclusive lock shall prevent any other process from setting a shared lock or an exclusive lock on any portion of the protected area. A request for an exclusive lock shall fail if the file descriptor was not opened with write access.
to:
When a shared lock is set on a segment of a file, other processes can set shared process-owned locks, and other open file descriptions can be used to set shared OFD-owned locks, on that segment or a portion of it. A shared process-owned lock shall prevent any other process from setting an exclusive process-owned lock, and shall prevent any exclusive OFD-owned lock from being set, on any portion of the protected area. A shared OFD-owned lock shall prevent any other open file description from being used to set an exclusive OFD-owned lock, and shall prevent any exclusive process-owned lock from being set, on any portion of the protected area. A request for a shared lock shall fail if the file descriptor is not open for reading.

An exclusive process-owned lock shall prevent any other process from setting a shared or exclusive process-owned lock, and shall prevent any shared or exclusive OFD-owned lock from being set, on any portion of the protected area. An exclusive OFD-owned lock shall prevent any other open file description from being used to set a shared or exclusive OFD-owned lock, and shall prevent any shared or exclusive process-owned lock from being set, on any portion of the protected area. A request for an exclusive lock shall fail if the file descriptor is not open for writing.

Tags applied_after_i8d3, issue8
Attached Files

- Relationships
related to 0000768Closed 1003.1(2013)/Issue7+TC1 add "fd-private" POSIX locks to spec 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2023-04-18 08:54 geoffclare New Issue
2023-04-18 08:54 geoffclare Name => Geoff Clare
2023-04-18 08:54 geoffclare Organization => The Open Group
2023-04-18 08:54 geoffclare Section => fcntl()
2023-04-18 08:54 geoffclare Page Number => 902
2023-04-18 08:54 geoffclare Line Number => 30778
2023-04-18 08:56 geoffclare Relationship added related to 0000768
2023-06-12 15:49 Don Cragun Status New => Resolved
2023-06-12 15:49 Don Cragun Resolution Open => Accepted
2023-06-12 15:49 Don Cragun Tag Attached: issue8
2023-07-03 10:48 geoffclare Status Resolved => Applied
2023-07-03 10:48 geoffclare Tag Attached: applied_after_i8d3
2024-06-11 09:12 agadmin Status Applied => Closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker