From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tundra.namei.org ([65.99.196.166]:49917 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932334AbbKRAE1 (ORCPT ); Tue, 17 Nov 2015 19:04:27 -0500 Date: Wed, 18 Nov 2015 11:03:58 +1100 (AEDT) From: James Morris To: Seth Forshee cc: "Eric W. Biederman" , Alexander Viro , Serge Hallyn , James Morris , "Serge E. Hallyn" , Andy Lutomirski , linux-kernel@vger.kernel.org, linux-bcache@vger.kernel.org, dm-devel@redhat.com, linux-raid@vger.kernel.org, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov Subject: Re: [PATCH v3 6/7] userns: Replace in_userns with current_in_userns In-Reply-To: <1447778351-118699-7-git-send-email-seth.forshee@canonical.com> Message-ID: References: <1447778351-118699-1-git-send-email-seth.forshee@canonical.com> <1447778351-118699-7-git-send-email-seth.forshee@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 17 Nov 2015, Seth Forshee wrote: > All current callers of in_userns pass current_user_ns as the > first argument. Simplify by replacing in_userns with > current_in_userns which checks whether current_user_ns is in the > namespace supplied as an argument. > > Signed-off-by: Seth Forshee Nice cleanup. Acked-by: James Morris -- James Morris