[LTP] [PATCH v5 3/5] Add fchmodat2 fallback definition

Petr Vorel pvorel@suse.cz
Fri Aug 2 12:57:39 CEST 2024


Hi Andrea,

> Hi,

> On 8/2/24 11:55, Petr Vorel wrote:
> > Hi Andrea,


> > >   include/lapi/stat.h | 16 ++++++++++++++++
> > What is the reason this to be added to include/lapi/stat.h?

> > It's not a general function? (otherwise tst_safe_macros.c would be more
> > appropriate).

> > And because one day it will be defined in <sys/stat.h>?

> > Probably ok due both reasons, but I'm just curious, also because static inline
> > brought various problems in the past.

> I was asked by Cyril to use proper headers instead of safe macros headers,
> which contain anything.

Thanks for info, I'm sorry for the noise.

Kind regards,
Petr


More information about the ltp mailing list