From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753517AbdK3AB0 (ORCPT ); Wed, 29 Nov 2017 19:01:26 -0500 Received: from out02.mta.xmission.com ([166.70.13.232]:48910 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753242AbdK3ABY (ORCPT ); Wed, 29 Nov 2017 19:01:24 -0500 From: ebiederm@xmission.com (Eric W. Biederman) To: Linux Containers Cc: , Miklos Szeredi , Ian Kent , , Seth Forshee Date: Wed, 29 Nov 2017 18:01:16 -0600 Message-ID: <874lpck52r.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1eKCI5-0000WS-GQ;;;mid=<874lpck52r.fsf@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=67.3.248.7;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+44pEUob6FIggTJG2ZWru3bKNUFOu7rGg= X-SA-Exim-Connect-IP: 67.3.248.7 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 1.5 XMNoVowels Alpha-numberic number with no vowels * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4887] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa03 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa03 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;Linux Containers X-Spam-Relay-Country: X-Spam-Timing: total 1422 ms - load_scoreonly_sql: 0.06 (0.0%), signal_user_changed: 7 (0.5%), b_tie_ro: 5.0 (0.3%), parse: 1.01 (0.1%), extract_message_metadata: 3.5 (0.2%), get_uri_detail_list: 0.83 (0.1%), tests_pri_-1000: 6 (0.4%), tests_pri_-950: 2.3 (0.2%), tests_pri_-900: 1.80 (0.1%), tests_pri_-400: 21 (1.5%), check_bayes: 19 (1.4%), b_tokenize: 6 (0.5%), b_tok_get_all: 4.6 (0.3%), b_comp_prob: 2.7 (0.2%), b_tok_touch_all: 2.2 (0.2%), b_finish: 0.88 (0.1%), tests_pri_0: 1350 (94.9%), check_dkim_signature: 0.74 (0.1%), check_dkim_adsp: 5 (0.4%), tests_pri_500: 8 (0.5%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH 0/2] userns: automount cleanups X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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(-)