Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2973881pxa; Tue, 18 Aug 2020 03:10:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5xPMfTEllJwo6ivfyGIHDXlBJUFPdybVzzic1H70tuZS8CoZI2fIVFHOkG3plz1zefq8j X-Received: by 2002:a17:906:528d:: with SMTP id c13mr19800228ejm.61.1597745429500; Tue, 18 Aug 2020 03:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597745429; cv=none; d=google.com; s=arc-20160816; b=sMGjeMOmVziD6DluV9YbURKOl+yTnNb0JebiGt08FgaZZH083DiLCCf57GxYrAs5dT qyFnnsvHPUTGSeVcfSwGbRbqK2irUoxoB/xNXMDUKSrQ8pc67E+gEEMct7CRg3dpXqBK OKkXj5Xuceb4WiUhNpYOJW0LalDXd6coL7/RVFsf+mWmFewj61q0epKYgYxKX2HnleKy 1V4jrLVnSPUMHn5jZH+uXM5+lS6ubRYV1yiNhgOsoOVV2FX7ZL1Wvmc21XavmKcm5rTm DGewgpmIns2U5rZnML0uNtoqEKQ/TiwBaByIsO/Tkt30EstRyc2f+ogEUhskcF+IlaRm mygg== 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=MWCkBnpqCGVL3MZ/jPmbXPzAbsNWkbnTQWfmfkFpwLU=; b=SATgqwytEbPdw4+posTOabGwDl2/xLh5mqyvnwPe3WaGVP/6Py3sFcBb5E6LlIS7zd 5LsqRbwwDbFxjbPnZfzPa0d3cSbXwocjPcZ3dJ9ffq/MGxPNmXH7icXpTLE9eoPndkD7 iwZVHKvBPrdB3o5cFOQRYPpSstOJud0CPCwzuEctTae2YSPBjmGMQWxMq3t7k3Y41MpK IYVPLwN+7beqzCqqNZGyGpn6+07NkXGGuxOk5dUUXG75lRKKYYAMPVX755K3VHL5jHkQ 073Hvr/3arzxu6rJlA7x4WhIKAS6eXlJWkcGATuZjUFr8VDCIs1ejpb6D1sB+dC828k0 1CzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si13110078ejm.213.2020.08.18.03.10.05; Tue, 18 Aug 2020 03:10:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbgHRKJf (ORCPT + 99 others); Tue, 18 Aug 2020 06:09:35 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:37881 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbgHRKJf (ORCPT ); Tue, 18 Aug 2020 06:09:35 -0400 Received: from ip5f5af70b.dynamic.kabel-deutschland.de ([95.90.247.11] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k7yYf-0000al-2x; Tue, 18 Aug 2020 10:09:33 +0000 Date: Tue, 18 Aug 2020 12:09:31 +0200 From: Christian Brauner To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, criu@openvz.org, bpf@vger.kernel.org, Linus Torvalds , Alexander Viro , Oleg Nesterov , Cyrill Gorcunov , Jann Horn , Kees Cook , Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= , Jeff Layton , Miklos Szeredi , Matthew Wilcox , "J. Bruce Fields" , Matthew Wilcox , Trond Myklebust , Chris Wright , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh Subject: Re: [PATCH 03/17] exec: Remove reset_files_struct Message-ID: <20200818100931.oswih4fwmgc3c4nj@wittgenstein> References: <87ft8l6ic3.fsf@x220.int.ebiederm.org> <20200817220425.9389-3-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200817220425.9389-3-ebiederm@xmission.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 17, 2020 at 05:04:11PM -0500, Eric W. Biederman wrote: > Now that exec no longer needs to restore the previous value of current->files > on error there are no more callers of reset_files_struct so remove it. > > Signed-off-by: "Eric W. Biederman" > --- Acked-by: Christian Brauner