Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp16856183ybl; Wed, 1 Jan 2020 15:41:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwxGcaz3XCErejZ0Wlm4ZyszN8FNqpZL5F4kYz9Gv2ssuEEhC1W4nEyOaSrusYa48d6gzhs X-Received: by 2002:a05:6830:1141:: with SMTP id x1mr14914273otq.120.1577922087732; Wed, 01 Jan 2020 15:41:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577922087; cv=none; d=google.com; s=arc-20160816; b=alaiKGt8jt/DfTOx47Vva0uuf6VZeNjSoUvkIU3BUo0ktlwQ0OfIykOxpZl9B8iTh0 +NPCnFyOjZS9QvMolsY9il4ofRRv41S/OtZiAUQX+xQmkrSHoicTbFNVR5Ct1PKfJoK8 /oSEIYw6f2hkF60GMKPRuf43est+tLMuCAtFjMkLmqSKFrvKW4/fXeB2FUYWRqB3ePc5 K+AJqeR3ZbmMa8xCFN4ZEN1asBh4F1NVcghkXAf1DJ/tbO5u+sHeyDg1XWDkDHneHNfL 3tWXCTOpfl9psJpEAUtcccMB+KPEOyi385XqN3V+eM12NrKzpwy6kgRSLW1GIbSe82ur /U9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=sWCwLUEenfpj6ufUS0IH8Q5xGyG1VOkrhjK199GboOg=; b=qGJKFRvK3e/aVD9WdMqr+6lQFfV3GN0Is89aBOCafluS8Q4F6oatWfI9rHFpQMuU+q W0iAFXtTVxvcKteJIiXopVynXNwtCyRs0zFW2pfW8qrWVJc9wUsG3TcNxDoiaevA0YQD e9ApujZD7gScFoRKG6jjOuZaxH+CNKpaSCzu2KXrZoAeWnC2/7MhWAoUzfDy+//ZIJpu WmRRtIvTqmCAFbYQBSuEQeTd+7rV0CfCpy3zIhzqDFA/XtMPDm5YIi9ljukxVVh7Tm0S 6AroOnd6erp24tAuOCreVTkaXSmKaoqVoZYZOqfhiAfi/Q2E+yxXA7WOgb5/a4TpWRn0 HbzA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si24694663oto.98.2020.01.01.15.41.15; Wed, 01 Jan 2020 15:41:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727493AbgAAXk0 (ORCPT + 99 others); Wed, 1 Jan 2020 18:40:26 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:59804 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727429AbgAAXk0 (ORCPT ); Wed, 1 Jan 2020 18:40:26 -0500 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1imnb0-000JcJ-0Q; Wed, 01 Jan 2020 23:40:10 +0000 Date: Wed, 1 Jan 2020 23:40:09 +0000 From: Al Viro To: Aleksa Sarai Cc: David Howells , Eric Biederman , Linus Torvalds , stable@vger.kernel.org, Christian Brauner , Serge Hallyn , dev@opencontainers.org, containers@lists.linux-foundation.org, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 0/1] mount: universally disallow mounting over symlinks Message-ID: <20200101234009.GB8904@ZenIV.linux.org.uk> References: <20191230052036.8765-1-cyphar@cyphar.com> <20191230054413.GX4203@ZenIV.linux.org.uk> <20191230054913.c5avdjqbygtur2l7@yavin.dot.cyphar.com> <20191230072959.62kcojxpthhdwmfa@yavin.dot.cyphar.com> <20200101004324.GA11269@ZenIV.linux.org.uk> <20200101005446.GH4203@ZenIV.linux.org.uk> <20200101030815.GA17593@ZenIV.linux.org.uk> <20200101144407.ugjwzk7zxrucaa6a@yavin.dot.cyphar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200101144407.ugjwzk7zxrucaa6a@yavin.dot.cyphar.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 02, 2020 at 01:44:07AM +1100, Aleksa Sarai wrote: > Thanks, this fixes the issue for me (and also fixes another reproducer I > found -- mounting a symlink on top of itself then trying to umount it). > > Reported-by: Aleksa Sarai > Tested-by: Aleksa Sarai Pushed into #fixes. > As for the original topic of bind-mounting symlinks -- given this is a > supported feature, would you be okay with me sending an updated > O_EMPTYPATH series? Post it on fsdevel; I'll need to reread it anyway to say anything useful...