Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp840857rdh; Thu, 23 Nov 2023 22:02:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9sMwXUf8/S1hdfkzuVHPsszmjnw/llK5sekmfwSfR8ev1GW5d8QO9J9WbS9+AsPZCfT81 X-Received: by 2002:a17:902:ac8f:b0:1c9:e68a:1b58 with SMTP id h15-20020a170902ac8f00b001c9e68a1b58mr1833067plr.54.1700805750136; Thu, 23 Nov 2023 22:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700805750; cv=none; d=google.com; s=arc-20160816; b=oFOZMPQzID3mlEUzMSND1S3XLXkIoTmrVjdEJXOwAhF4My+g+RgZDSOFtxhC9mNGfi LeoP+197BxVcG9q3aOiBx7RAahIB2593l54Q3SJ8OtHAxCQ8U6aUBM0L+X1agWh5FYiZ ZFM6YYKsqKboo/I8Wchk1M/4CqXkygJM9519yfZ5aWU5HfQGE21BXqiLSzmf3wgg5+Ye ivwiLNXswxGhF7pCT4r3zR+VGinop0FcRh82+BLhCOkxMhFnz26xrEXrCyIjwYaYmMaT +ErPdLlFV3UqUYnMY/98l06yMmrCzKB9Ju1dvY89N9V0z8ojH1cjc7mjLT/21Q+nTD0K TqgA== 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=XgYo5DpzklTv2C98gTz9pu+emRfknrxWFMVMbotLOyw=; fh=EzfgvmSFNxJ+Q5Mr8+nPNXuH2gAWQh8CN42PwnskmAs=; b=0KQtQ2WzjQ98buR055jP/yzv8vR1pbeCWLBSyMdrmf+jcbK0NmX4EACSbVYCdEkffx kujHqHVOddv22bWGo43hWIThqxJV2Mnn23BEXYxi3mqezl1KG+AZoXLWfM004iOmo3CL uoAGz+bcYs4Qh1IQRexpvxr40nMLsBwmXqRUKbXlbHJGHE3rFSWUJfwAxSIepE+KvGxl 5YeLl/sXxdoaVP4cAbW5jK1wR6OsUH96eyRqlbCKqrzKMOEzT5IqT4AiKvTpMeaOj/Rq 3VKNS9S0PslPYok6lKQZPvgBth6V6h/9XViEtdqGdELDqWgng5MF4MdyttnQP08ogSoI EdRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e5-20020a170902744500b001cf7e390fd7si2691134plt.113.2023.11.23.22.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 22:02:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 69469807C85B; Thu, 23 Nov 2023 22:01:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbjKXGAy (ORCPT + 99 others); Fri, 24 Nov 2023 01:00:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjKXGAw (ORCPT ); Fri, 24 Nov 2023 01:00:52 -0500 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 921DCD6C; Thu, 23 Nov 2023 22:00:58 -0800 (PST) Received: from in02.mta.xmission.com ([166.70.13.52]:39710) by out02.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1r6PFB-005ba8-Kx; Thu, 23 Nov 2023 23:00:49 -0700 Received: from ip68-227-168-167.om.om.cox.net ([68.227.168.167]:60692 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 1r6PFA-00DCbd-Ih; Thu, 23 Nov 2023 23:00:49 -0700 From: "Eric W. Biederman" To: Dimitri John Ledkov Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Geert Uytterhoeven , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , linux-alpha@vger.kernel.org, linux-m68k@lists.linux-m68k.org, x86@kernel.org, linux-kernel@vger.kernel.org References: <20231123180246.750674-1-dimitri.ledkov@canonical.com> Date: Fri, 24 Nov 2023 00:00:15 -0600 In-Reply-To: <20231123180246.750674-1-dimitri.ledkov@canonical.com> (Dimitri John Ledkov's message of "Thu, 23 Nov 2023 18:02:40 +0000") Message-ID: <87plzzu1w0.fsf@email.froward.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1r6PFA-00DCbd-Ih;;;mid=<87plzzu1w0.fsf@email.froward.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.227.168.167;;;frm=ebiederm@xmission.com;;;spf=pass X-XM-AID: U2FsdGVkX18y8s90sAMWqqBRxivL9OmnWIytNbRgPXg= X-SA-Exim-Connect-IP: 68.227.168.167 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-DCC: XMission; sa06 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;Dimitri John Ledkov X-Spam-Relay-Country: X-Spam-Timing: total 427 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 11 (2.6%), b_tie_ro: 10 (2.3%), parse: 0.84 (0.2%), extract_message_metadata: 12 (2.7%), get_uri_detail_list: 1.58 (0.4%), tests_pri_-2000: 10 (2.3%), tests_pri_-1000: 3.0 (0.7%), tests_pri_-950: 1.19 (0.3%), tests_pri_-900: 1.02 (0.2%), tests_pri_-90: 73 (17.1%), check_bayes: 72 (16.8%), b_tokenize: 9 (2.0%), b_tok_get_all: 8 (1.9%), b_comp_prob: 2.3 (0.5%), b_tok_touch_all: 49 (11.4%), b_finish: 1.04 (0.2%), tests_pri_0: 296 (69.2%), check_dkim_signature: 0.48 (0.1%), check_dkim_adsp: 2.8 (0.7%), poll_dns_idle: 1.09 (0.3%), tests_pri_10: 2.4 (0.6%), tests_pri_500: 14 (3.4%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH 0/5] remove the last bits of a.out support 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 22:01:13 -0800 (PST) Dimitri John Ledkov writes: > I was working on how linux-libc-dev headers are shipped in Ubuntu and > stumbled upon seemingly unused and useless linux/a.out.h header. It > seems like it is an accidental leftover at this point. How do you see that they are unused? Are they never exported to userspace? Are there any userspace programs that care? Performing a quick debian code search I see chromium, qt6, ruby-rogue, hurd, bazel_bootstrap, aboot, cde. I can imagine all kinds of reasons old code could be using headers for a historical format. Some of them are quite legitimate, and some of them are quite silly. If it is old code like aboot it may be that it is difficult to test any changes. If memory serves you have to flash your firmware to change/test aboot. Because showing userspace does not care about the definitions in a file is a completely different problem then showing the kernel does not care about the definitions I left them, last time I was working in this area. Keeping headers that will never change is not cost to the kernel so it doesn't hurt us to be nice to historical userspace. My quick debian code search suggests that there are pieces of userspace that still use linux/a.out.h. Are you seeing something I am not? Do all of those pieces of code compile just fine with a.out.h missing? Eric > Dimitri John Ledkov (5): > alpha: remove a.out support from tools/objstrip > alpha: stop shipping a.out.h uapi headers > m68k: stop shipping a.out.h uapi headers > x86: stop shipping a.out.h uapi headers > uapi: remove a.out.h uapi header > > arch/alpha/boot/tools/objstrip.c | 52 +----- > arch/alpha/include/uapi/asm/a.out.h | 92 ---------- > arch/m68k/include/uapi/asm/a.out.h | 21 --- > arch/x86/include/uapi/asm/a.out.h | 21 --- > include/uapi/Kbuild | 4 - > include/uapi/linux/a.out.h | 251 ---------------------------- > 6 files changed, 6 insertions(+), 435 deletions(-) > delete mode 100644 arch/alpha/include/uapi/asm/a.out.h > delete mode 100644 arch/m68k/include/uapi/asm/a.out.h > delete mode 100644 arch/x86/include/uapi/asm/a.out.h > delete mode 100644 include/uapi/linux/a.out.h