get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2089104,
    "url": "http://patchwork.ozlabs.org/api/patches/2089104/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20250522093003.1958528-1-jiaying.song.cn@windriver.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250522093003.1958528-1-jiaying.song.cn@windriver.com>",
    "list_archive_url": null,
    "date": "2025-05-22T09:30:03",
    "name": "syscalls/ipc: Skip msgctl05 when __USE_TIME64_REDIRECTS is defined",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "a6d6aadfd4c9db2b706fc82947707d8aff66416c",
    "submitter": {
        "id": 77627,
        "url": "http://patchwork.ozlabs.org/api/people/77627/?format=api",
        "name": "Jiaying Song via ltp",
        "email": "ltp@lists.linux.it"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20250522093003.1958528-1-jiaying.song.cn@windriver.com/mbox/",
    "series": [
        {
            "id": 457968,
            "url": "http://patchwork.ozlabs.org/api/series/457968/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=457968",
            "date": "2025-05-22T09:30:03",
            "name": "syscalls/ipc: Skip msgctl05 when __USE_TIME64_REDIRECTS is defined",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/457968/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2089104/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2089104/checks/",
    "tags": {},
    "related": [],
    "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=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=U1jpQfno;\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)"
        ],
        "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 4b33163SlGz1yDq\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 22 May 2025 19:30:17 +1000 (AEST)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id C8DD83CC85D\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 22 May 2025 11:30:21 +0200 (CEST)",
            "from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::5])\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 659E03CBAC9\n for <ltp@lists.linux.it>; Thu, 22 May 2025 11:30:18 +0200 (CEST)",
            "from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com\n [205.220.178.238])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by in-5.smtp.seeweb.it (Postfix) with ESMTPS id C0BD6600721\n for <ltp@lists.linux.it>; Thu, 22 May 2025 11:30:10 +0200 (CEST)",
            "from pps.filterd (m0250811.ppops.net [127.0.0.1])\n by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id\n 54M9H3mT013221\n for <ltp@lists.linux.it>; Thu, 22 May 2025 09:30:09 GMT",
            "from ala-exchng01.corp.ad.wrs.com (ala-exchng01.wrs.com\n [147.11.82.252])\n by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 46rwfwtbqa-5\n (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)\n for <ltp@lists.linux.it>; Thu, 22 May 2025 09:30:09 +0000 (GMT)",
            "from ala-exchng01.corp.ad.wrs.com (147.11.82.252) by\n ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.43; Thu, 22 May 2025 02:29:49 -0700",
            "from pek-lpg-core5.wrs.com (128.224.153.45) by\n ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server id\n 15.1.2507.43 via Frontend Transport; Thu, 22 May 2025 02:29:47 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1747906221; h=to : date :\n message-id : mime-version : subject : list-id : list-unsubscribe :\n list-archive : list-post : list-help : list-subscribe : from :\n reply-to : content-type : content-transfer-encoding : sender : from;\n bh=pvQbJBRguyUKM3idzCTR88DXcnNkuC3Du5GFI9JXEiY=;\n b=U1jpQfnon+xqmlMzLZEH6TSpKZo9egnWUz6mX+zTh4pjaCpnBYq9XBrX8tWFC/386//UP\n PWhQlV8l6woC1xyg8qjp4gXQU0Hg4cz355S+tHf81dgRZVJV2Q9T3Uhey5rDiOxwoeWlzT6\n IAolrZrkr40iI8XTOiVFXcqgzG34Om0=",
        "To": "<ltp@lists.linux.it>",
        "Date": "Thu, 22 May 2025 17:30:03 +0800",
        "Message-ID": "<20250522093003.1958528-1-jiaying.song.cn@windriver.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjUwNTIyMDA5NCBTYWx0ZWRfX2oewmG2h8rhJ\n ykSiY5fRwOKeSZe4UjdpIZ8IAL3ODSbbxpvd6UyM6JNHJmGSZcYswjiXpu0aVofhNc9BW1kAZvm\n sI0PtCSSL0Qy92fuKjEyzgu/hllit+QKbEp3BcWdTr/UhmwGKgT8HbpbETdbeK+sZd6oFJEmA65\n obeDOXsXWoNN5bMXD87nQARX7H3LHKyxMDPKIxO4FFSWWW4lLLDVH+DbUBTL4VeJIB9vAqSoJre\n jHn+5psZQvMzdB9hqCftSopTMvMGHDHjeLczqh5OuamCvzqXvsK2HTdxXx9P/hK3opejHBvzt3u\n rwIShEh1ixd6q0QfVM4jsH5dfnCe44/BsQcxEr6MwkjcI5rBzfWCMCCxBVqDCghzrPLMp8/5SnQ\n qr0D+fRLuhCCDL03p6QvaOWG1TSlqmA7OoVWJeDqfnzzl5jX5EAcd3IPr2i5gyDMVuziPjlS",
        "X-Proofpoint-ORIG-GUID": "H7pCgLSKjjMq2Ly3SeAbKsBpA3_8BYsT",
        "X-Proofpoint-GUID": "H7pCgLSKjjMq2Ly3SeAbKsBpA3_8BYsT",
        "X-Authority-Analysis": "v=2.4 cv=b6Cy4sGx c=1 sm=1 tr=0 ts=682eeea1 cx=c_pps\n a=/ZJR302f846pc/tyiSlYyQ==:117 a=/ZJR302f846pc/tyiSlYyQ==:17\n a=dt9VzEwgFbYA:10 a=t7CeM3EgAAAA:8 a=PXjPc0Suysfkux3l2gYA:9\n a=FdTzh2GWekK77mhwV6Dw:22",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40\n definitions=2025-05-22_04,2025-05-22_01,2025-03-28_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n lowpriorityscore=0\n adultscore=0 spamscore=0 mlxscore=0 mlxlogscore=873 impostorscore=0\n suspectscore=0 malwarescore=0 clxscore=1015 phishscore=0\n priorityscore=1501 bulkscore=0 classifier=spam authscore=0 authtc=n/a\n authcc= route=outbound adjust=0 reason=mlx scancount=1\n engine=8.21.0-2505160000 definitions=main-2505220094",
        "X-Spam-Status": "No, score=0.0 required=7.0 tests=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-5.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.7 at in-5.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH] syscalls/ipc: Skip msgctl05 when\n __USE_TIME64_REDIRECTS is defined",
        "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>",
        "From": "Jiaying Song via ltp <ltp@lists.linux.it>",
        "Reply-To": "jiaying.song.cn@windriver.com",
        "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": "From: Jiaying Song <jiaying.song.cn@windriver.com>\n\nThe msgctl05 test checks if the kernel clears the *_high fields in struct msqid64_ds.\n\nHowever, when __USE_TIME64_REDIRECTS is defined, this structure may not\ncontain those fields due to header redirection. This patch adds a check\nto skip the test in such cases, avoiding false failures and improving test robustness.\n\nSigned-off-by: Jiaying Song <jiaying.song.cn@windriver.com>\n---\n testcases/kernel/syscalls/ipc/msgctl/msgctl05.c | 9 ++++++---\n 1 file changed, 6 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/testcases/kernel/syscalls/ipc/msgctl/msgctl05.c b/testcases/kernel/syscalls/ipc/msgctl/msgctl05.c\nindex cd2643b..27beeb8 100644\n--- a/testcases/kernel/syscalls/ipc/msgctl/msgctl05.c\n+++ b/testcases/kernel/syscalls/ipc/msgctl/msgctl05.c\n@@ -11,7 +11,11 @@\n #include \"tst_test.h\"\n #include \"tst_safe_sysv_ipc.h\"\n \n-#ifdef HAVE_MSQID64_DS_TIME_HIGH\n+#if !defined(HAVE_MSQID64_DS_TIME_HIGH)\n+TST_TEST_TCONF(\"test requires struct msqid64_ds to have the time_high fields\");\n+#elif defined(__USE_TIME64_REDIRECTS)\n+TST_TEST_TCONF(\"test requires __USE_TIME64_REDIRECTS to be undefined\");\n+#else\n \n static void run(void)\n {\n@@ -43,6 +47,5 @@ static struct tst_test test = {\n \t.test_all = run,\n \t.needs_tmpdir = 1,\n };\n-#else\n-TST_TEST_TCONF(\"test requires struct msqid64_ds to have the time_high fields\");\n+\n #endif\n",
    "prefixes": []
}