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
0001187 [1003.1(2016)/Issue7+TC2] System Interfaces Editorial Enhancement Request 2018-02-07 00:48 2018-02-07 00:48
Reporter nsz View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Szabolcs Nagy
Organization musl libc
User Reference
Section sigaltstack
Page Number
Line Number
Interp Status ---
Final Accepted Text
Summary 0001187: sigaltstack ss->ss_flags cannot contain extension flags
Description The way sigaltstack is specified currently, the caller can only set
ss->ss_flags to SS_DISABLE or 0, other values shall fail with EINVAL.

This makes extensions, such as SS_AUTODISARM on linux, non-conforming
http://man7.org/linux/man-pages/man2/sigaltstack.2.html [^]
even though posix usually allows such extension flags with implementation
defined behaviour so it is easy to add new features.
Desired Action allow other flags than SS_DISABLE, e.g. change

The sigaltstack() function shall fail if:

    [EINVAL]
        The ss argument is not a null pointer, and the ss_flags member pointed to by ss contains flags other than SS_DISABLE.

to

The sigaltstack() function shall fail if:

    [EINVAL]
        The ss argument is not a null pointer, and the ss_flags member pointed to by ss has SS_ONSTACK or invalid flags set.

or just change "shall" to "may".
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-02-07 00:48 nsz New Issue
2018-02-07 00:48 nsz Name => Szabolcs Nagy
2018-02-07 00:48 nsz Organization => musl libc
2018-02-07 00:48 nsz Section => sigaltstack


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