From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Wed, 15 May 2019 08:03:10 +0200 Subject: [LTP] [PATCH] syscall/ioctl: fix compiler error In-Reply-To: <5CDBA1D1.9010002@cn.fujitsu.com> References: <1557711965-11638-1-git-send-email-huangjh.jy@cn.fujitsu.com> <20190514130234.GB31720@dell5510> <5CDBA1D1.9010002@cn.fujitsu.com> Message-ID: <20190515060310.GA3239@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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