{"id":2232274,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2232274/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/patch/20260504-safe_splice-v2-2-aa7eaa6b5ed7@suse.com/","project":{"id":59,"url":"http://patchwork.ozlabs.org/api/1.2/projects/59/?format=json","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":"<20260504-safe_splice-v2-2-aa7eaa6b5ed7@suse.com>","list_archive_url":null,"date":"2026-05-04T08:04:55","name":"[v2,2/2] tee01, vmsplice01, af_alg08: Use SAFE_SPLICE()","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":false,"hash":"eba19044232e8965b47d2c209fda8a229f99dff2","submitter":{"id":83220,"url":"http://patchwork.ozlabs.org/api/1.2/people/83220/?format=json","name":"Andrea Cervesato","email":"andrea.cervesato@suse.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ltp/patch/20260504-safe_splice-v2-2-aa7eaa6b5ed7@suse.com/mbox/","series":[{"id":502623,"url":"http://patchwork.ozlabs.org/api/1.2/series/502623/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/list/?series=502623","date":"2026-05-04T08:04:53","name":"Introduce SAFE_SPLICE()","version":2,"mbox":"http://patchwork.ozlabs.org/series/502623/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2232274/comments/","check":"warning","checks":"http://patchwork.ozlabs.org/api/patches/2232274/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=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=JrTX9hAT;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.de\n header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=S23JeaLo;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa\n header.b=JrTX9hAT;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=S23JeaLo;\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 4g8DlM2zh2z1y04\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 04 May 2026 18:07:27 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 6555B3E2C6F\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  4 May 2026 10:07:24 +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))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 4B0843E4AC0\n for <ltp@lists.linux.it>; Mon,  4 May 2026 10:06:55 +0200 (CEST)","from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\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 3ED2F140044F\n for <ltp@lists.linux.it>; Mon,  4 May 2026 10:06:53 +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 30E356AAD2;\n Mon,  4 May 2026 08:06:41 +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 17DA4593A3;\n Mon,  4 May 2026 08:06:41 +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 gKRUBJFT+GktTQAAD6G6ig\n (envelope-from <andrea.cervesato@suse.de>); Mon, 04 May 2026 08:06:41 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777882001;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=LMLqtNRfmvrKgY2g5U0csxbJvcICXOuSWNBmd7rjq/U=;\n b=JrTX9hATqYDUK1bm/ci+rhyxI2G9kIqrUEAzzf3qCrjEcR6jbBiaQaZL5WQpQOrWnaCV3p\n DiANeunJkhxCaRaIQ/etn/aAsaPXigd0ZWydLCDrmXrX/lFO9jelRjPdJ4Z9OIcznjfdRU\n g4dtCj11lsCYika/InxhEbImNpis7zU=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777882001;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=LMLqtNRfmvrKgY2g5U0csxbJvcICXOuSWNBmd7rjq/U=;\n b=S23JeaLoHboSeItAJ8TzPBqoEeTLqyoliUDfp0Ug4VexsexFZXncUt/Qei/VAFBqBrK1dZ\n TRHwHMuk76mCe2Aw==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777882001;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=LMLqtNRfmvrKgY2g5U0csxbJvcICXOuSWNBmd7rjq/U=;\n b=JrTX9hATqYDUK1bm/ci+rhyxI2G9kIqrUEAzzf3qCrjEcR6jbBiaQaZL5WQpQOrWnaCV3p\n DiANeunJkhxCaRaIQ/etn/aAsaPXigd0ZWydLCDrmXrX/lFO9jelRjPdJ4Z9OIcznjfdRU\n g4dtCj11lsCYika/InxhEbImNpis7zU=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777882001;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=LMLqtNRfmvrKgY2g5U0csxbJvcICXOuSWNBmd7rjq/U=;\n b=S23JeaLoHboSeItAJ8TzPBqoEeTLqyoliUDfp0Ug4VexsexFZXncUt/Qei/VAFBqBrK1dZ\n TRHwHMuk76mCe2Aw=="],"From":"Andrea Cervesato <andrea.cervesato@suse.de>","Date":"Mon, 04 May 2026 10:04:55 +0200","MIME-Version":"1.0","Message-Id":"<20260504-safe_splice-v2-2-aa7eaa6b5ed7@suse.com>","References":"<20260504-safe_splice-v2-0-aa7eaa6b5ed7@suse.com>","In-Reply-To":"<20260504-safe_splice-v2-0-aa7eaa6b5ed7@suse.com>","To":"Linux Test Project <ltp@lists.linux.it>","X-Mailer":"b4 0.14.2","X-Developer-Signature":"v=1; a=ed25519-sha256; t=1777882000; l=1789;\n i=andrea.cervesato@suse.com; s=20251210; h=from:subject:message-id;\n bh=p0YHGOST3qEJCVhtCCknzR+cMPal4AFtUeGAa5lVitU=;\n b=7XFSkD5xwCccoFPadAlSnTZVkJCUdHWm+rtAT5lErb39cf43WvQPYB3R1asKuadZU2PdBNDz3\n RAsucnCC2OhDq+S+Nq+JMN9NRvC9gmMLdhb89S+reT7ZPsS27YM+igk","X-Developer-Key":"i=andrea.cervesato@suse.com; a=ed25519;\n pk=zKY+6GCauOiuHNZ//d8PQ/UL4jFCTKbXrzXAOQSLevI=","X-Spamd-Result":"default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain];\n RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n URIBL_BLOCKED(0.00)[suse.com:mid,suse.com:email,imap1.dmz-prg2.suse.org:helo];\n TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+];\n FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n RCVD_COUNT_TWO(0.00)[2];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo, suse.com:mid,\n suse.com:email]","X-Spam-Score":"-4.30","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 2/2] tee01, vmsplice01, af_alg08: Use SAFE_SPLICE()","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":"From: Andrea Cervesato <andrea.cervesato@suse.com>\n\nReplace raw splice() calls with SAFE_SPLICE() in tests where splice is\nutility plumbing, not the subject of testing.\n\nSigned-off-by: Andrea Cervesato <andrea.cervesato@suse.com>\n---\n testcases/kernel/crypto/af_alg08.c              | 1 +\n testcases/kernel/syscalls/tee/tee01.c           | 1 +\n testcases/kernel/syscalls/vmsplice/vmsplice01.c | 1 +\n 3 files changed, 3 insertions(+)","diff":"diff --git a/testcases/kernel/crypto/af_alg08.c b/testcases/kernel/crypto/af_alg08.c\nindex 05f17eea4797b7575c97e194e34c0390c6d6be22..5517a7cec31f56c6769d0a5ac37d20477986c3f0 100644\n--- a/testcases/kernel/crypto/af_alg08.c\n+++ b/testcases/kernel/crypto/af_alg08.c\n@@ -27,6 +27,7 @@\n #include \"tst_test.h\"\n #include \"tst_af_alg.h\"\n #include \"lapi/socket.h\"\n+#include \"lapi/splice.h\"\n \n #define TESTFILE \"copy_fail\"\n #define OVERWRITE_SIZE 4\ndiff --git a/testcases/kernel/syscalls/tee/tee01.c b/testcases/kernel/syscalls/tee/tee01.c\nindex 680793eb2b21cfd2609492d3be3bef10abb25acf..24d1b6e4810492e4e4761038fd88505d1df8e49c 100644\n--- a/testcases/kernel/syscalls/tee/tee01.c\n+++ b/testcases/kernel/syscalls/tee/tee01.c\n@@ -14,6 +14,7 @@\n \n #include \"tst_test.h\"\n #include \"lapi/fcntl.h\"\n+#include \"lapi/splice.h\"\n #include \"lapi/tee.h\"\n \n #define TEST_BLOCK_SIZE 1024\ndiff --git a/testcases/kernel/syscalls/vmsplice/vmsplice01.c b/testcases/kernel/syscalls/vmsplice/vmsplice01.c\nindex 7b55e66a373d2d72824fbb9146b2af353a5ff1c9..64eed8391797fb01b14c548ebcfe390a403da5ec 100644\n--- a/testcases/kernel/syscalls/vmsplice/vmsplice01.c\n+++ b/testcases/kernel/syscalls/vmsplice/vmsplice01.c\n@@ -15,6 +15,7 @@\n \n #include \"tst_test.h\"\n #include \"lapi/fcntl.h\"\n+#include \"lapi/splice.h\"\n #include \"lapi/vmsplice.h\"\n \n #define TEST_BLOCK_SIZE (1<<17)\t/* 128K */\n","prefixes":["v2","2/2"]}