From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753612AbdK3AMD (ORCPT ); Wed, 29 Nov 2017 19:12:03 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33689 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752716AbdK3AMB (ORCPT ); Wed, 29 Nov 2017 19:12:01 -0500 X-ME-Sender: Subject: Re: [PATCH 0/2] userns: automount cleanups To: "Eric W. Biederman" , Linux Containers Cc: linux-kernel@vger.kernel.org, Miklos Szeredi , linux-fsdevel@vger.kernel.org, Seth Forshee References: <874lpck52r.fsf@xmission.com> From: Ian Kent Message-ID: Date: Thu, 30 Nov 2017 08:11:55 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <874lpck52r.fsf@xmission.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/11/17 08:01, Eric W. Biederman wrote: > > While reviewing some code I realized that in getting d_automount working > with s_user_ns I had left behind some unnecessary relics of the blind > path I started down. Here are two patches that remove those relics. > > Unless someone has another preference I will drop them in my userns tree > and merge them that way. I saw the "->s_user_ns != &init_user_ns" and wondered if that would trigger for automount(8) run entirely with a container (eg. docker)? Anyway, it's gone now, so ACK to these two, thanks Eric. > > Eric W. Biederman (2): > userns: Don't fail follow_automount based on s_user_ns > autofs4: Modify autofs_wait to use current_uid() and current_gid() > > fs/autofs4/waitq.c | 4 ++-- > fs/namei.c | 3 --- > 2 files changed, 2 insertions(+), 5 deletions(-) > >