[LTP] [PATCH 1/3] accept4: Use tst_variant

Petr Vorel petr.vorel@gmail.com
Tue Mar 24 19:07:39 CET 2020


Hi Cyril,

> > @@ -51,11 +51,7 @@ accept4_01(int fd, struct sockaddr *sockaddr, socklen_t *addrlen, int flags)
> >  	args[3] = flags;

> >  	return tst_syscall(__NR_socketcall, SYS_ACCEPT4, args);
> > -#else
> > -	return tst_syscall(__NR_accept4, fd, sockaddr, addrlen, flags);
> > -#endif
> >  }
> > -#endif

> This is very minor, however the function should be renamed to something
> as socketcall_accept4().

> Acked otherwise.

Thanks, patchset pushed with this fix.

Kind regards,
Petr


More information about the ltp mailing list