get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2227716/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2227716,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227716/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260424060543.462475-1-pvorel@suse.cz/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260424060543.462475-1-pvorel@suse.cz>",
    "date": "2026-04-24T06:05:43",
    "name": "[1/1] ioctl_pidfd06: Update kernel version",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "79a455471822bbf42dee10a51cb2f1d4871e80fb",
    "submitter": {
        "id": 70792,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/70792/?format=api",
        "name": "Petr Vorel",
        "email": "pvorel@suse.cz"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260424060543.462475-1-pvorel@suse.cz/mbox/",
    "series": [
        {
            "id": 501306,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501306/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=501306",
            "date": "2026-04-24T06:05:43",
            "name": "[1/1] ioctl_pidfd06: Update kernel version",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501306/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227716/comments/",
    "check": "warning",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227716/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=n7is2gV2;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=Sy4/Tl1m;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=sggjp0/K;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=9XYBfFCS;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)",
            "smtp-out1.suse.de;\n\tnone"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\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 4g22Wl2QCxz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 16:05:54 +1000 (AEST)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id D17803E28C7\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 08:05:51 +0200 (CEST)",
            "from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 2E9853E2571\n for <ltp@lists.linux.it>; Fri, 24 Apr 2026 08:05:49 +0200 (CEST)",
            "from smtp-out1.suse.de (smtp-out1.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 972A260010A\n for <ltp@lists.linux.it>; Fri, 24 Apr 2026 08:05:48 +0200 (CEST)",
            "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id CC7736A866;\n Fri, 24 Apr 2026 06:05:46 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A9A0A593AE;\n Fri, 24 Apr 2026 06:05:46 +0000 (UTC)",
            "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id 5OspKDoI62nWdgAAD6G6ig\n (envelope-from <pvorel@suse.cz>); Fri, 24 Apr 2026 06:05:46 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777010747;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=M+a6r7NZVkRCp9bkYHtRUVZFDQBHBnqwQSO1GjswVxU=;\n b=n7is2gV2xxU4d8mwj++lQpsJUzpsXxTK2e629bba5UeTtpdL1JBob9r92vMeyfxaaRY706\n dlwFw7zuorDs3JuVy4RUpJYDtvg40DJBSh/7ZENo+eTDAd6TxaVHCFXPJgr9ght99AaTJA\n hhQH82Nhlhp+hQeEOYgZT4RDCVuUslY=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777010747;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=M+a6r7NZVkRCp9bkYHtRUVZFDQBHBnqwQSO1GjswVxU=;\n b=Sy4/Tl1mxZqOR867vFkXSD+l3TGsLtEEWrvhlmyg9GlVzggRps99v8WZvha1RApbGyjZNl\n y3g9/Vmer5nv1JBQ==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777010746;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=M+a6r7NZVkRCp9bkYHtRUVZFDQBHBnqwQSO1GjswVxU=;\n b=sggjp0/KWRLX8UEBwigV1du9vlBPG/T0LjCeZzKrL5iStnHoXu7CUxNpnd0JrHJ3z8nazt\n R8facjtZRbsWjVkeR3nOhLG/876+gZoRZZhvjYIbuS0gXI2OtGmIvda5+F88cWZLh1mzPd\n CGPcFjhTnHyzOCs+Up+YreN4/CSVAL0=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777010746;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=M+a6r7NZVkRCp9bkYHtRUVZFDQBHBnqwQSO1GjswVxU=;\n b=9XYBfFCScA7ZBeKCTE9AIEHNdJpDr2nIr3rsuAfLfEdkK464qFaVO7f60mbozBaqczhBY2\n 1Ez3RLR8WH+svCDw=="
        ],
        "From": "Petr Vorel <pvorel@suse.cz>",
        "To": "ltp@lists.linux.it",
        "Date": "Fri, 24 Apr 2026 08:05:43 +0200",
        "Message-ID": "<20260424060543.462475-1-pvorel@suse.cz>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-Spam-Score": "-2.80",
        "X-Spam-Level": "",
        "X-Spamd-Result": "default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.999];\n MIME_GOOD(-0.10)[text/plain];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com];\n RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[4];\n FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];\n FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n RCVD_COUNT_TWO(0.00)[2];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email, imap1.dmz-prg2.suse.org:helo,\n suse.cz:mid, suse.cz:email]",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_NONE,SPF_PASS\n shortcircuit=no autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-2.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH 1/1] ioctl_pidfd06: Update kernel version",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "Kernel commit ab89060fbc92e (\"pidfs: return -EREMOTE when PIDFD_GET_INFO\nis called on another ns\") from v7.0 was backported into stable/LTS\nkernels v6.18.14 (7446125afb6d9) and v6.19.10 (2920abaf56c09).\n\nReported-by: Wei Gao <wegao@suse.com>\nSigned-off-by: Petr Vorel <pvorel@suse.cz>\n---\n testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c b/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c\nindex 0f24d4741f..cc66d54cf4 100644\n--- a/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c\n+++ b/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c\n@@ -54,7 +54,7 @@ static void setup(void)\n \tif (!ioctl_pidfd_info_exit_supported())\n \t\ttst_brk(TCONF, \"PIDFD_INFO_EXIT is not supported by ioctl()\");\n \n-\tif (tst_kvercmp(7, 0, 0) >= 0)\n+\tif (tst_kvercmp(6, 18, 14) >= 0)\n \t\terr_nr = EREMOTE;\n }\n \n",
    "prefixes": [
        "1/1"
    ]
}