[LTP] [PATCH] syscall/ioctl: fix compiler error
Cyril Hrubis
chrubis@suse.cz
Tue May 14 16:11:12 CEST 2019
Hi!
> > "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.
Let's wait a bit I would be happier if we had more info about the
distros this patch is fixing. But other than that this is pretty much
obvious fix.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list