Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2823820rwb; Thu, 29 Sep 2022 15:54:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7X2zACvLu4ib5LAVsNTH+RNn1ZVcFfXgg07YHXxCMsGWt/b5Gl7RAwiQVnOc8C2d2UfFH2 X-Received: by 2002:a17:907:7d8b:b0:781:cfa4:5058 with SMTP id oz11-20020a1709077d8b00b00781cfa45058mr4410496ejc.15.1664492085452; Thu, 29 Sep 2022 15:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664492085; cv=none; d=google.com; s=arc-20160816; b=sJ+UHrw8ks//E4CC6Z9rGinp4PI7p8BQgjG9j6bzJ2SPamO/m//3FDAm2ZwKZj0qa9 g2b/hm8ZnnCXQrvwR9RuS0rEQ+Locz/fSe6K11J+VMBfxNXdK+4hwCt3Ag50nKGOThL+ 2UUJ13hO3crVuOOD3r6p/LqUJNiMrbLsjcuvN1sOSi26NkuCcUcfsP1nTg6ynIqhn7EO vM2poV2oC1LysqxTFkrGGEgOjM5Q9XC1M0p2V7FXkBq3oHswD4ktQDp6BAg/naaseXGm +ESt5TCiSC1gECP7z0kG+xzMwx//omAYNgmRejSbEqQDM+XZZ3OjZmOOXMHkOCfr3E4k 0lkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:mime-version:user-agent:message-id :in-reply-to:date:references:cc:to:from; bh=88dmL/KyJbg6kdJCYCLL8YsNx20DokbJJPaGi2mr/to=; b=pWmT6tv2DYbWdb4WrO1RNSUX3vhyd8KYHUU5mXsxo44un6AvzsFX6FITjcfmm37rWC QK5MTULTWjmGwRxM57Y4Bhxkqozk0mT2iaqhZuAV55LXdiFGsz31VPfLf+KlIWSrWGGp i+RzPlIptVQjPR1jo70hHO+Ir5kHnSx0LCvS7CoqncoTWsI6N/zukdCOu1YOZFkhL4XX LkTNig8CpcKO20p+ZAABFeXFJb6zajIREBssnP+Y/vMG/wdq+L115LmiN8aQ4NUYwMB5 H/8aOcskUoUoa35zzlMs8I/P94SqkG/9I6Rf+irgnEalK0xNMHf2R2t3n+nEnU2krSNI XwEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bi10-20020a170906a24a00b00782bffd5b3fsi302867ejb.903.2022.09.29.15.54.19; Thu, 29 Sep 2022 15:54:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229551AbiI2WRk (ORCPT + 99 others); Thu, 29 Sep 2022 18:17:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiI2WRi (ORCPT ); Thu, 29 Sep 2022 18:17:38 -0400 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE10FCA6D; Thu, 29 Sep 2022 15:17:37 -0700 (PDT) Received: from in02.mta.xmission.com ([166.70.13.52]:56266) by out02.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oe1qa-002lKm-T6; Thu, 29 Sep 2022 16:17:36 -0600 Received: from ip68-110-29-46.om.om.cox.net ([68.110.29.46]:57822 helo=email.froward.int.ebiederm.org.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oe1qY-000QBy-Up; Thu, 29 Sep 2022 16:17:35 -0600 From: "Eric W. Biederman" To: Lukas Bulwahn Cc: Kees Cook , linux-mm@kvack.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220929203903.9475-1-lukas.bulwahn@gmail.com> Date: Thu, 29 Sep 2022 17:17:28 -0500 In-Reply-To: <20220929203903.9475-1-lukas.bulwahn@gmail.com> (Lukas Bulwahn's message of "Thu, 29 Sep 2022 22:39:03 +0200") Message-ID: <87tu4p3jwn.fsf@email.froward.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1oe1qY-000QBy-Up;;;mid=<87tu4p3jwn.fsf@email.froward.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.110.29.46;;;frm=ebiederm@xmission.com;;;spf=softfail X-XM-AID: U2FsdGVkX19PmXCMvq3dJ4UVR1Zc7W458rz2Nb6AWpM= X-SA-Exim-Connect-IP: 68.110.29.46 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: **;Lukas Bulwahn X-Spam-Relay-Country: X-Spam-Timing: total 377 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 9 (2.4%), b_tie_ro: 8 (2.0%), parse: 0.75 (0.2%), extract_message_metadata: 11 (2.8%), get_uri_detail_list: 0.98 (0.3%), tests_pri_-1000: 13 (3.4%), tests_pri_-950: 1.24 (0.3%), tests_pri_-900: 0.97 (0.3%), tests_pri_-90: 171 (45.3%), check_bayes: 169 (44.9%), b_tokenize: 5 (1.4%), b_tok_get_all: 5 (1.5%), b_comp_prob: 2.8 (0.8%), b_tok_touch_all: 152 (40.4%), b_finish: 0.95 (0.3%), tests_pri_0: 160 (42.4%), check_dkim_signature: 0.50 (0.1%), check_dkim_adsp: 2.8 (0.8%), poll_dns_idle: 0.92 (0.2%), tests_pri_10: 2.0 (0.5%), tests_pri_500: 7 (1.7%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH] binfmt: remove taso from linux_binprm struct X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lukas Bulwahn writes: > With commit 987f20a9dcce ("a.out: Remove the a.out implementation"), the > use of the special taso flag for alpha architectures in the linux_binprm > struct is gone. > > Remove the definition of taso in the linux_binprm struct. > > No functional change. Reviewed-by: "Eric W. Biederman" Alphas binfmt_loader is the only use I can find of that variable so let's kill it as well. > Signed-off-by: Lukas Bulwahn > --- > Kees, please pick this patch on top of the commit above. > > include/linux/binfmts.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h > index 3dc20c4f394c..8d51f69f9f5e 100644 > --- a/include/linux/binfmts.h > +++ b/include/linux/binfmts.h > @@ -43,9 +43,6 @@ struct linux_binprm { > * original userspace. > */ > point_of_no_return:1; > -#ifdef __alpha__ > - unsigned int taso:1; > -#endif > struct file *executable; /* Executable to pass to the interpreter */ > struct file *interpreter; > struct file *file;