[LTP] [PATCH] [WIP] Add fanout01 CVE-2017-15649

Petr Vorel pvorel@suse.cz
Tue Nov 27 11:07:33 CET 2018


Hi Richard,

> Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
> ---

> +#include <errno.h>
> +#include <stdlib.h>
> +#include <unistd.h>
> +#include <sched.h>
> +#include <sys/types.h>
> +#include <sys/socket.h>
> +#include <sys/ioctl.h>
> +#include <net/if.h>
> +#include <linux/if_packet.h>

These headers can be omitted:
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/ioctl.h>


Kind regards,
Petr


More information about the ltp mailing list