This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: C11 threads ABI questions - enum values
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Rich Felker <dalias at libc dot org>
- Cc: Roland McGrath <roland at hack dot frob dot com>, <libc-alpha at sourceware dot org>
- Date: Fri, 3 Oct 2014 10:40:23 +0000
- Subject: Re: C11 threads ABI questions - enum values
- Authentication-results: sourceware.org; auth=none
- References: <20140727203825 dot GA13146 at brightrain dot aerifal dot cx> <alpine dot LNX dot 2 dot 00 dot 1408181622440 dot 743 at monopod dot intra dot ispras dot ru> <20140818192714 dot GS12888 at brightrain dot aerifal dot cx> <20141001211308 dot 88F742C397E at topped-with-meat dot com> <20141001211606 dot GN23797 at brightrain dot aerifal dot cx> <20141001213022 dot 798942C3AAD at topped-with-meat dot com> <20141002001720 dot GO23797 at brightrain dot aerifal dot cx> <20141002214229 dot 734B62C3A2F at topped-with-meat dot com> <20141002222958 dot GR23797 at brightrain dot aerifal dot cx>
On Thu, 2 Oct 2014, Rich Felker wrote:
> ways that require ABI decisions (O_SEARCH, O_EXEC, NI_NUMERICSCOPE, and
> O_TTY_INIT are the examples that come to mind immediately) where it
> would be really nice to have either some direction from glibc, or at
> least a tenative assignment of values planned.
O_* are shared with the Linux kernel, so values need to be agreed there to
avoid conflict with any new features added to the kernel in future (even
if part of the semantics is implemented in userspace). Once the values
are defined in the kernel's uapi headers, that determines them for all C
libraries.
--
Joseph S. Myers
joseph@codesourcery.com