Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp220564lqc; Thu, 29 Feb 2024 15:39:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXB+sNIgpEQW5Fgu5L2+PlKCdoTHFtkvWUBeDdlMI9cqK+Dz4J4L6nURWt5BTk2rMEAZvvgQRi7iLJHD84PArMribDS63gXiIMTVj8i+w== X-Google-Smtp-Source: AGHT+IH07503uGJRVKCzegHmrB8QoIihIHrOPbsSUaBeOkGXGseo42Olx/XWTo5rIHFWfBaE8xYB X-Received: by 2002:a17:902:6e08:b0:1dc:cc0c:a29f with SMTP id u8-20020a1709026e0800b001dccc0ca29fmr37083plk.4.1709249956887; Thu, 29 Feb 2024 15:39:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709249956; cv=pass; d=google.com; s=arc-20160816; b=nhMe3h8js7EKEUZVN9dl5tAwY87PodoB6G43IvTIdFZS0rxSabwms3nxBD6wtfCCyu Zr0q6ktHnFNxFoMAdwYIrHbRp4xM28r8EYBuva8QrEE/YCERG2KmEW95UeGu5Mn/ZYmv JHN5AojzerEnRKPHZRUPWmm6CICMAZVe/Kx2YAxe+NAnJMmcBW5zBJ7/8y32Man1BeVQ pEzBghXuG9yHjM7z4au1AKJs33KJlj2+BqBMuyInL6Q/yNbpvWEG1hT7/u55tJT7y+cK oP6UPZE6CcqxTTRRkjCoDmdUiII2S6sMuyuSNhiqdqvNtdtM7uBt1tsQp9MSr0jZbrSG prDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zrpA1mv8JfPN81Pqls2RUoWHBrGbGLLk6Rp+CKKaj/s=; fh=xTELyq5cL9++UoLU1ppDdkfsJjbO4WTm+5Whcj6PNCA=; b=TURVcDrPA+REuH3gfxSDKhcwLEouw9FapWd6sK2azwz79RoVHjgu7+7Byoi5m+NpfF WCYhhLWjvQNnoKyh/IFo6oFgVJZlyiXAxKU+IMQPkj0pfCvQ/zBWcf7DIEY7qKiGnzkS C6gsIKkscySpjx7EXYz8c9ruYJPO5VgiuDVXVIHkvJLviWXC75NLLJ+VlHPHFHqRAOU/ 3p4j+oRmgZLEv8xR5v0/5roqSaPMTqSndz035y3j3QIevcnHH6RwPsey+7yfo8w722AH wxF1xHxfW+UYGdKX4d7oeidXsKHLSO+NAY08/IgBebise1r5GJF3/ay/HclSr8PdQv/n 9X6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AW67M3HE; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-87703-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87703-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z16-20020a170902ccd000b001db29ca7611si2382932ple.284.2024.02.29.15.39.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:39:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87703-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AW67M3HE; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-87703-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87703-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 92AE6281AAD for ; Thu, 29 Feb 2024 23:39:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA19E7D07F; Thu, 29 Feb 2024 23:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="AW67M3HE" Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D653B17545 for ; Thu, 29 Feb 2024 23:39:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709249950; cv=none; b=V4dlhjT8up5sc/ELPmJ/Mcc56nzxvQOnmpx75gxGkVv5zxpDwKWhPVrw59y6vzyfJn5+VhYs1mN7oQyRozhsorSdfeJV+KIXxJ15ErAutFj2HnjoCw9Wpx/FWPKw9xZlo2GJx+G+FdapEts6pg+GMLY1wBVLss5E7Zcz8dNHt5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709249950; c=relaxed/simple; bh=e/8V7q0T5PQHD8Yc+VQwsb6DOiBHkVWPVrFu2N9+wis=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PszSlmsm9QYKDw4pAPuWjmxJw3NXBkrLwGmSXle25m2HGfM199mp90YnAJ3I4XnUkFFevmlq/pNgzgZ3cwAKbBsN4A3Iclep+Qwr0Ghtla9+4077P7r3B+JUkZKCZ+ZC66i2Gt+GgYGx73whxNocg6exFUiSYpB121CFKk+Dqug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=AW67M3HE; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6e5a232fe80so708741b3a.0 for ; Thu, 29 Feb 2024 15:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709249948; x=1709854748; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zrpA1mv8JfPN81Pqls2RUoWHBrGbGLLk6Rp+CKKaj/s=; b=AW67M3HEZ8+Ko+S4R3j/DvmN4MVoDg3TDZNuAbZqUz/VFKHMsUsdNh/+1ZdSQsSkvr hp9HCzh5UdgCOcyGFxcJuA9Dh9znea32nlkv4PM06/9wRhCQHGNngGYa1JAmewCY7SDl LcZuHZk2REpIz+uTgCvUUL3ru3b3OYswWiuXI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709249948; x=1709854748; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zrpA1mv8JfPN81Pqls2RUoWHBrGbGLLk6Rp+CKKaj/s=; b=uwJEpSFVn8S3Xh+ZWzqO4qYAuAtq+EmUEGCv/SJYMeAhAg+6PqEIPRD+LqjJ9qn3IW WDQ5RuPbsOL9DgZVzsSdoAiaxSxyi45EIebda9Fj7c12JUaa9eHIXndpbZZmVtGSV8Vn eq6tA0Z4YBiH+GbhaxTDBtbCMTeldDXm32Rz+Q+T8SomXoBhNWeGleKJigrxXEvb5+zz rKbC7Zc/uC35Fr6+il0KAmwwmjX/6ysbJfHEbMdlWIJFyRIJhMN9qcPJEb+rj1Kac0F1 u/XdX7SXzW48SrrrcdIvstDg0enewn78GULwgbLeaTR9vqYC7Wcnf5426Lczt9Y7Bbs3 oK2A== X-Forwarded-Encrypted: i=1; AJvYcCWqz69Asot3FF1TZ9kFoO4OcjpDWa0EdwPGOtwdWz8zjdcltcTQTIl2hU/XCacV7aV7U+GvR+ck3i/2vRQv6JLJpuSZQK5/+RvIeuBp X-Gm-Message-State: AOJu0YzIi97W+VaIbTl/ehpFbgN9+KUjaCUK1QHwTx3cS5ZLyZO2SDwV 118ZRGu0wlN5By5JXBXlZU50eNDdsVIwd5k8PXtpntSDuck33NpCjk9PF1WtJQ== X-Received: by 2002:a05:6a00:2293:b0:6e5:599a:5252 with SMTP id f19-20020a056a00229300b006e5599a5252mr665091pfe.15.1709249947822; Thu, 29 Feb 2024 15:39:07 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id m19-20020aa78a13000000b006e509762bc2sm1813393pfa.26.2024.02.29.15.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:39:07 -0800 (PST) Date: Thu, 29 Feb 2024 15:39:06 -0800 From: Kees Cook To: Andy Shevchenko Cc: linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] string: Convert helpers selftest to KUnit Message-ID: <202402291539.F0E3E63061@keescook> References: <20240229233432.work.675-kees@kernel.org> <20240229233528.1538803-2-keescook@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240229233528.1538803-2-keescook@chromium.org> On Thu, Feb 29, 2024 at 03:35:24PM -0800, Kees Cook wrote: > Convert test-string_helpers.c to KUnit so it can be easily run with > everything else. Gah, I will send a v2. I thought I was doing this on top of the get_size() change, but I didn't... -- Kees Cook