[LTP] [PATCH v1 1/3] Rewrite eventfd2_01 test using new LTP API

Cyril Hrubis chrubis@suse.cz
Wed Apr 5 11:22:32 CEST 2023


Hi!
> > +static inline int eventfd2(unsigned int count, unsigned int flags)
> > +{
> > +	int ret;
> > +
> > +	ret = tst_syscall(__NR_eventfd2, count, flags);
> > +	if (ret == -1)
> > +		tst_brk(TBROK | TERRNO, "eventfd2");
> > +
> > +	return ret;
> > +}
> Normally we need put file or store this file into some lib directory?

As long as there are no other testcases that will need this it's okay if
this stays here.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list