From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Wed, 8 Aug 2018 16:48:22 +0200 Subject: [LTP] [PATCH v2] syscalls/execveat01: new test to verify execveat unlinked fd In-Reply-To: <20180808144155.GG19147@rei> References: <1533111474.1176.4.camel@mtkswgap22> <20180808144155.GG19147@rei> Message-ID: <20180808144822.GH19147@rei> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > I will write the code to check it and amend the test before applying to > the tree. Actually it seems to be easier than this, if we do execveat(-1, "", NULL, NULL, AT_EMPTY_PATH); we get EBADFD if execveat is supported and EINVAL if not. -- Cyril Hrubis chrubis@suse.cz