Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39B2EC433FE for ; Wed, 5 Jan 2022 06:02:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237613AbiAEGC2 (ORCPT ); Wed, 5 Jan 2022 01:02:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237605AbiAEGCZ (ORCPT ); Wed, 5 Jan 2022 01:02:25 -0500 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21846C061761; Tue, 4 Jan 2022 22:02:25 -0800 (PST) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4zNP-00HOIu-92; Wed, 05 Jan 2022 06:02:23 +0000 Date: Wed, 5 Jan 2022 06:02:23 +0000 From: Al Viro To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Linus Torvalds , Alexey Gladkov , Kyle Huey , Oleg Nesterov , Kees Cook , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Martin Schwidefsky , Christoph Hellwig Subject: Re: [PATCH 05/10] exit: Stop exporting do_exit Message-ID: References: <87a6ha4zsd.fsf@email.froward.int.ebiederm.org> <20211208202532.16409-5-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211208202532.16409-5-ebiederm@xmission.com> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 08, 2021 at 02:25:27PM -0600, Eric W. Biederman wrote: > Now that there are no more modular uses of do_exit remove the EXPORT_SYMBOL. > > Suggested-by: Christoph Hellwig > Signed-off-by: "Eric W. Biederman" > --- > kernel/exit.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/exit.c b/kernel/exit.c > index f975cd8a2ed8..57afac845a0a 100644 > --- a/kernel/exit.c > +++ b/kernel/exit.c > @@ -843,7 +843,6 @@ void __noreturn do_exit(long code) > lockdep_free_task(tsk); > do_task_dead(); > } > -EXPORT_SYMBOL_GPL(do_exit); "Now" in the commit message is misleading, AFAICS - there's no such users in the mainline right now (and yes, that one could be moved all the way up).