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
0001574 [1003.1(2013)/Issue7+TC1] System Interfaces Editorial Error 2022-03-22 23:11 2024-06-11 08:53
Reporter alanc View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Closed  
Name Alan Coopersmith
Organization
User Reference
Section unlinkat
Page Number (page or range of pages)
Line Number (Line or range of lines)
Interp Status ---
Final Accepted Text Note: 0005815
Summary 0001574: EPERM condition does not match unlinkat description
Description The combined unlink/unlinkat description states that unlinkat shall behave
the same as rmdir if AT_REMOVEDIR is specified, but the errors section lists
EPERM for both functions if a directory is specified.
Desired Action In the Errors list, under "These functions shall fail and shall not unlink the file if:" remove:

[EPERM]
    The file named by path is a directory, and either the calling process
    does not have appropriate privileges, or the implementation prohibits
    using unlink() on directories.


Add a new section under errors:

The unlink() function shall fail and shall not unlink the file if:

[EPERM]
    The file named by path is a directory, and either the calling process
    does not have appropriate privileges, or the implementation prohibits
    using unlink() on directories.


Add a new entry in the "The unlinkat() function shall fail if:"

[EPERM]
    The file named by path is a directory, the AT_REMOVEDIR flag was not
    set in the flag parameter, and either the calling process
    does not have appropriate privileges, or the implementation prohibits
    using unlink() on directories.


(Also, should that section say "shall fail and shall not unlink the file if"
 like the others here?)
Tags tc3-2008
Attached Files

- Relationships

-  Notes
(0005815)
geoffclare (manager)
2022-04-21 16:28

Make the changes in the desired action, including the final parenthetical part.

- Issue History
Date Modified Username Field Change
2022-03-22 23:11 alanc New Issue
2022-03-22 23:11 alanc Name => Alan Coopersmith
2022-03-22 23:11 alanc Section => unlinkat
2022-03-22 23:11 alanc Page Number => (page or range of pages)
2022-03-22 23:11 alanc Line Number => (Line or range of lines)
2022-04-21 16:28 geoffclare Note Added: 0005815
2022-04-21 16:29 geoffclare Interp Status => ---
2022-04-21 16:29 geoffclare Final Accepted Text => Note: 0005815
2022-04-21 16:29 geoffclare Status New => Resolved
2022-04-21 16:29 geoffclare Resolution Open => Accepted As Marked
2022-04-21 16:29 geoffclare Tag Attached: tc3-2008
2022-05-23 11:39 geoffclare Status Resolved => Applied
2024-06-11 08:53 agadmin Status Applied => Closed


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