{"id":2231428,"url":"http://patchwork.ozlabs.org/api/covers/2231428/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/cover/20260430-safe_splice-v1-0-d1d919ff2a3a@suse.com/","project":{"id":59,"url":"http://patchwork.ozlabs.org/api/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":"<20260430-safe_splice-v1-0-d1d919ff2a3a@suse.com>","list_archive_url":null,"date":"2026-04-30T17:25:28","name":"[0/2] Introduce SAFE_SPLICE()","submitter":{"id":83220,"url":"http://patchwork.ozlabs.org/api/people/83220/?format=json","name":"Andrea Cervesato","email":"andrea.cervesato@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/ltp/cover/20260430-safe_splice-v1-0-d1d919ff2a3a@suse.com/mbox/","series":[{"id":502349,"url":"http://patchwork.ozlabs.org/api/series/502349/?format=json","web_url":"http://patchwork.ozlabs.org/project/ltp/list/?series=502349","date":"2026-04-30T17:25:29","name":"Introduce SAFE_SPLICE()","version":1,"mbox":"http://patchwork.ozlabs.org/series/502349/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2231428/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=le6bPyT/;\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=Somhsjiw;\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=le6bPyT/;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=Somhsjiw;\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 4g61Kh2PWDz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:26:00 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 24C7E3E6CA2\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 19:25:58 +0200 (CEST)","from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::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 43AC13E6C9B\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 19:25:33 +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-6.smtp.seeweb.it (Postfix) with ESMTPS id 1AE2B1401266\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 19:25:32 +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 927106A7D6;\n Thu, 30 Apr 2026 17:25:30 +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 751D7593B0;\n Thu, 30 Apr 2026 17:25:30 +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 fDeMGoqQ82kMIQAAD6G6ig\n (envelope-from <andrea.cervesato@suse.de>); Thu, 30 Apr 2026 17:25:30 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777569930;\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=nY0O/1KcRWCyIs40LNteTZOmf546EJW3isWOwxd0uOk=;\n b=le6bPyT/CvoJ+SA351iPpSgfDv6orYvuS24XkIbGNke24bxnF+IdauxbuObAlNkaE5lAT+\n lipvzAFWkV7DG7Jvf0n9AjdI7lrnoHPqGcRGDYC0Q3MxLWd45k/cFw6XqQe8dJ4K2u+fcF\n SDR0nkogJ3DFSU4l5QvOm89DvR70ME0=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777569930;\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=nY0O/1KcRWCyIs40LNteTZOmf546EJW3isWOwxd0uOk=;\n b=SomhsjiwNz4wU2n10NEiQxNUMMrtZurJ/ZpKeE66FsObiAlXFJim9cu7VSyeEQZYSX4U8R\n 2tEIqoYlUiUV31CQ==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777569930;\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=nY0O/1KcRWCyIs40LNteTZOmf546EJW3isWOwxd0uOk=;\n b=le6bPyT/CvoJ+SA351iPpSgfDv6orYvuS24XkIbGNke24bxnF+IdauxbuObAlNkaE5lAT+\n lipvzAFWkV7DG7Jvf0n9AjdI7lrnoHPqGcRGDYC0Q3MxLWd45k/cFw6XqQe8dJ4K2u+fcF\n SDR0nkogJ3DFSU4l5QvOm89DvR70ME0=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777569930;\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=nY0O/1KcRWCyIs40LNteTZOmf546EJW3isWOwxd0uOk=;\n b=SomhsjiwNz4wU2n10NEiQxNUMMrtZurJ/ZpKeE66FsObiAlXFJim9cu7VSyeEQZYSX4U8R\n 2tEIqoYlUiUV31CQ=="],"From":"Andrea Cervesato <andrea.cervesato@suse.de>","Date":"Thu, 30 Apr 2026 19:25:28 +0200","Message-Id":"<20260430-safe_splice-v1-0-d1d919ff2a3a@suse.com>","MIME-Version":"1.0","X-B4-Tracking":"v=1; b=H4sIAIiQ82kC/x3MQQqAIBBA0avErBNMRbCrRIToWANh4UAE4t2Tl\n m/xfwXGQsgwDxUKPsR05Y5pHCAcPu8oKHaDkspKo6Vgn3Dj+6SAwutojdTJuRChF3fBRO9/W9b\n WPrgUNsddAAAA","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=1777569930; l=798;\n i=andrea.cervesato@suse.com; s=20251210; h=from:subject:message-id;\n bh=EudnYVfBZB6mJsPiSlpG0gU5SstV0Y6ixjF6aHA9x/g=;\n b=dXW/R1lWDJ0OJrXbmWY466dyAPHVnsoSn0sD+eP78E66BHUbzvScZpiuQXjRX+PH9CJ0+Qd7p\n WQ0lx2q4RR5BwCoMVJ/rAPRMR5d6z+0d4oaARzYdyqAlOZd1RJ0/5CT","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 TO_DN_ALL(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[];\n RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[];\n FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];\n RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[];\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 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---\nAndrea Cervesato (2):\n      lib: Add SAFE_SPLICE() macro\n      tee01, vmsplice01, af_alg08: Use SAFE_SPLICE()\n\n include/tst_safe_macros.h                       |  8 ++++++++\n lib/tst_safe_macros.c                           | 17 +++++++++++++++++\n testcases/kernel/crypto/af_alg08.c              | 10 ++--------\n testcases/kernel/syscalls/tee/tee01.c           |  9 ++-------\n testcases/kernel/syscalls/vmsplice/vmsplice01.c |  6 +-----\n 5 files changed, 30 insertions(+), 20 deletions(-)\n---\nbase-commit: 72ca484cca53710b956ba2fcc1ff203fe9c9b73b\nchange-id: 20260430-safe_splice-a3d6403f99cd\n\nBest regards,"}