From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id CF1E53858C60 for ; Sun, 19 Mar 2023 15:10:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF1E53858C60 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-x235.google.com with SMTP id 20so2559195lju.0 for ; Sun, 19 Mar 2023 08:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679238658; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dByo/HxiqT+fe7sZFHuBekb+zmhg/JfjguygnsfB6kE=; b=fuGqsIoIggt1MKXjRt2vlPQtVsZa4+3Un+rtOtpE4TWD/kkd8GRUKPwoI3ARqBteE7 8QZP8MTuQiEuK/AKjUIo0u2vb9WxaOeoM81Mf661SoBckQMr+NDKy1JtiD9Wpt1BuINT BW5wneaiaI6dsk8GnXRb6SO0ZjH8nmHlt4UlPiQzOi+bZN0sg8WG3le7HnjttIavWLyn wIIG/YLI0c3SJHmH59tl4hZwSiikBZBQwwZmDfBi3TutYIKDXdYozVbWrZ8XFVtm/ruO r0xsqbs0twY0l90D19LwEh5kkeik38ekuM5Yn4t6lgcTFhdqAt6bzbP0CGgVDhUVfXHT fBWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679238658; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dByo/HxiqT+fe7sZFHuBekb+zmhg/JfjguygnsfB6kE=; b=2dRYTEVVnsoVzGj+MpHA2uv8t7l6snOD6eI90b3QpZ6RIt2r1wgY/S2ikK4Fp9YUNX xfhtZ19iSoaM0kH0P1fs+sDko+7XXmWAse6+VaG45jD4enDiks20nBkWq9KvzG7lYZFx nLwb4IzeqgFc6Bp1g1lvDStf15aWqgwoyyltwM0F6S9UTNMZO3R7W519pQpDEIkiFkSq v44URZqiTTpWul6SGKCQnAnU5qx4d0VKkJhIkmO3LqkPFze13r6zcmHINDHAKQyHpEz/ ur6NdCuxNINUZjXTGiuOUcXBSHMp0j7hjzpy9ZjMWiXPY58sQBKRYCr28HhRie3orMDn tFgw== X-Gm-Message-State: AO0yUKWF3LSlJnroMyVp0/esqdHMS+uLZfLVWaqbca/NuHUCPiVvJzXw B7WIDsR96O4MNFCLLalnzzPhPkREcDyK2g== X-Google-Smtp-Source: AK7set9HaZyQJNj3GsHCM7Iz2GbvCEpwQzlfOk6ao/xa0m0D69C9je56qcOq1OAdWNzS7eqrUj4ubA== X-Received: by 2002:a2e:9c14:0:b0:295:c377:3eed with SMTP id s20-20020a2e9c14000000b00295c3773eedmr4831576lji.21.1679238657720; Sun, 19 Mar 2023 08:10:57 -0700 (PDT) Received: from surface-pro-6.. ([2a00:1370:818c:4a57:577a:76f4:df43:5e66]) by smtp.gmail.com with ESMTPSA id m19-20020ac24253000000b004e90dee5469sm1274089lfl.157.2023.03.19.08.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Mar 2023 08:10:57 -0700 (PDT) From: Sergey Bugaev To: libc-alpha@sourceware.org, bug-hurd@gnu.org Cc: Samuel Thibault , Sergey Bugaev Subject: [RFC PATCH gnumach 02/34] Remove bootstrap.defs Date: Sun, 19 Mar 2023 18:09:45 +0300 Message-Id: <20230319151017.531737-3-bugaevc@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230319151017.531737-1-bugaevc@gmail.com> References: <20230319151017.531737-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: As far as I can see, this file was imported in the very beginning of GNU Mach history, and unused since then. Nobody implements or uses this interface. GNU Mach uses a different way to pass the privileged ports to the bootstrap tasks: instead of the task(s) actively asking for the ports in an RPC, the ports are preemptively inserted into the IPC space(s) of the task(s), as configured by the boot script. Remove bootstrap.defs so as to not confuse anyone into thinking it works. --- Makefrag.am | 1 - include/mach/bootstrap.defs | 49 ------------------------------------- 2 files changed, 50 deletions(-) delete mode 100644 include/mach/bootstrap.defs diff --git a/Makefrag.am b/Makefrag.am index 358f8db3..5d4f2c48 100644 --- a/Makefrag.am +++ b/Makefrag.am @@ -367,7 +367,6 @@ include_device_HEADERS = \ include_machdir = $(includedir)/mach include_mach_HEADERS = \ - include/mach/bootstrap.defs \ include/mach/default_pager.defs \ include/mach/default_pager_helper.defs \ include/mach/default_pager_types.defs \ diff --git a/include/mach/bootstrap.defs b/include/mach/bootstrap.defs deleted file mode 100644 index 0b233e4a..00000000 --- a/include/mach/bootstrap.defs +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Mach Operating System - * Copyright (c) 1992 Carnegie Mellon University - * All Rights Reserved. - * - * Permission to use, copy, modify and distribute this software and its - * documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" - * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR - * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * - * Carnegie Mellon requests users of this software to return to - * - * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU - * School of Computer Science - * Carnegie Mellon University - * Pittsburgh PA 15213-3890 - * - * any improvements or extensions that they make and grant Carnegie Mellon - * the rights to redistribute these changes. - */ - -subsystem bootstrap 999999; - -#include - -ServerPrefix do_; - -/* - * The old form of the bootstrap_privileged_ports RPC - * is not expressible in Mig syntax, because the reply - * message doesn't have a return code. - */ - -skip; /* old bootstrap_privileged_ports */ - -/* - * The startup task can make this call on its bootstrap port - * to get the privileged ports. - */ - -routine bootstrap_privileged_ports( - bootstrap : mach_port_t; - out priv_host : mach_port_t; - out priv_device : mach_port_t); -- 2.39.2