Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5427880ybl; Tue, 4 Feb 2020 13:55:03 -0800 (PST) X-Google-Smtp-Source: APXvYqxECdIVh/Z5yoLvkF8YEriNZMwEJMPMqpGTNrJj9u20UyL7JiyfX0e0RQ0BRSZHseQSnYI/ X-Received: by 2002:aca:ad11:: with SMTP id w17mr767726oie.85.1580853303540; Tue, 04 Feb 2020 13:55:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580853303; cv=none; d=google.com; s=arc-20160816; b=CjoFxk9lKfY0uBWrngSF4oDs8/NtgzuWGJAViiiIZR9iLBPhMyuJfGhf8hL5dLIX8T h0c9wxMifb6Kb1UPYCup5RNCWhuLPoIGlOr/vJ9771DMt+RRBduxQ+mYzuKVKglJOou7 eg+84wizgymHReVE4ev3/EsSa9mSEPRQR+8FpBA7BXP1ZaoPCVq1QE7FBaCH75arGihq sDsOPqhrfYhO/v6XylIseau91ETBWE6XhoZR8+uffNAEaEce2Ht6OQQjHAVHa7QjM8DZ RE6x1raTT1LV92uHZMKLcekOnACzsVrHLdT0Xc1Euk2SsIokgQtTU6sT/eoE5odDTOyo bv3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zI4HQ9EHGueB8CLG4OLQwHdUL6JYrMc1+B8KS6FEh8M=; b=PqTM3GsY1KPMUzMtsV6SKaMaKuagtcqJYDP2JzrWFeRM4JsvP/yEtNOnQ4ToD2QJbh EmEFbbQhqRWVTYdBaAk62e+26a//qtxF8Iot25zZ5z4zqQj3eaRvd/PKGY3x5KUQJqpz hV9qafPuYpAcV+UNWjT9IVQl4W3rjcz1hI1tc5vO4RREWiJ5cf564lIggB5GjpzXvmmF o60hFTYs+ArCxa+JuVMs5qcpeiyUrrG70PmUgRx+PSaONP/tF1vWtYKM4DVnMQ0mqONq nePEe0Rph0/ScnQYySTcdocEBqCreEzSXjwbfILwcFGxPwSNBNuJt4GI+wERXsnxcWTY yaFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nF2a3cPa; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y205si11531077oig.137.2020.02.04.13.54.51; Tue, 04 Feb 2020 13:55:03 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=nF2a3cPa; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727534AbgBDVxD (ORCPT + 99 others); Tue, 4 Feb 2020 16:53:03 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55842 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727461AbgBDVxD (ORCPT ); Tue, 4 Feb 2020 16:53:03 -0500 Received: by mail-wm1-f65.google.com with SMTP id q9so247308wmj.5 for ; Tue, 04 Feb 2020 13:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zI4HQ9EHGueB8CLG4OLQwHdUL6JYrMc1+B8KS6FEh8M=; b=nF2a3cPa3Ab2CImABgRNz5mLOvYz7D7E00fEtLY9dKeN8m2dOFhVRsnG/b+2fR5zue Q4jQbC6/bk9IHu3Z2q+prLVoqIBRKeABXlDBDljIIhDIvK+AnSYssFg3IZIN0ZKKl125 ilUQSc+yuqiZUw4I0/e6iWFZk7N3WVNXOnhe/2WbyHgyRdmurO11rbixULyKQ6p0WBJL tpf8k/WTu0kYKehVLt+qZfnbqD5O13VU062q91/oLpnsA0nyV+x/AuOkzlJONaIFMAVO cPNcLnAI4zCl7ciO/iF56q2cqzkh7sdjoP9R500desOJZyQem3Sa32RbMmmG1dIEEHNp Biuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zI4HQ9EHGueB8CLG4OLQwHdUL6JYrMc1+B8KS6FEh8M=; b=UCp5ShAzKDoi4pHV5CfKhi94nlNkL2BI9Y7ttR+/RggBUbMyKPrUx6lqzt7jjWBc4L jhQP0r7kP5i7S/BoWornKCs/uRUxOQFgmtdvD+z+F3o8SPRYBy04gBrM6RHSCoyv9dqP K/6P+h/i0OVHZtc460XUWUXC5/ErdNk5GEPv6z5c86dJC0m43rMSHHX6iSMQOSIwSad7 RxwGzEkFPwULy5lzdm3B5DSuYvPuFnfMGL4WLHLTuRfeDvGV8B5R+ke+FGK0Sw6aVO8Q r+l1vH7oN2+5VlLY4qVNXwYkv8o0THlx0IqvD/U99kpmEJWnMo9GUi8BtHiuIEIeicRu Q66w== X-Gm-Message-State: APjAAAXFVymYCRHPPnY4hBm/f27UDoIQOXKDhlGDTSBmNes6adJapF8g JbG7cbY/LMpb6gJnylq+7S23Pxj5FmINwnGzqIzojg== X-Received: by 2002:a1c:ddd6:: with SMTP id u205mr1122933wmg.151.1580853181775; Tue, 04 Feb 2020 13:53:01 -0800 (PST) MIME-Version: 1.0 References: <20200204215014.257377-1-zwisler@google.com> In-Reply-To: <20200204215014.257377-1-zwisler@google.com> From: Raul Rangel Date: Tue, 4 Feb 2020 14:52:50 -0700 Message-ID: Subject: Re: [PATCH v5] Add a "nosymfollow" mount option. To: Ross Zwisler Cc: linux-kernel , Mattias Nissler , Alexander Viro , linux-fsdevel@vger.kernel.org, Benjamin Gordon , Ross Zwisler , Micah Morton , Dmitry Torokhov , Jan Kara , Aleksa Sarai , Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > --- a/include/uapi/linux/mount.h > +++ b/include/uapi/linux/mount.h > @@ -34,6 +34,7 @@ > #define MS_I_VERSION (1<<23) /* Update inode I_version field */ > #define MS_STRICTATIME (1<<24) /* Always perform atime updates */ > #define MS_LAZYTIME (1<<25) /* Update the on-disk [acm]times lazily */ > +#define MS_NOSYMFOLLOW (1<<26) /* Do not follow symlinks */ Doesn't this conflict with MS_SUBMOUNT below? > > /* These sb flags are internal to the kernel */ > #define MS_SUBMOUNT (1<<26)