Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4272762ybz; Tue, 28 Apr 2020 08:32:31 -0700 (PDT) X-Google-Smtp-Source: APiQypJURJ8PyQ6cHljVT2W/L0pmqc8qnAwUV6aclxKFvHmFAcmgbZ7A/XoASFIcHqpyVyZhEqZ6 X-Received: by 2002:a17:906:18e9:: with SMTP id e9mr2527987ejf.140.1588087951076; Tue, 28 Apr 2020 08:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588087951; cv=none; d=google.com; s=arc-20160816; b=TPl87+Vz2MfbZJ1VcZIZyfLjPyGlGo7Whtnd5WAQkpceQ5FrDvlfAlb0RhTLcqNyt6 AE0GRg2fb7TgkV2t/voYdQRqZsoUhYk5EANGw7VXmJeEa+Da3wGBsboGjES4l0s4xXTf pVSoQKkVsTM/s74t3yMdXW9T/6hacaQgeQ1fm/SvnFUsj58zn6no7vdvQu3extgezdex A0iUTMr0HeyIq9sgzp4h8xWYAs0DrxTFXYV9JZjOVXAqOi21X+9a82Nz7mROrI7gWLbS x8SBtOydbe8UWFr552AIKqEqolPnO4nUvOrL6BqJ5lRTgA1shVtniU2+faDx/TfGvO2l bLsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=WpcDnVmm0qCUdH1ZPx70tnDMlI8F4Mua8ZLx7sNmV5g=; b=JHMlQ4dZvQSuc5JPowyOhfMGvEwJwIUyxudop/WVXSWmv3zOEDIuG/rSJX5YF2M2Ch 5+9OWKIUSm9yDKlmcLJGwDtnMbhyKuAm9hF5dqa1qwZCqEIYFGI4dOkKO4Ji44yNj6d0 +dPk/tOkSJAiccjWFXVrp3p+aQf72z/r0y2qCn8xm94LZ4Xk8n4uCZaONn3J0xMDyQTV dbzh05ONbbvId/cgqPgYcVArH9d/7CAfv6psnSeQLibQuVYuKjo4TCg5gTD6HvKYtVFX d0HSYmxnx1QZOQSEEGHkwMCvCfFDgZ2cBhLy7mp2BFYV4cO8Yp+jTX59RJLtrs8ozk8R /s3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs1si1673266edb.200.2020.04.28.08.32.00; Tue, 28 Apr 2020 08:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728112AbgD1PaG (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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