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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC9AFC54EE9 for ; Fri, 9 Sep 2022 00:43:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229801AbiIIAm6 (ORCPT ); Thu, 8 Sep 2022 20:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbiIIAmz (ORCPT ); Thu, 8 Sep 2022 20:42:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F35997512 for ; Thu, 8 Sep 2022 17:42:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A55F5B82346 for ; Fri, 9 Sep 2022 00:42:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7B7EC433C1; Fri, 9 Sep 2022 00:42:50 +0000 (UTC) Date: Thu, 8 Sep 2022 20:43:32 -0400 From: Steven Rostedt To: Brian Norris Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] debugfs: Only clobber mode/uid/gid on remount if asked Message-ID: <20220908204332.0cbd850c@gandalf.local.home> In-Reply-To: References: <20220826174353.1.Icbd40fce59f55ad74b80e5d435ea233579348a78@changeid> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Sep 2022 17:16:17 -0700 Brian Norris wrote: > I think I've covered all that in v2. The patch contents haven't changed > -- just the metadata, and a link to a draft LTP test. As noted in v2, I > plan to submit a PR for that once the kernel changes are in. Instead of doing an LTP test, could you just write a script that could test it in the kernel selftests? See tools/testing/selftests/... in the kernel repository. Not exactly sure which directory it would go. Perhaps the "mounts" directory? If you create a tracefs one, it could go into the ftrace directory. -- Steve