[LTP] [PATCH v1 1/2] syscalls/socketcall02: Cleanup && rewrite to new API

Cyril Hrubis chrubis@suse.cz
Mon Feb 24 17:34:02 CET 2020


Hi!
> > -PF_INET, SOCK_STREAM, 0}, -1, EINVAL, "invalid call"};
> > +} TC[] = {
> > +	{0, args_valid, EINVAL, "invalid call(0)"},
> "invalid call(<1)" is more correc.
> > +	{21, args_valid, EINVAL, "invalid call(21)"},
> "invalid call(>20)" is more correct.
> > +	{SYS_SOCKET, NULL, EFAULT, "invalid args address"},
> > +};

I've fixed these two and pushed both patches, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list