A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1274 ====================================================================== Reported By: dannyniu Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1274 Category: Base Definitions and Headers Type: Omission Severity: Editorial Priority: normal Status: New Name: DannyNiu/NJF Organization: Individual User Reference: Section: <sys/types.h> header Page Number: 402-405 Line Number: 13652-13746 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2019-07-28 10:42 UTC Last Modified: 2019-09-09 15:19 UTC ====================================================================== Summary: pid_t must fit in an int for definition of fcntl to be consistent. ======================================================================
---------------------------------------------------------------------- (0004555) eblake (manager) - 2019-09-09 15:19 http://austingroupbugs.net/view.php?id=1274#c4555 ---------------------------------------------------------------------- Per https://sourceware.org/ml/libc-alpha/2019-09/msg00037.html the glibc developers are more likely to switch the user-space <fcntl.h> to use 'int type' (which in turn matches the Linux kernel header type), which means we would need to tweak http://austingroupbugs.net/view.php?id=1274#c4536 to drop the creation of enum f_pid_type and instead focus on either enum constants or macros for the definitions of F_OWNER_PID and F_OWNERPGRP. Since POSIX would not mandate a layout (and does not require whether 'type' or 'pid' comes first in f_owner_ex), nor prohibit extensions providing other members in the struct, the sizing of any padding in the struct is also not a concern. Issue History Date Modified Username Field Change ====================================================================== 2019-07-28 10:42 dannyniu New Issue 2019-07-28 10:42 dannyniu Name => DannyNiu/NJF 2019-07-28 10:42 dannyniu Organization => Individual 2019-07-28 10:42 dannyniu Section => <sys/types.h> header 2019-07-28 10:42 dannyniu Page Number => 402-405 2019-07-28 10:42 dannyniu Line Number => 13652-13746 2019-07-28 13:49 jilles Note Added: 0004496 2019-07-29 00:52 shware_systems Note Added: 0004497 2019-07-29 09:08 geoffclare Note Added: 0004498 2019-08-15 16:37 eblake Note Added: 0004524 2019-08-15 16:52 shware_systems Note Added: 0004525 2019-08-15 16:58 eblake Note Added: 0004526 2019-08-15 19:03 shware_systems Note Added: 0004527 2019-08-15 19:32 eblake Note Added: 0004528 2019-08-15 19:33 eblake Note Edited: 0004528 2019-08-23 16:15 geoffclare Note Added: 0004536 2019-08-24 19:56 shware_systems Note Added: 0004538 2019-08-24 19:58 shware_systems Note Edited: 0004538 2019-08-27 15:31 geoffclare Note Added: 0004540 2019-08-27 16:16 shware_systems Note Added: 0004541 2019-08-27 16:17 shware_systems Note Edited: 0004541 2019-08-27 16:26 eblake Note Added: 0004542 2019-08-28 09:07 geoffclare Note Added: 0004543 2019-09-09 15:19 eblake Note Added: 0004555 ======================================================================