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

Petr Vorel pvorel@suse.cz
Tue May 14 15:02:35 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).

> Signed-off-by: Jinhui huang <huangjh.jy@cn.fujitsu.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>

@Cyril: this could go before release as well.

Kind regards,
Petr


More information about the ltp mailing list