From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 08AE33858C2F for ; Sun, 2 Apr 2023 22:43:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 08AE33858C2F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj6QO-0004wT-I1; Sun, 02 Apr 2023 18:43:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=famkONon6ywFKnJRLyn2P8y0uSzQmG0EW7C/legT9qo=; b=NrjZCsY0uR1/fq/5/zSn eOHdsqE2PW9xdJI8+9/jba3Z11Sagjv/oeuN/oFOOSj050fcabKKViqC2VOciuDn5HjhVK6mFRSCg H2v412CtWq4GxxoKYS4Ji2H6tF+SvnpExXTZQgah+o0NMQu6WjGyG8WRnZpmTR5TS8Otsf9piIm4O PlGLx63QA7cXNA36rz9ziCA4uyDhS086/XTQDzdBZmqSyaGhsyHrIBdeh8KxSVXUXSfUVE2UR1++/ /8/rneId90I8SyQr2xd3MuIGfCYN6J3rxdy9/HfNZ/Sea54WwbHXUUlCmmrujmzoOUiEIwKAzFn1A mdcVAFE0SeaTpw==; Received: from [2a01:cb19:4a:a400:de41:a9ff:fe47:ec49] (helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj6QN-0007Wr-2B; Sun, 02 Apr 2023 18:43:47 -0400 Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1pj6QM-00ArFa-05; Mon, 03 Apr 2023 00:43:46 +0200 Date: Mon, 3 Apr 2023 00:43:46 +0200 From: Samuel Thibault To: Sergey Bugaev Cc: libc-alpha@sourceware.org, bug-hurd@gnu.org Subject: Re: [RFC PATCH gnumach 02/34] Remove bootstrap.defs Message-ID: <20230402224345.c7pmnvajsfq54rjm@begin> Mail-Followup-To: Sergey Bugaev , libc-alpha@sourceware.org, bug-hurd@gnu.org References: <20230319151017.531737-1-bugaevc@gmail.com> <20230319151017.531737-3-bugaevc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230319151017.531737-3-bugaevc@gmail.com> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,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: Hello, I guess the do_bootstrap_privileged_ports function can be dropped from the hurd repo? Applied, thanks! Samuel Sergey Bugaev, le dim. 19 mars 2023 18:09:45 +0300, a ecrit: > 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 > -- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.