Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5443998ybl; Tue, 4 Feb 2020 14:13:13 -0800 (PST) X-Google-Smtp-Source: APXvYqz6wJ1DmZV9g6V+umNov3s7R0GN00kNgrQCXyErMPul9UHw4bNo5KjB94x4JhVuM/XeG/GL X-Received: by 2002:a05:6808:251:: with SMTP id m17mr810958oie.15.1580854393454; Tue, 04 Feb 2020 14:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580854393; cv=none; d=google.com; s=arc-20160816; b=YUKxDtB6+AGfbzo9HFIHmJXm5vdBVuxZtmPbMlTiFiFubBqTEJUlADYDXtaFR2K4vv a5JIlSP2GWqC/mayhDd+VKCaOxgjjRXD4wAfyLpmxZcRLZ/LKGTO5LH6w23hMgXXt3Lg iAEnYxetwOe+JOlr4KqU2AbsqkpnrmQgRUnefKwJr9Eg1IThY/vS0QEcb6nPcZ4zoeAM 0UV9mjZOm+N9PoziTPvZjeoHYCDs50+ivPqZITooOWO0tvJ2CNmPAj8G/RsE6paUvl+9 SOMVt68JsF+Qh+m4uu3eWIOuULvBH5rrVrAB/f1K7E2+Sfe6+roCX2pCSNf6wOYuiuSj WY/w== 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=r1c8Sx/+v2lfjleperyhTLWYQbP5AjrZMIJnYtSmPQU=; b=lWI2s56FMwH7dW34pUip8wrH5Gh4lil6ichyRriiVimjxAnS5ded4lmdEE2cSPYUD1 ORoNfBFzF3eYh/+GHh0wb5dYpLC6bG+GF5qi3skWxOMlCLXddjv88qCPPeXCqEGRSOJT 1mXHA7G276V3IoyVCZkJreb3f1EzgqyOJdlPCNnEKf6Vd7rAZAoSM0wBSRVmEZL0dRQY wtUZ8Wg1kRGIWXK3TTAyI9E8jmJiAEvAhycP021NiugBWwDrcV1wB1N3yspVchbH1Edh YPogfgM5BSzW7cbLmTACJEPnOEuH2kpXOgcxD4M/dEQPRTgDA/ctLAwVOwXQojvpkyiX 1jBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JAsE2pvS; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si12086861otk.177.2020.02.04.14.12.56; Tue, 04 Feb 2020 14:13:13 -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=@chromium.org header.s=google header.b=JAsE2pvS; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727566AbgBDWLX (ORCPT + 99 others); Tue, 4 Feb 2020 17:11:23 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:44149 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727445AbgBDWLX (ORCPT ); Tue, 4 Feb 2020 17:11:23 -0500 Received: by mail-ed1-f66.google.com with SMTP id g19so167674eds.11 for ; Tue, 04 Feb 2020 14:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r1c8Sx/+v2lfjleperyhTLWYQbP5AjrZMIJnYtSmPQU=; b=JAsE2pvS4+eX7xyYLMmX23TdtQBQmxYCgHdJ21FAV72iuMv8HzM1+LlI1mpCrxJMIs Z1Y8Jctbh8mly6rjWTfp6xJuCiS3i3bw4WSoQ7hc+Nw+j58Wcw0Ed7wph4rQhruGbfKe /RRfs9+p3C3rNRcC3Md74U3MqKJidO7e/0Ro4= 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=r1c8Sx/+v2lfjleperyhTLWYQbP5AjrZMIJnYtSmPQU=; b=VI9A1ecwPcFdYxABuj3T2jpqURw5TITMq9drH+3/WImY9kd2bcAyTjVzNoRYD/VUTG RwZ4vlFaVNArPXIBkp+mLd+8UzXJZOiDUv8GAViPFkaPdaFbhQxptJr9nhvNi+YGldUO FEYx6NecejbQySb6yByFuOF9YY8Oq+MeoQl+LoEQHunJ+fhyWNLAzKLTbWhYjPu0QoPi CB5Z8psuByQGtNQXD3iww9N2RezcDJsfJZSvWxTEWr8xp3XFJAP3NT6HBM1ADd9iJx/q 80IvHw4JyWnyny9NJqxfVucYpU4C+PbmOM1m97ocRo1iyatP4BuRUHRWnonYkQ2f+hxw 4/Uw== X-Gm-Message-State: APjAAAWx4rmqY8bMuTZ896F1ir+h7LY+mBtEyDOHNO7i47g4Q/APVFgO t3SVCBEUjuL7VV6yclWlhNzHt+lcg0A= X-Received: by 2002:a50:ee96:: with SMTP id f22mr2325191edr.272.1580854279535; Tue, 04 Feb 2020 14:11:19 -0800 (PST) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com. [209.85.208.45]) by smtp.gmail.com with ESMTPSA id da13sm1141596edb.63.2020.02.04.14.11.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Feb 2020 14:11:18 -0800 (PST) Received: by mail-ed1-f45.google.com with SMTP id c26so183837eds.8 for ; Tue, 04 Feb 2020 14:11:18 -0800 (PST) X-Received: by 2002:aa7:c241:: with SMTP id y1mr2375799edo.354.1580854277802; Tue, 04 Feb 2020 14:11:17 -0800 (PST) MIME-Version: 1.0 References: <20200204215014.257377-1-zwisler@google.com> In-Reply-To: From: Ross Zwisler Date: Tue, 4 Feb 2020 15:11:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5] Add a "nosymfollow" mount option. To: Raul Rangel Cc: linux-kernel , Mattias Nissler , Alexander Viro , linux-fsdevel@vger.kernel.org, Benjamin Gordon , 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 On Tue, Feb 4, 2020 at 2:53 PM Raul Rangel wrote: > > --- 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) Yep. Thanks for the catch, v6 on it's way.