Austin Group Defect Tracker

Aardvark Mark III

Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001238 [1003.1(2016)/Issue7+TC2] System Interfaces Objection Error 2019-03-16 09:52 2019-03-16 09:52
Reporter kre View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Robert Elz
User Reference
Section shmat
Page Number 1940
Line Number 62499
Interp Status ---
Final Accepted Text
Summary 0001238: shmat() used the word "it" with an ambiguous antecedent
Description The standard specifies:

  • The segment is attached for reading if (shmflg &SHM_RDONLY) is non-zero and the
    calling process has read permission; otherwise, if it is 0 and the calling proce
    ss has read and write permission, the segment is attached for reading and writin

The it which might be 0 could refer to any of

  • The segment

  • (shmflg &SHM_RDONLY)

  • the calling process

Desired Action Two possible solutions appear reasonable.

Pick one:

  1. In line 62499 in page 1940 change the wording

    if it is 0


    if (shmflg &SHM_RDONLY) is 0

  2. Delete all of pages 1940 to 1947 (inclusive).

Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-03-16 09:52 kre New Issue
2019-03-16 09:52 kre Name => Robert Elz
2019-03-16 09:52 kre Section => shmat
2019-03-16 09:52 kre Page Number => 1940
2019-03-16 09:52 kre Line Number => 62499

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