Show a cover letter.

GET /api/1.2/covers/2234016/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2234016,
    "url": "http://patchwork.ozlabs.org/api/1.2/covers/2234016/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/cover/20260507075006.8690-1-chrubis@suse.cz/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260507075006.8690-1-chrubis@suse.cz>",
    "list_archive_url": null,
    "date": "2026-05-07T07:50:04",
    "name": "[v2,0/2] Fix proc parsing in newuname01",
    "submitter": {
        "id": 8530,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/8530/?format=api",
        "name": "Cyril Hrubis",
        "email": "chrubis@suse.cz"
    },
    "mbox": "http://patchwork.ozlabs.org/project/ltp/cover/20260507075006.8690-1-chrubis@suse.cz/mbox/",
    "series": [
        {
            "id": 503121,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503121/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=503121",
            "date": "2026-05-07T07:50:05",
            "name": "Fix proc parsing in newuname01",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/503121/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2234016/comments/",
    "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=DGJDZy7s;\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=sqd0DboA;\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=DGJDZy7s;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=sqd0DboA;\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-out2.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=DGJDZy7s;\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=sqd0DboA"
        ],
        "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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gB4DP4l52z1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 17:50:29 +1000 (AEST)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 5C5CC3E2C2F\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  7 May 2026 09:50:27 +0200 (CEST)",
            "from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 75C3B3E2C5B\n for <ltp@lists.linux.it>; Thu,  7 May 2026 09:50:11 +0200 (CEST)",
            "from smtp-out2.suse.de (smtp-out2.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:2])\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-6.smtp.seeweb.it (Postfix) with ESMTPS id BC3A7140042C\n for <ltp@lists.linux.it>; Thu,  7 May 2026 09:50:10 +0200 (CEST)",
            "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104: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-out2.suse.de (Postfix) with ESMTPS id 1FCD05D41C\n for <ltp@lists.linux.it>; Thu,  7 May 2026 07:50:04 +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 0B017593A7\n for <ltp@lists.linux.it>; Thu,  7 May 2026 07:50:04 +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 d2x5ASxE/Gn8HQAAD6G6ig\n (envelope-from <chrubis@suse.cz>)\n for <ltp@lists.linux.it>; Thu, 07 May 2026 07:50:04 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1778140204; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=H4pBAVTPOpVanU/9NiiWF8Q7aI/pZJLMR2BE/SBmKDw=;\n b=DGJDZy7sytb2lNeelGXtkOnKycFCzHzuLfGMLdQG06YAe6lJsqPUAOgtU2oQ1Fkw9t76lX\n nr5ruTwLrlb0/SETD5wXqlqxJguAtkvlJKeFPdW+p3ujp4oxfCbL5HIgK1Bno5ltQxO/qS\n kZGLBFqOZeLWwcZExnHklfIghlfQo0s=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1778140204;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=H4pBAVTPOpVanU/9NiiWF8Q7aI/pZJLMR2BE/SBmKDw=;\n b=sqd0DboA+kXBqr9bNgUww2EIOysaixUPAnoJNM1c5W+poJaOU1Gebqw1ro7cJkZcKHSHLK\n OkF+sshzrbOgagAg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1778140204; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=H4pBAVTPOpVanU/9NiiWF8Q7aI/pZJLMR2BE/SBmKDw=;\n b=DGJDZy7sytb2lNeelGXtkOnKycFCzHzuLfGMLdQG06YAe6lJsqPUAOgtU2oQ1Fkw9t76lX\n nr5ruTwLrlb0/SETD5wXqlqxJguAtkvlJKeFPdW+p3ujp4oxfCbL5HIgK1Bno5ltQxO/qS\n kZGLBFqOZeLWwcZExnHklfIghlfQo0s=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1778140204;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=H4pBAVTPOpVanU/9NiiWF8Q7aI/pZJLMR2BE/SBmKDw=;\n b=sqd0DboA+kXBqr9bNgUww2EIOysaixUPAnoJNM1c5W+poJaOU1Gebqw1ro7cJkZcKHSHLK\n OkF+sshzrbOgagAg=="
        ],
        "From": "Cyril Hrubis <chrubis@suse.cz>",
        "To": "ltp@lists.linux.it",
        "Date": "Thu,  7 May 2026 09:50:04 +0200",
        "Message-ID": "<20260507075006.8690-1-chrubis@suse.cz>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-Spam-Score": "-3.01",
        "X-Rspamd-Action": "no action",
        "X-Spamd-Result": "default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[];\n MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+];\n RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[];\n FROM_HAS_DN(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n TO_DN_NONE(0.00)[];\n PREVIOUSLY_DELIVERED(0.00)[ltp@lists.linux.it];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n RCVD_VIA_SMTP_AUTH(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,\n imap1.dmz-prg2.suse.org:helo, suse.cz:mid, suse.cz:dkim]",
        "X-Rspamd-Server": "rspamd1.dmz-prg2.suse.org",
        "X-Rspamd-Queue-Id": "1FCD05D41C",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-6.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH v2 0/2] Fix proc parsing in newuname01",
        "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": "Turns out some of the strings in procfs can be empty (file with just a\nnewline) and in such case scanf(\"%s\", ...) fails to read the file while\nwhat we needed instead is a function that would produce an empty string.\nThis patchset addds such function and makes use of it in the\nnewuname01 test.\n\nv2:\n   - added returns to safe_file_read_str()\n   - fixed typo in doc comment\n\nCyril Hrubis (2):\n  lib: safe_file_ops: Add SAFE_FILE_READ_STR()\n  syscalls: newuname01: Fix fail on empty domainname\n\n include/tst_safe_file_ops.h                   | 21 +++++++++++++++\n lib/safe_file_ops.c                           | 26 +++++++++++++++++++\n .../kernel/syscalls/newuname/newuname01.c     |  8 +++---\n 3 files changed, 51 insertions(+), 4 deletions(-)"
}