From patchwork Wed Nov 20 18:53:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 101599 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D51323858D26 for ; Wed, 20 Nov 2024 18:54:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D51323858D26 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id 8A34D3858D26 for ; Wed, 20 Nov 2024 18:53:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A34D3858D26 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8A34D3858D26 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.77.166.138 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732128817; cv=none; b=qCt1CiCFuJ4TXb/eKkkfWEWQ/ZZEvdUeGK0ZXIqmCDH7IZHtLcnBjA/UE4WM9SqPkY2nLHN9CMLVUXdGFs7Aa/gUtdYae4rTk5oJRorGitfDk78ET5CqYaSOkjSo8VadIhrPDSJ6Feo7bKF/z+57STqzyAzXFZHsVjfzVQA7+5I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732128817; c=relaxed/simple; bh=PAx+DZErCB8PMrRoqwv4aVx0jXLeRpmshDxPr0yP/x8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=r7HF1Gt+m8Pg8Cu1PdwmuGiEIWYVz/qSmd5m/ys/IszJdQNaaKeKk9Ms9AHoUMnR7T/k1ZFvBcy6ympgeu7Xl6OKcPNNcEvW74WJdAN0Om1F/giw2UQdWd/VTBteue8EMJ629JnTv9HlGF68CZPrF1yUfk0H1YbWBukEp+4NyTg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A34D3858D26 Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 5A93CA1BEF; Wed, 20 Nov 2024 19:53:36 +0100 (CET) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zohp06AWLrJh; Wed, 20 Nov 2024 19:53:36 +0100 (CET) Received: from begin.home (aamiens-653-1-40-48.w83-192.abo.wanadoo.fr [83.192.199.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 3F367A1B8A; Wed, 20 Nov 2024 19:53:36 +0100 (CET) Received: from samy by begin.home with local (Exim 4.98) (envelope-from ) id 1tDppX-00000000Pg5-30gP; Wed, 20 Nov 2024 19:53:35 +0100 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited] mman.h: Fix MAP_HASSEMPHORE typo Date: Wed, 20 Nov 2024 19:53:35 +0100 Message-ID: <20241120185335.98698-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org BSD's MAP_HASSEMAPHORE is with an A. MAP_HASSEMPHORE is not used in any Debian software for instance. --- bits/mman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bits/mman.h b/bits/mman.h index af26ccdba3..b3495a7337 100644 --- a/bits/mman.h +++ b/bits/mman.h @@ -50,7 +50,7 @@ /* Other flags. */ #define MAP_FIXED 0x0100 /* Map address must be exactly as requested. */ #define MAP_NOEXTEND 0x0200 /* For MAP_FILE, don't change file size. */ -#define MAP_HASSEMPHORE 0x0400 /* Region may contain semaphores. */ +#define MAP_HASSEMAPHORE 0x0400 /* Region may contain semaphores. */ #define MAP_INHERIT 0x0800 /* Region is retained after exec. */ /* Advice to `madvise'. */