From: Cyril Hrubis Date: Tue, 14 May 2019 16:11:12 +0200 Subject: [LTP] [PATCH] syscall/ioctl: fix compiler error In-Reply-To: <20190514130234.GB31720@dell5510> References: <1557711965-11638-1-git-send-email-huangjh.jy@cn.fujitsu.com> <20190514130234.GB31720@dell5510> Message-ID: <20190514141112.GB1516@rei> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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 > Reviewed-by: Petr Vorel > > @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