From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yEF8H86l2mTaawEASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 00:08:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YKdgH86l2mRPdAAAauVa8A (envelope-from ) for ; Tue, 15 Aug 2023 00:08:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 162FF419D8 for ; Tue, 15 Aug 2023 00:08:14 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BL+aENBa; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692050894; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lvyaafqUc1sSOchO2bhcYeqcdx6ucnXKnx43B/FlUTQ=; b=jEAzfaGQ18yh2YVer+XlRWSF03p86s5rZH1Qt9U1iRhqcE7EyeTObcQL+3Sqe1S9aIihdk lJHKvdav6VdL8mj6jIcKdidUrFd0VhGG7lQmBi9KgdE6wQ8Ox1PUvb4PFVaRzZaI3ZGiaU T8xnXB2wrYOO5pLxE8mDbqQCTrUhN1WadjREdp6AbvjzsNGgnu5fH74UeoFNjNJC+3ccC/ YAGdSkaBVr+6xrh6oWGcljgBnJLWWFvLCLQ9XgjfI6vptNzv8CoPnrYBn3rKr7FffctfQC QSzNgU05NImuLqvy1zOY2wYF9mq8IubVM1GjqEhPrxcixuISZDu2qeycN099YA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BL+aENBa; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692050894; a=rsa-sha256; cv=none; b=bTVByWxw59kJJYufJBdtRLQI/6fNXPGfEcG+MDypl+Ye09qtX97BavrubySFq0TS2URynV yyYXr3iH4jRlu+BeFR38Od1cIQ64Kzu1Dsb0S78g1DbLU0dB40KwckuaImHjES2ssb+T2y rf2+LSg9NQD+8MwUi/Q6Uj81UALLTeCO1YQJ+Iq+SNTvwZUAo9MFCY6eHaavuLXbxkynJ/ OiAYIZWykAVK6a56VN3dSzYuwQFQ87iHLEVQwy8s3b0dBhobS/z7F7Y0eFOXnh3nbKb4aL KCdGpuEcSpuFL0Afv2eIY7sS4qdqMvHQblHkmcuMDwjtf98Ei0GZLgXDPX6nmg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVfjP-0001QY-6Y; Mon, 14 Aug 2023 18:08:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVfjG-0001Nl-8V for guix-patches@gnu.org; Mon, 14 Aug 2023 18:08:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVfjF-0003yG-WB for guix-patches@gnu.org; Mon, 14 Aug 2023 18:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVfjF-0004W2-RX for guix-patches@gnu.org; Mon, 14 Aug 2023 18:08:01 -0400 Subject: bug#65036: [PATCH] syscalls: Consistently use existing linux? definition Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 14 Aug 2023 22:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65036 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: soeren@soeren-tempel.net Cc: 65036-done@debbugs.gnu.org Mail-Followup-To: 65036@debbugs.gnu.org, ludo@gnu.org, soeren@soeren-tempel.net Received: via spool by 65036-done@debbugs.gnu.org id=D65036.169205085517317 (code D ref 65036); Mon, 14 Aug 2023 22:08:01 +0000 Received: (at 65036-done) by debbugs.gnu.org; 14 Aug 2023 22:07:35 +0000 Received: from localhost ([127.0.0.1]:34523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVfio-0004VE-Vc for submit@debbugs.gnu.org; Mon, 14 Aug 2023 18:07:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVfio-0004V3-0X for 65036-done@debbugs.gnu.org; Mon, 14 Aug 2023 18:07:34 -0400 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 1qVfig-0003cL-C3; Mon, 14 Aug 2023 18:07:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=lvyaafqUc1sSOchO2bhcYeqcdx6ucnXKnx43B/FlUTQ=; b=BL+aENBaDFct9NFWMLgh SER/iE+DLj3ubyLCnjmqj6Qupz/NNxhpLHwr3GKhDTUft94hdLjfaJxdkUuARaV12s9E12rcIK8/X OGB/C5En7ThSjRBCjf/D4QrRiHkzXO85P+mLQavlw0dddblDhlt4A4G8xXTEX4AEC/L1NtS6iOjDP +k5pB9lwOm6wBkuRmT3q2UJFXkSZeQNami/2CvqQeCwqlMpT/8YmW1XEoNI/81JsSiLVCvfMt+LO0 aS8zI/MwTtiN3Ms8g5slm/XkFrhOJ3QMEIFR8jhypMyRjnM2GawSOMK8voTzTuxg9upFODIXPAPkg kEMGdG9cK3BpGA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230803112123.6866-1-soeren@soeren-tempel.net> Date: Tue, 15 Aug 2023 00:07:21 +0200 In-Reply-To: <20230803112123.6866-1-soeren@soeren-tempel.net> (soeren@soeren-tempel.net's message of "Thu, 3 Aug 2023 13:20:09 +0200") Message-ID: <87wmxx9t2e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 162FF419D8 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.89 X-Migadu-Spam-Score: -6.89 X-TUID: V0qQK3HCoW0s Hi, soeren@soeren-tempel.net skribis: > From: S=C3=B6ren Tempel > > Instead of duplicating this existing logic across the source file. This > will make it easier to add additional linux targets (e.g. linux-musl) in > the future. > > * guix/build/syscalls.scm (readdir*): Use linux? constant. > * guix/build/syscalls.scm (write-socket-address!): Use linux? constant. > * guix/build/syscalls.scm (read-socket-address): Use linux? constant. > > Signed-off-by: S=C3=B6ren Tempel Applied and tweaked the commit log. Thanks! Ludo=E2=80=99.