From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751968AbdHBXqS (ORCPT ); Wed, 2 Aug 2017 19:46:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:54913 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751136AbdHBXqR (ORCPT ); Wed, 2 Aug 2017 19:46:17 -0400 Date: Thu, 3 Aug 2017 01:46:14 +0200 From: "Luis R. Rodriguez" To: Andrew Morton Cc: "Luis R. Rodriguez" , shuah@kernel.org, Dmitry Torokhov , Kees Cook , Jessica Yu , Rusty Russell , Michal Marek , Petr Mladek , Miroslav Benes , Josh Poimboeuf , "Eric W. Biederman" , Dan Carpenter , Colin Ian King , dcb314@hotmail.com, linux-kselftest@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/5] test_kmod: make selftest executable Message-ID: <20170802234614.GP18884@wotan.suse.de> References: <20170802211450.27928-1-mcgrof@kernel.org> <20170802211450.27928-2-mcgrof@kernel.org> <20170802154349.a4221b87ebb083a83353c270@linux-foundation.org> <20170802164250.6c34cc3128bcd715fe583de3@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170802164250.6c34cc3128bcd715fe583de3@linux-foundation.org> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 02, 2017 at 04:42:50PM -0700, Andrew Morton wrote: > On Wed, 2 Aug 2017 15:55:50 -0700 "Luis R. Rodriguez" wrote: > > > On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton wrote: > > > On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez" wrote: > > > > > >> We had just forgotten to do this. > > >> > > >> Fixes: 39258f448d71 ("kmod: add test driver to stress test the module loader") > > >> Signed-off-by: Luis R. Rodriguez > > >> --- > > >> tools/testing/selftests/kmod/kmod.sh | 0 > > >> 1 file changed, 0 insertions(+), 0 deletions(-) > > >> mode change 100644 => 100755 tools/testing/selftests/kmod/kmod.sh > > >> > > >> diff --git a/tools/testing/selftests/kmod/kmod.sh b/tools/testing/selftests/kmod/kmod.sh > > >> old mode 100644 > > >> new mode 100755 > > > > > > This is pretty fragile - I'm not sure that patch/diff are capable of > > > communicating a bare chmod. If someone does a "patch -p1 < patch-4.14" > > > or whatever, this change is likely to get lost. > > > > True if using regular diff, if using git, it will catch it though. > > Yeah. I don't think this change will make it through my > maze-of-scripts. Perhaps Shuah can pick it up. Ah sure, Shuah, can this go through your tree? > Also... > > # find tools/testing/selftests -name "*.sh" -a ! -executable > tools/testing/selftests/rcutorture/configs/rcuperf/ver_functions.sh > tools/testing/selftests/rcutorture/configs/lock/ver_functions.sh > tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh > tools/testing/selftests/rcutorture/bin/functions.sh > tools/testing/selftests/locking/ww_mutex.sh Best is we embrace your suggested change indeed. > tools/testing/selftests/kmod/kmod.sh That's this one. > tools/testing/selftests/sysctl/sysctl.sh and I can follow up with Shuah on this one too. Luis