Message ID | 20160215233043.39f36d97@free-electrons.com |
---|---|
State | Not Applicable |
Headers | show |
Index: b/syscall.c =================================================================== --- a/syscall.c +++ b/syscall.c @@ -115,7 +115,13 @@ #endif -#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 11) +#if defined(__GLIBC__) +# if __GLIBC_PREREQ(2, 11) +# define GLIBC_HAS_WORKING_SYSCALL6 +# endif +#endif + +#if defined(GLIBC_HAS_WORKING_SYSCALL6) /* glibc 2.11 seems to have working 6 argument sycall. Use the glibc supplied syscall in this case.