[LTP] [PATCH] syscall/ioctl: fix compiler error

Petr Vorel pvorel@suse.cz
Wed May 15 08:03:10 CEST 2019


Hi Jinhui,

> > > "CLONE_NEWPID" and "CLONE_NEWUSER" are not defined on some old distros,
> > > so include "lapi/namespaces_constants.h" to fix it.
> > Can you be more specific, which distros?
> > CLONE_* has been added into glibc in 2008 (released in glibc 2.8).

> The kernel version is 2.6.18-398.el5 and the glibc version is glibc-2.5-123.
Thanks for info, merged!

Kind regards,
Petr


More information about the ltp mailing list