[LTP] [PATCH v4 4/4] BPF: Sanity check creating a program

Jan Stancek jstancek@redhat.com
Mon Aug 26 18:05:50 CEST 2019


----- Original Message -----
> From: Richard Palethorpe <rpalethorpe@suse.com>
> 
> Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

> +
> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.min_kver = "3.18",

Small nit, per http://man7.org/linux/man-pages/man2/bpf.2.html it's since 3.19.

Some comments in 2/4, but overall looks good to me.

Acked-by: Jan Stancek <jstancek@redhat.com>


More information about the ltp mailing list