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 7B88AC25B48 for ; Thu, 26 Oct 2023 11:47:31 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id A64673CEC00 for ; Thu, 26 Oct 2023 13:47:29 +0200 (CEST) Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [IPv6:2001:4b78:1:20::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id C01C13CCB50 for ; Thu, 26 Oct 2023 13:47:19 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (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-2.smtp.seeweb.it (Postfix) with ESMTPS id F06D260118E for ; Thu, 26 Oct 2023 13:47:18 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A399121AB1; Thu, 26 Oct 2023 11:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1698320837; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mmND3jv8A+XZBhR1reJx5FTOJcy1ifLLCVz9T9guzIg=; b=x0bjt4Do0WZ6ByVZruY2zb2B8+SMbq1xEzZ11nYYLRBFbsos7M5akzzGRC1dzgvYeUdnOl SeB2/bKaqFbbLnzLYGyVi9EN2/91bW529Vs76p/IcWwqzwzGT9GVzdun6rW6Qc0VDgPgiT X7Y5oblYyitKNbJpaGXYx1Bhnatavhk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1698320837; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mmND3jv8A+XZBhR1reJx5FTOJcy1ifLLCVz9T9guzIg=; b=fBeax3XQF/b/J5x6xbSGiKdYEsaoIOca0657yENzCAKqJ1t111M/AEMWpJ1bbYo8dKcikf lZRmt1HrF8FbZVBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 788DA133F5; Thu, 26 Oct 2023 11:47:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id lrZoHMVROmW/fAAAMHmgww (envelope-from ); Thu, 26 Oct 2023 11:47:17 +0000 From: Marius Kittler To: ltp@lists.linux.it Date: Thu, 26 Oct 2023 13:47:11 +0200 Message-ID: <20231026114716.17545-1-mkittler@suse.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [-5.64 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-3.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-2.54)[97.92%] X-Virus-Scanned: clamav-milter 1.0.1 at in-2.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v9 0/4] Improve ioctl02.c 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" I fixed the closing of parentfd but only in the last patch because in the first patch the cleanup function already takes care of it sufficiently. I also used TCIOFLUSH as suggested in the review. I also fixed the spelling of one of the macros. Marius Kittler (4): Refactor ioctl02.c to use the new test API Make checks for termio flags more strict Remove disabled code in ioctl02.c Extend ioctl02 to test termio and termios testcases/kernel/syscalls/ioctl/ioctl02.c | 552 +++++++--------------- 1 file changed, 172 insertions(+), 380 deletions(-) -- 2.42.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp