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=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL 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 B10B6C2B9F4 for ; Thu, 17 Jun 2021 19:03:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D077613E1 for ; Thu, 17 Jun 2021 19:03:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232063AbhFQTFO (ORCPT ); Thu, 17 Jun 2021 15:05:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231403AbhFQTFO (ORCPT ); Thu, 17 Jun 2021 15:05:14 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D84CC061574 for ; Thu, 17 Jun 2021 12:03:05 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id d9so4330051ioo.2 for ; Thu, 17 Jun 2021 12:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=z5HnvT/He5wc3TvnthB+gn47ASzuP6Mrw+2VFf4NedE=; b=Pb62KYRBeElY2ztdpi7/Ce7DZpkujCDbD+V/8X81ma/6we4T/Kf/0jEB1+jyhIIWoX /D2gD58C0RKfOSFx+qeT8TbNuWFETsaJBwsO8GpFK4LVLq5zloewkkx4BkX72w60Xy25 vVaxmOWBvvlyVMykVvn/EEL4KNLLjzwIS+tOSomO96IyzJvNFD3Z6l8cEXUqMuhtCH0I RRo6bQ3U/OiYv9+xGNDhHioojbh2F72rwuEHNNpS6eEGosVe7Ws4+PqLgPFt9zLgq5b7 ZcIdzoCSTftpNx/UHPGZg2tFc5gO3g8wzbD548kvrOW2tBPeTyQbx/dry9zAIU1gwe1e MKgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=z5HnvT/He5wc3TvnthB+gn47ASzuP6Mrw+2VFf4NedE=; b=e08oLYklg0GkS9XslHbaRTn/LcOOA4zzC5UtpsgrkUCg+dl7GsMMaWwgFq3SMhbl4h 1AELoGZdmFJ0CCh3Mqspgc3wKQi/Z5i/VT5dPkayj8/rwhCBlQfB0TQpcyw0wr0c60vW mGVLOSbucJQppcLmq/WgCJ/uYOkTbtLEnlDIt1Dg1HRQbjkHdsgvu30o8XgdRmCjuVjN N15Qx2Ee34N/mhGF1PpQ32kGJAwyht8tHJWCsYDHhuD2PsqobsFA4HhdtvGSblorsj+i vLBCh6RYA5H9azXkrb+n+1l9RWNcoJvk1PAdZPvku4bwdPGU7rUU37wbyzVyeq3oz11i mZBQ== X-Gm-Message-State: AOAM533FhFTsElMt1Jhlw5twcgI4jkcyrSX7SH/tP/qwQWb3S0BKKddT kERugBDct6gwpOAUXMt21iQlzRE/a/HrJkm5 X-Google-Smtp-Source: ABdhPJy/kwv4NUTHIDAUjNd02dj23d6Gtc1ZR7vuk2YvdExt7gxWBv4fnp2rWu8y48q8Ju1yUenelQ== X-Received: by 2002:a05:6638:349f:: with SMTP id t31mr6141911jal.95.1623956584261; Thu, 17 Jun 2021 12:03:04 -0700 (PDT) Received: from google.com ([2601:285:8380:9270:9b02:154:406f:ca4c]) by smtp.gmail.com with ESMTPSA id m17sm3335510ioc.42.2021.06.17.12.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Jun 2021 12:03:03 -0700 (PDT) Date: Thu, 17 Jun 2021 13:03:00 -0600 From: Ross Zwisler To: Christian Brauner Cc: linux-fsdevel@vger.kernel.org, Christoph Hellwig , Al Viro , Mattias Nissler , Aleksa Sarai , Christian Brauner Subject: Re: [PATCH 1/2] mount: Support "nosymfollow" in new mount api Message-ID: References: <20210601135515.126639-1-brauner@kernel.org> <20210601135515.126639-2-brauner@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210601135515.126639-2-brauner@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Jun 01, 2021 at 03:55:14PM +0200, Christian Brauner wrote: > From: Christian Brauner > > Commit dab741e0e02b ("Add a "nosymfollow" mount option.") added support > for the "nosymfollow" mount option allowing to block following symlinks > when resolving paths. The mount option so far was only available in the > old mount api. Make it available in the new mount api as well. Bonus is > that it can be applied to a whole subtree not just a single mount. > > Cc: Christoph Hellwig > Cc: Mattias Nissler > Cc: Aleksa Sarai > Cc: Al Viro > Cc: Ross Zwisler > Signed-off-by: Christian Brauner Reviewed-by: Ross Zwisler