{"id":2232272,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2232272/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/cover/20260504-safe_splice-v2-0-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-0-aa7eaa6b5ed7@suse.com>","list_archive_url":null,"date":"2026-05-04T08:04:53","name":"[v2,0/2] Introduce SAFE_SPLICE()","submitter":{"id":83220,"url":"http://patchwork.ozlabs.org/api/1.2/people/83220/?format=json","name":"Andrea Cervesato","email":"andrea.cervesato@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/ltp/cover/20260504-safe_splice-v2-0-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/covers/2232272/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.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=0Eu93CzS;\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=rkp/AH+v;\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=2Fus2qmC;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=V24X+pXC;\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 4g8Dkh49J0z1y04\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 04 May 2026 18:06:49 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 47AEE3E24CC\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  4 May 2026 10:06:47 +0200 (CEST)","from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.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 979AC3C4C09\n for <ltp@lists.linux.it>; Mon,  4 May 2026 10:06:42 +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-5.smtp.seeweb.it (Postfix) with ESMTPS id 4AAA960074E\n for <ltp@lists.linux.it>; Mon,  4 May 2026 10:06:42 +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 E39A66A93A;\n Mon,  4 May 2026 08:06:40 +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 CBA0C593A3;\n Mon,  4 May 2026 08:06:40 +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 wLwyMJBT+GktTQAAD6G6ig\n (envelope-from <andrea.cervesato@suse.de>); Mon, 04 May 2026 08:06:40 +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 bh=jzrNVROQLaN4v+TfOOUgljqxK6D/ZysfiY1u6fBGAZk=;\n b=0Eu93CzSpmn8dFn6X87irI+S4IzWKAOqOLaVI9LRhHK+6Spp8+66C2Vl0nQrpK2KIYseMj\n TrWsjeoyJ+LimYJ15l/co47crmG0rk09HRDtZgeIUCQqFoO+6r0ipuLZggEhzQ6Blp0Gmo\n sVaW7YoRrfQ3MIH7auUWYSqG+Hl78M8=","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 bh=jzrNVROQLaN4v+TfOOUgljqxK6D/ZysfiY1u6fBGAZk=;\n b=rkp/AH+vGpgZJTqsqwaMvbSrm2SI2aC6xjhH9Vb4SGnrtNghG0N/bgiQJnIDIgXocf/XVP\n Ysb56esVV1o2geAA==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777882000;\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 bh=jzrNVROQLaN4v+TfOOUgljqxK6D/ZysfiY1u6fBGAZk=;\n b=2Fus2qmCSWQQ9wCj9ZicgPGK1hRJ0KVF9kJdNizjPbscNMnCaxy3Ic3qmR6//PIA6uXVGD\n dAavRhBxFnNUOM5AU6jIVfY9ffE8ENYxHWv94a3WphJ5pIi5AyzAxuL2N4/RGFTiAupONE\n CKEUsyaTFvY4s2tZ2bjuKRfNYDP7ItM=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777882000;\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 bh=jzrNVROQLaN4v+TfOOUgljqxK6D/ZysfiY1u6fBGAZk=;\n b=V24X+pXCkXIlcgMs+nqrYgu7lqGbyJAfbwv9/uJ3Cb6gPQUSMCIXfCp/Whq8FUvAxmF6HM\n 2x9PZiXBBy0qa5Bg=="],"From":"Andrea Cervesato <andrea.cervesato@suse.de>","Date":"Mon, 04 May 2026 10:04:53 +0200","Message-Id":"<20260504-safe_splice-v2-0-aa7eaa6b5ed7@suse.com>","MIME-Version":"1.0","X-B4-Tracking":"v=1; b=H4sIACVT+GkC/23MywrCMBCF4VcpszaSSynEle8hRUIysQPalIwGS\n 8m7N3bt8j9wvg0YMyHDpdsgYyGmNLfQpw785OYHCgqtQUs9yN5IwS7inZcneRTOhKGXJlrrA7T\n HkjHS99BuY+uJ+J3yeuBF/db/TlFCiqCCVTZG7Yy78ofx7NMLxlrrDgrJokGlAAAA","X-Change-ID":"20260430-safe_splice-a3d6403f99cd","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=912;\n i=andrea.cervesato@suse.com; s=20251210; h=from:subject:message-id;\n bh=S/GqcAXwfk+VtBMjFdQRsWkfwGsTGDsuonuaCuNduGg=;\n b=h+1x1cCxAC/LUJOQVD2rSUBSfoVYM+NRkAyJo8PaugEFiXYjUTUWXIDQLcHA+f0Qb4I2LyZyc\n WIl6Q6KktFdBMP4KKECuWOYeFglM+5v22oZjCngpt5ZWiwGc6HZhOLt","X-Developer-Key":"i=andrea.cervesato@suse.com; a=ed25519;\n pk=zKY+6GCauOiuHNZ//d8PQ/UL4jFCTKbXrzXAOQSLevI=","X-Spam-Score":"-4.30","X-Spam-Level":"","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)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[];\n RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\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)[suse.com:mid, suse.com:email,\n imap1.dmz-prg2.suse.org:helo]","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-5.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-5.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"[LTP] [PATCH v2 0/2] Introduce 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":"- add SAFE_SPLICE()\n- update tests to use the new macro\n\nSigned-off-by: Andrea Cervesato <andrea.cervesato@suse.com>\n---\nChanges in v2:\n- fix compile issues by moving SAFE_SPLICE in lapi/splice.h\n- Link to v1: https://lore.kernel.org/r/20260430-safe_splice-v1-0-d1d919ff2a3a@suse.com\n\n---\nAndrea Cervesato (2):\n      lib: Add SAFE_SPLICE() macro\n      tee01, vmsplice01, af_alg08: Use SAFE_SPLICE()\n\n include/lapi/splice.h                           | 28 +++++++++++++++++++++++++\n testcases/kernel/crypto/af_alg08.c              |  9 ++------\n testcases/kernel/syscalls/tee/tee01.c           | 10 +++------\n testcases/kernel/syscalls/vmsplice/vmsplice01.c |  5 +----\n 4 files changed, 34 insertions(+), 18 deletions(-)\n---\nbase-commit: 72ca484cca53710b956ba2fcc1ff203fe9c9b73b\nchange-id: 20260430-safe_splice-a3d6403f99cd\n\nBest regards,"}