C11 threads ABI questions - enum values

Joseph S. Myers joseph@codesourcery.com
Fri Oct 3 10:40:00 GMT 2014


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



More information about the Libc-alpha mailing list