This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! >From looking at the standard, I don't see why we shouldn't claim ADV option on Linux - posix_fadvise{,64}, posix_madvise, posix_fallocate and posix_memalign are all supported, as well as the needed POSIX_{F,M}ADV_* We know that a bunch of other options are certainly not supported - we don't even include the corresponding header (trace.h) or define the required functions or macros. I'm not sure if we can also claim following options: IP6 _POSIX_IPV6 RS _POSIX_RAW_SOCKETS BTW, why isn't _XOPEN_REALTIME_THREADS defined in NPTL? 2004-11-26 Jakub Jelinek <jakub@redhat.com> nptl/ * sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_ADVISORY_INFO, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_SPORADIC_SERVER, _POSIX_TRACE, _POSIX_TRACE_EVENT_FILTER, _POSIX_TRACE_INHERIT, _POSIX_TRACE_LOG, _POSIX_TYPED_MEMORY_OBJECTS): Define. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise. linuxthreads/ * sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_ADVISORY_INFO, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_SPORADIC_SERVER, _POSIX_TRACE, _POSIX_TRACE_EVENT_FILTER, _POSIX_TRACE_INHERIT, _POSIX_TRACE_LOG, _POSIX_TYPED_MEMORY_OBJECTS): Define. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise. --- libc/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h.jj 2004-10-05 09:04:48.000000000 +0200 +++ libc/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h 2004-11-26 13:29:35.062639820 +0100 @@ -144,4 +144,20 @@ /* The clock selection interfaces are available. */ #define _POSIX_CLOCK_SELECTION 200112L +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h.jj 2004-04-13 10:42:53.000000000 +0200 +++ libc/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 2004-11-26 13:22:23.328514789 +0100 @@ -138,4 +138,20 @@ /* The clock selection interfaces are available. */ #define _POSIX_CLOCK_SELECTION 200112L +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/nptl/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h.jj 2004-10-05 09:04:49.000000000 +0200 +++ libc/nptl/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h 2004-11-26 13:29:35.000000000 +0100 @@ -144,4 +144,20 @@ /* The clock selection interfaces are available. */ #define _POSIX_CLOCK_SELECTION 200112L +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/nptl/sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h.jj 2004-10-05 19:45:03.000000000 +0200 +++ libc/nptl/sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h 2004-11-26 13:29:35.000000000 +0100 @@ -144,4 +144,20 @@ /* The clock selection interfaces are available. */ #define _POSIX_CLOCK_SELECTION 200112L +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h.jj 2004-10-05 09:04:42.000000000 +0200 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h 2004-11-26 13:34:54.651720514 +0100 @@ -147,4 +147,20 @@ /* The clock selection interfaces are not available. */ #define _POSIX_CLOCK_SELECTION -1 +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h.jj 2004-10-05 09:04:42.000000000 +0200 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h 2004-11-26 13:35:14.011272216 +0100 @@ -141,4 +141,20 @@ /* The clock selection interfaces are not available. */ #define _POSIX_CLOCK_SELECTION -1 +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h.jj 2004-10-05 09:04:42.000000000 +0200 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h 2004-11-26 13:35:30.307369547 +0100 @@ -147,4 +147,20 @@ /* The clock selection interfaces are not available. */ #define _POSIX_CLOCK_SELECTION -1 +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ --- libc/linuxthreads/sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h.jj 2004-10-06 11:04:04.000000000 +0200 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h 2004-11-26 13:35:36.544258623 +0100 @@ -147,4 +147,20 @@ /* The clock selection interfaces are not available. */ #define _POSIX_CLOCK_SELECTION -1 +/* Advisory information interfaces are available. */ +#define _POSIX_ADVISORY_INFO 200112L + +/* Neither process nor thread sporadic server interfaces is available. */ +#define _POSIX_SPORADIC_SERVER -1 +#define _POSIX_THREAD_SPORADIC_SERVER -1 + +/* trace.h is not available. */ +#define _POSIX_TRACE -1 +#define _POSIX_TRACE_EVENT_FILTER -1 +#define _POSIX_TRACE_INHERIT -1 +#define _POSIX_TRACE_LOG -1 + +/* Typed memory objects are not available. */ +#define _POSIX_TYPED_MEMORY_OBJECTS -1 + #endif /* posix_opt.h */ Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |