Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp851079img; Thu, 21 Mar 2019 10:14:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyV+y0gsMR9vFSyH0Y+EXg2GNxII4XnAubZHfCfTL0aVG+gY5Ee58TG2bsYop94rREe+kJt X-Received: by 2002:a62:12c9:: with SMTP id 70mr1084767pfs.156.1553188450933; Thu, 21 Mar 2019 10:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553188450; cv=none; d=google.com; s=arc-20160816; b=gKWzQhuVpRYlilcK7yb89ViN9346xczEobCkoe3ALJikj7OP4GGpASJ1wY0aOsRtEW 3/A6TPz96DU3kuNRpM2rJbBRSJppLlqW/Y19K1YqFFxndBl2ZsZDWU0qJqfLjJASYrrq VZGJZyn9ZGMj1ccpJnX7HUOyw2wImY9uxKngx2WoMoYWU3fqs2rs7XLreP8XbOeqbwFC 0cXfCrlLQRpwVsUJ5EBWVLnstjLnot1WYGekuI4iUpaVvuGqt8LH71FMbsH+uJNOsg3J 1wUuY6HRPUmbM2zUOofhI8v0TwlFqokbhgp7t5QNhCd2C0X/ZLg4LaCZwPoJjsj/B4ve AFdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=VAVDiRWKyZPA57V3uc8qoRQV0qNIGAdmqiZ+5djvvJQ=; b=YGmC4gfjGVW4LpnXfHpAmrUs1pFtDCSqzWgu7SqvgUmwha+k49qIAagNk4fqm+Ie0k GrGypamMXP90nyZTj1SLBVuaboQGCwdxybn07ZLWNXkZ1T43OzqIv0PSJwdcvdkf0bge +CmUVSFk7j5qfFRcVLE2yu+h4w/2eDHDShfbwi9vVRARKaG4sIPuTUeibh+4DWnNEFNR Xs4PZQGjt9Csg91TcC0+S9mbfJ9mrK3ZH+tCiHJIanzKpP4eOaew+hfhRT/I+LN+KZWg 8AymsR52fvX3XqHJI+cqRgSSrBuvIW5+YE8hH4VUvwOK0MXVmQw55zUN6oVCXdGkz56O es6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si4764630plr.291.2019.03.21.10.13.55; Thu, 21 Mar 2019 10:14:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728603AbfCURNJ (ORCPT + 99 others); Thu, 21 Mar 2019 13:13:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35282 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726787AbfCURNI (ORCPT ); Thu, 21 Mar 2019 13:13:08 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8A95A3082B4D; Thu, 21 Mar 2019 17:13:08 +0000 (UTC) Received: from [IPv6:::1] (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 144F6608A6; Thu, 21 Mar 2019 17:13:08 +0000 (UTC) Subject: Re: [PATCH 0/6] sysctl: add pending proc_do_large_bitmap fix To: Luis Chamberlain , akpm@linux-foundation.org, keescook@chromium.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190320222831.8243-1-mcgrof@kernel.org> From: Eric Sandeen Message-ID: <2c1811ae-1cad-8ec8-7948-519517cf4eba@redhat.com> Date: Thu, 21 Mar 2019 12:13:07 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190320222831.8243-1-mcgrof@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Thu, 21 Mar 2019 17:13:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/20/19 5:28 PM, Luis Chamberlain wrote: > Andrew, Kees, > > Eric sent a fix out for proc_do_large_bitmap() last month for when > using a large input buffer. After patch review a test case for the issue > was built and submitted. I noticed there were a few issues with the > tests, but instead of just asking Eric to address them I've taken > care of them and ammended the commit where necessary. There's a > few issues he reported which I also address and fix in this series. > > Since we *do* expect users of these scripts to also use them on older > kernels, I've also addressed not breaking calling the script for them, > and gives us an easy way to easily extend our tests cases for future > kernels as well. > > Before anyone considers these for stable as minor fixes, I'd recommend > we also address the discrepancy on the read side of things: modify the > test script to use diff against the target file instead of using the > temp file. > > Eric Sandeen (2): > test_sysctl: add proc_do_large_bitmap() test case > sysctl: Fix proc_do_large_bitmap for large input buffers Isn't this missing: [PATCH] sysctl: add proc_do_large_bitmap test node ? > Luis Chamberlain (4): > test_sysctl: remove superfluous test_reqs() > test_sysctl: load module before testing for it > test_sysctl: ignore diff output on verify_diff_w() > test_sysctl: allow graceful use on older kernels > > kernel/sysctl.c | 30 ++++- > lib/test_sysctl.c | 18 ++- > tools/testing/selftests/sysctl/sysctl.sh | 161 +++++++++++++++++++---- > 3 files changed, 178 insertions(+), 31 deletions(-) >