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

jinhui huang huangjh.jy@cn.fujitsu.com
Wed May 15 07:21:21 CEST 2019


On 2019/05/14 21:02, Petr Vorel wrote:

Hi,
> 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.
>> 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
Kind regards,
Jinhui




More information about the ltp mailing list