Anonymous | Login | 2024-10-15 00:45 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 | ||
0001666 | [Issue 8 drafts] System Interfaces | Objection | Error | 2023-04-13 09:50 | 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 | getresgid(), getresuid() | ||||||
Page Number | 1170, 1171 | ||||||
Line Number | 40031, 40061 | ||||||
Final Accepted Text | |||||||
Summary | 0001666: getresgid() and getresuid() are missing "restrict" | ||||||
Description |
These functions modify multiple values of the same type via pointers passed as arguments, and there is no reason to allow applications to pass the same pointer value in two or more arguments, so the functions should have "restrict" in their prototypes. |
||||||
Desired Action |
On page 470 line 16562,16563 section <unistd.h>, change:to:int getresgid(gid_t *, gid_t *, gid_t *); int getresuid(uid_t *, uid_t *, uid_t *); int getresgid(gid_t *restrict, gid_t *restrict, gid_t *restrict); int getresuid(uid_t *restrict, uid_t *restrict, uid_t *restrict); On page 1170 line 40031 section getresgid(), change: to:int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); int getresgid(gid_t *restrict rgid, gid_t *restrict egid, gid_t *restrict sgid); On page 1171 line 40061 section getresgid(), change: to:int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); int getresuid(uid_t *restrict ruid, uid_t *restrict euid, uid_t *restrict suid); |
||||||
Tags | applied_after_i8d3, issue8 | ||||||
Attached Files | |||||||
|
Relationships | |||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |