[LTP] [PATCH v5 3/6] Refactor mqns_03 using new LTP API

Petr Vorel pvorel@suse.cz
Fri Mar 3 11:22:56 CET 2023


Hi Andrea,

...
> > >   #define _GNU_SOURCE
> > I wonder why _GNU_SOURCE was used here and in mqns_04.c. I don't see anything
> > in man mq_open(3), both tests are working without it.
> Because of MAP_ANONYMOUS for mmap

Hm, I see MAP_ANONYMOUS and MAP_ANON not being guarded in glibc nor in musl.

Kind regards,
Petr


More information about the ltp mailing list