Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95BCFC54F54 for ; Fri, 31 Jul 2026 10:53:18 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 8A99B3E71DC for ; Fri, 31 Jul 2026 12:53:16 +0200 (CEST) Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 8F49C3E7207 for ; Fri, 31 Jul 2026 12:52:02 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id 254382003BB for ; Fri, 31 Jul 2026 12:52:01 +0200 (CEST) Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0D292402A; Fri, 31 Jul 2026 10:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1785495107; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qH1ExVsewMRELcTY+PJY79GijawlAp74mN9x7XblzuE=; b=bL/jdwFvepoELgr1tDmUW8z9jzZwkdq6hzlwlVFJYR4YHgbTfiHXzPNgAO3ZJOQiE8Gael CB066931JKe6vOSqpz0BwoUVpAgl4CjgJUvXiyE655kuPu2R7n/rNoqHrEMljG2YZb93TV RcN5AEqBoxqleoxlkdOxXi6Yq0Aoqk8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1785495107; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qH1ExVsewMRELcTY+PJY79GijawlAp74mN9x7XblzuE=; b=ZVLF/tUuIOZOZRvMH2tsFceuRGVo4gn1G4q/G9EKk6R5V9GlgdO0LCDy4J1ZjtAqL2y1J/ a+2X22+1AI+iqQCA== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1785495103; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qH1ExVsewMRELcTY+PJY79GijawlAp74mN9x7XblzuE=; b=UqtXFcfnUcDuxhyECcXBcVQ6fkU4NiuTgWKcDt5UymGxecx9b5+CCIIbISVHZnDSzztjOz qwYJVPqK1lHCcTC3MMR0KAIYkNiUrRb/GMWgCh6qDRp6+1M9jDgzgPzriBCc2A0ZMWe8qf /j30MpesZZIMIabPEgxCINlASmGnJM0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1785495103; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qH1ExVsewMRELcTY+PJY79GijawlAp74mN9x7XblzuE=; b=EgnqMew2hQn7dXo7T1Lb7y+WiygxMdNPlxpaMujFD3qjKUosTiMYgWtOxELOX649mgnMCQ L7LGKVNcbgGmi1Dg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id D3418779D7; Fri, 31 Jul 2026 10:51:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id GECTMj5+bGoTJwAAD6G6ig (envelope-from ); Fri, 31 Jul 2026 10:51:42 +0000 From: Petr Vorel To: ltp@lists.linux.it Date: Fri, 31 Jul 2026 12:51:31 +0200 Message-ID: <20260731105132.187177-5-pvorel@suse.cz> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260731105132.187177-1-pvorel@suse.cz> References: <20260731105132.187177-1-pvorel@suse.cz> MIME-Version: 1.0 X-Spamd-Result: default: False [-6.79 / 50.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.19)[-0.967]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.cz:email,suse.cz:mid,suse.com:email]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_TLS_ALL(0.00)[] X-Virus-Scanned: clamav-milter 1.0.9 at in-7.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v3 4/5] creat07: Use .max_kver X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Reviewed-by: Andrea Cervesato Signed-off-by: Petr Vorel --- The same as in v2. testcases/kernel/syscalls/creat/creat07.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/testcases/kernel/syscalls/creat/creat07.c b/testcases/kernel/syscalls/creat/creat07.c index c7b85ee694..2b15d79b47 100644 --- a/testcases/kernel/syscalls/creat/creat07.c +++ b/testcases/kernel/syscalls/creat/creat07.c @@ -6,6 +6,9 @@ /*\ * Check that :manpage:`creat(2)` sets ETXTBSY correctly. + * + * NOTE: write to executed file is allowed since 6.11-rc1: + * 2a010c412853 ("fs: don't block i_writecount during exec") */ #include @@ -47,19 +50,10 @@ static void verify_creat(void) SAFE_WAITPID(pid, NULL, 0); } -static void setup(void) -{ - if ((tst_kvercmp(6, 11, 0)) >= 0) { - tst_brk(TCONF, "Skipping test, write to executed file is " - "allowed since 6.11-rc1.\n" - "2a010c412853 (\"fs: don't block i_writecount during exec\")"); - } -} - static struct tst_test test = { - .setup = setup, .test_all = verify_creat, .needs_checkpoints = 1, + .max_kver = "6.10", .forks_child = 1, .resource_files = (const char *const []) { TEST_APP, -- 2.55.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp