/usr/include/xenomai/asm-x86/bits/bind.h is in libxenomai-dev 2.5.5.2-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef _XENO_ASM_X86_BIND_H
#define _XENO_ASM_X86_BIND_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <asm-generic/xenomai/bits/bind.h>
#include <asm/xenomai/features.h>
#ifdef __i386__
static inline void xeno_x86_features_check(void)
{
#ifdef CONFIG_XENO_X86_SEP
size_t n = confstr(_CS_GNU_LIBPTHREAD_VERSION, NULL, 0);
if (n > 0) {
char buf[n];
confstr (_CS_GNU_LIBPTHREAD_VERSION, buf, n);
if (strstr (buf, "NPTL"))
return;
}
fprintf(stderr,
"Xenomai: --enable-x86-sep needs NPTL and Linux 2.6.x or higher,\n"
"which does not match your configuration. Please upgrade, or\n"
"rebuild the user-space support passing --disable-x86-sep.\n");
exit(1);
#endif /* CONFIG_XENO_X86_SEP */
}
#define xeno_arch_features_check() xeno_x86_features_check()
#endif /* __i386__ */
#endif /* _XENO_ASM_X86_BIND_H */
|