From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C013CC83000 for ; Tue, 28 Apr 2020 15:30:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A427520746 for ; Tue, 28 Apr 2020 15:30:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbgD1PaG (ORCPT ); Tue, 28 Apr 2020 11:30:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:45866 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727931AbgD1PaG (ORCPT ); Tue, 28 Apr 2020 11:30:06 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A7984AE7F; Tue, 28 Apr 2020 15:30:03 +0000 (UTC) Date: Tue, 28 Apr 2020 17:30:22 +0200 From: Cyril Hrubis To: Aleksa Sarai Cc: kernel test robot , Josh Triplett , linux-arch@vger.kernel.org, Jens Axboe , Arnd Bergmann , linux-kernel@vger.kernel.org, lkp@lists.01.org, Alexander Viro , linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, ltp@lists.linux.it Subject: Re: [LTP] [fs] ce436509a8: ltp.openat203.fail Message-ID: <20200428153022.GC4244@yuki.lan> References: <20200427135210.GB5770@shao2-debian> <20200427142733.GD7661@rei> <20200428005126.6wncibudt6ohghvc@yavin.dot.cyphar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200428005126.6wncibudt6ohghvc@yavin.dot.cyphar.com> Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hi! > > > commit: ce436509a8e109330c56bb4d8ec87d258788f5f4 ("[PATCH v4 2/3] fs: openat2: Extend open_how to allow userspace-selected fds") > > > url: https://github.com/0day-ci/linux/commits/Josh-Triplett/Support-userspace-selected-fds/20200414-102939 > > > base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next > > > > This commit adds fd parameter to the how structure where LTP test was > > previously passing garbage, which obviously causes the difference in > > errno. > > > > This could be safely ignored for now, if the patch gets merged the test > > needs to be updated. > > It wouldn't be a bad idea to switch the test to figure out the ksize of > the struct, so that you only add bad padding after that. But then again, > this would be a bit ugly -- having CHECK_FIELDS would make this simpler. Any pointers how can be the size figured out without relying on the E2BIG we are testing for? Does the kernel export it somewhere? -- Cyril Hrubis chrubis@suse.cz From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Subject: Re: [fs] ce436509a8: ltp.openat203.fail Date: Tue, 28 Apr 2020 17:30:22 +0200 Message-ID: <20200428153022.GC4244@yuki.lan> References: <20200427135210.GB5770@shao2-debian> <20200427142733.GD7661@rei> <20200428005126.6wncibudt6ohghvc@yavin.dot.cyphar.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20200428005126.6wncibudt6ohghvc-DDZ4AMo6ZIKk7xURhxcYY1aTQe2KTcn/@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+glt-ltp-list=m.gmane-mx.org-cunTk1MwBs91InPhgRC9rw@public.gmane.org Sender: "ltp" To: Aleksa Sarai Cc: linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jens Axboe , Arnd Bergmann , kernel test robot , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Josh Triplett , lkp-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, Alexander Viro , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, io-uring-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ltp-cunTk1MwBs91InPhgRC9rw@public.gmane.org List-Id: linux-arch.vger.kernel.org Hi! > > > commit: ce436509a8e109330c56bb4d8ec87d258788f5f4 ("[PATCH v4 2/3] fs: openat2: Extend open_how to allow userspace-selected fds") > > > url: https://github.com/0day-ci/linux/commits/Josh-Triplett/Support-userspace-selected-fds/20200414-102939 > > > base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next > > > > This commit adds fd parameter to the how structure where LTP test was > > previously passing garbage, which obviously causes the difference in > > errno. > > > > This could be safely ignored for now, if the patch gets merged the test > > needs to be updated. > > It wouldn't be a bad idea to switch the test to figure out the ksize of > the struct, so that you only add bad padding after that. But then again, > this would be a bit ugly -- having CHECK_FIELDS would make this simpler. Any pointers how can be the size figured out without relying on the E2BIG we are testing for? Does the kernel export it somewhere? -- Cyril Hrubis chrubis-AlSwsSmVLrQ@public.gmane.org -- Mailing list info: https://lists.linux.it/listinfo/ltp From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Tue, 28 Apr 2020 17:30:22 +0200 Subject: [LTP] [fs] ce436509a8: ltp.openat203.fail In-Reply-To: <20200428005126.6wncibudt6ohghvc@yavin.dot.cyphar.com> References: <20200427135210.GB5770@shao2-debian> <20200427142733.GD7661@rei> <20200428005126.6wncibudt6ohghvc@yavin.dot.cyphar.com> Message-ID: <20200428153022.GC4244@yuki.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > > > commit: ce436509a8e109330c56bb4d8ec87d258788f5f4 ("[PATCH v4 2/3] fs: openat2: Extend open_how to allow userspace-selected fds") > > > url: https://github.com/0day-ci/linux/commits/Josh-Triplett/Support-userspace-selected-fds/20200414-102939 > > > base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next > > > > This commit adds fd parameter to the how structure where LTP test was > > previously passing garbage, which obviously causes the difference in > > errno. > > > > This could be safely ignored for now, if the patch gets merged the test > > needs to be updated. > > It wouldn't be a bad idea to switch the test to figure out the ksize of > the struct, so that you only add bad padding after that. But then again, > this would be a bit ugly -- having CHECK_FIELDS would make this simpler. Any pointers how can be the size figured out without relying on the E2BIG we are testing for? Does the kernel export it somewhere? -- Cyril Hrubis chrubis@suse.cz From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3703168154210001618==" MIME-Version: 1.0 From: Cyril Hrubis To: lkp@lists.01.org Subject: Re: [LTP] [fs] ce436509a8: ltp.openat203.fail Date: Tue, 28 Apr 2020 17:30:22 +0200 Message-ID: <20200428153022.GC4244@yuki.lan> In-Reply-To: <20200428005126.6wncibudt6ohghvc@yavin.dot.cyphar.com> List-Id: --===============3703168154210001618== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi! > > > commit: ce436509a8e109330c56bb4d8ec87d258788f5f4 ("[PATCH v4 2/3] fs:= openat2: Extend open_how to allow userspace-selected fds") > > > url: https://github.com/0day-ci/linux/commits/Josh-Triplett/Support-u= serspace-selected-fds/20200414-102939 > > > base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselft= est.git next > > = > > This commit adds fd parameter to the how structure where LTP test was > > previously passing garbage, which obviously causes the difference in > > errno. > > = > > This could be safely ignored for now, if the patch gets merged the test > > needs to be updated. > = > It wouldn't be a bad idea to switch the test to figure out the ksize of > the struct, so that you only add bad padding after that. But then again, > this would be a bit ugly -- having CHECK_FIELDS would make this simpler. Any pointers how can be the size figured out without relying on the E2BIG we are testing for? Does the kernel export it somewhere? -- = Cyril Hrubis chrubis(a)suse.cz --===============3703168154210001618==--