[LTP] [PATCH 4/4] Test for CVE-2016-10044 mark AIO pseudo-fs noexec
Jan Stancek
jstancek@redhat.com
Tue Jul 18 09:58:29 CEST 2017
----- Original Message -----
...
> +
> +#include "tst_test.h"
> +
> +#ifdef HAVE_LINUX_AIO_ABI_H
> +
> +#include <stdio.h>
> +#include <string.h>
> +#include <linux_syscall_numbers.h>
> +#include <linux/aio_abi.h>
Hi,
from LTP docs:
"Don't use +linux/+ headers if at all possible. Usually they are replaced with
+sys/+ headers as things work their way into glibc. Furthermore, +linux/+
headers get shuffled around a lot more than their +sys/+ counterparts it
seems."
If we really have to use linux header then I'd suggest a configure check
that also checks it's compilable.
Regards,
Jan
More information about the ltp
mailing list