Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2195388/?format=api
{ "id": 2195388, "url": "http://patchwork.ozlabs.org/api/patches/2195388/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20260211000331.3230060-1-samuel.thibault@ens-lyon.org/", "project": { "id": 41, "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api", "name": "GNU C Library", "link_name": "glibc", "list_id": "libc-alpha.sourceware.org", "list_email": "libc-alpha@sourceware.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260211000331.3230060-1-samuel.thibault@ens-lyon.org>", "list_archive_url": null, "date": "2026-02-11T00:03:31", "name": "[hurd,commited] hurd: _hurd_intr_rpc_mach_msg() might not preserve the correct reply port", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "70eb7cf355498a8e1fe03cf2a2fca925154da17d", "submitter": { "id": 418, "url": "http://patchwork.ozlabs.org/api/people/418/?format=api", "name": "Samuel Thibault", "email": "samuel.thibault@ens-lyon.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20260211000331.3230060-1-samuel.thibault@ens-lyon.org/mbox/", "series": [ { "id": 491751, "url": "http://patchwork.ozlabs.org/api/series/491751/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=491751", "date": "2026-02-11T00:03:31", "name": "[hurd,commited] hurd: _hurd_intr_rpc_mach_msg() might not preserve the correct reply port", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491751/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2195388/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2195388/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "libc-alpha@sourceware.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "libc-alpha@sourceware.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org;\n dmarc=none (p=none dis=none) header.from=ens-lyon.org", "sourceware.org;\n spf=pass smtp.mailfrom=bounce.ens-lyon.org", "server2.sourceware.org;\n arc=none smtp.remote-ip=140.77.166.138" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f9dvH2qG4z1xvb\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 11:03:55 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 2FF4D4BA23C7\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 00:03:53 +0000 (GMT)", "from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138])\n by sourceware.org (Postfix) with ESMTPS id E66994BA2E16\n for <libc-alpha@sourceware.org>; Wed, 11 Feb 2026 00:03:33 +0000 (GMT)", "from localhost (localhost [127.0.0.1])\n by sonata.ens-lyon.org (Postfix) with ESMTP id C843CA026F;\n Wed, 11 Feb 2026 01:03:32 +0100 (CET)", "from sonata.ens-lyon.org ([127.0.0.1])\n by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id nhgLldMn0WoG; Wed, 11 Feb 2026 01:03:32 +0100 (CET)", "from end (aamiens-653-1-40-48.w83-192.abo.wanadoo.fr\n [83.192.199.48])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest\n SHA256) (No client certificate requested)\n by sonata.ens-lyon.org (Postfix) with ESMTPSA id 84367A026E;\n Wed, 11 Feb 2026 01:03:32 +0100 (CET)", "from samy by end with local (Exim 4.99.1)\n (envelope-from <samuel.thibault@ens-lyon.org>)\n id 1vpxhc-0000000DYHw-095v; Wed, 11 Feb 2026 01:03:32 +0100" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 2FF4D4BA23C7", "OpenDKIM Filter v2.11.0 sourceware.org E66994BA2E16" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org E66994BA2E16", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org E66994BA2E16", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770768214; cv=none;\n b=EiGa+H8uudd3UdENL6P9pcvqDfj84Bocpmsi5spPbkXC9g1suJNcSvI5r0DN2IJV2CcQcf/ikMuEWfJXKdeAnNjcyz0exP4TE1mzHF10JqXzANXevpesSj+A/GtfwCU5pMId2A4s/x2exqXPh8Hoqgu/yRdRhTC4miKir7JxuME=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770768214; c=relaxed/simple;\n bh=oou9pokoYwrYbjWTjQHMeYvOaz90uxJVnSmoCx89rIc=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=iygiEmccqdqkGA6sUQjTxL+OqDlGvN65IrXbF9TDx22vCRlmWQP69lVMfjlHugmNYifxboG6+p9vMNO+rgBArr8ueVdWZ7jsgOFgXko4Oyi8+0Vhr9+xDtaiTIhtdfzeMwCcJrPSKwqHWAax6rDMkXQWpFxpcIRIXRxyXgQVpOk=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "From": "Samuel Thibault <samuel.thibault@ens-lyon.org>", "To": "libc-alpha@sourceware.org", "Cc": "Mike Kelly <mike@weatherwax.co.uk>,\n\tcommit-hurd@gnu.org", "Subject": "[hurd,\n commited] hurd: _hurd_intr_rpc_mach_msg() might not preserve the\n correct reply port", "Date": "Wed, 11 Feb 2026 01:03:31 +0100", "Message-ID": "<20260211000331.3230060-1-samuel.thibault@ens-lyon.org>", "X-Mailer": "git-send-email 2.51.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "libc-alpha@sourceware.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Libc-alpha mailing list <libc-alpha.sourceware.org>", "List-Unsubscribe": "<https://sourceware.org/mailman/options/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe>", "List-Archive": "<https://sourceware.org/pipermail/libc-alpha/>", "List-Post": "<mailto:libc-alpha@sourceware.org>", "List-Help": "<mailto:libc-alpha-request@sourceware.org?subject=help>", "List-Subscribe": "<https://sourceware.org/mailman/listinfo/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=subscribe>", "Errors-To": "libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org" }, "content": "From: Mike Kelly <mike@weatherwax.co.uk>\n\nCalls to mach_msg_trap() that return MACH_SEND_INTERRUPTED modify the message header. A subsequent attempt at sending the message can return EINTR for handling by the caller. Mig generated code (expecting the message header to be unaltered) now fails assertion in __mig_dealloc_reply_port(). Fixed by restoring the altered message header content before reattempting RPC message delivery.\nMessage-ID: <20260209204213.91782-2-mike@weatherwax.co.uk>\n---\n hurd/intr-msg.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c\nindex 02e514400f..83db9413ab 100644\n--- a/hurd/intr-msg.c\n+++ b/hurd/intr-msg.c\n@@ -136,6 +136,13 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,\n \t}\n if (!(option & MACH_SEND_INTERRUPT))\n \t{\n+\t m->header.msgh_local_port = rcv_name;\n+\t m->header.msgh_remote_port = remote_port;\n+\t m->header.msgh_id = msgid;\n+\t m->header.msgh_bits = msgh_bits;\n+\t /* Restore the two words clobbered by the reply data. */\n+\t m->request.data = save_data;\n+\n \t option = user_option;\n \t timeout = user_timeout;\n \t goto message;\n", "prefixes": [ "hurd", "commited" ] }