Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp223029lqg; Fri, 1 Mar 2024 03:23:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXrmTBIf+nYX1Zj3ggKLjDTjaAXL7Efmpnvxd24SSzyI0AbhakPk+lkRg/lML0G6596Fwmgx11H+No2eTR7tsv3VCUUxcqwUn5B1LxMqA== X-Google-Smtp-Source: AGHT+IGv7TMkhq5rf2maHhpTbdMRX2qlslSOGfYqiSyVTYeeNt9RnsuQZX/WHi44RJIoQytYLnsc X-Received: by 2002:a05:6102:19d0:b0:472:a1db:f17a with SMTP id jn16-20020a05610219d000b00472a1dbf17amr68150vsb.31.1709292222773; Fri, 01 Mar 2024 03:23:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709292222; cv=pass; d=google.com; s=arc-20160816; b=x3AQtsmWGrBF6MPa4p68He8dvm6P6wStW4h1/jV5DIJWuUg+4I64UxeFb0wEBHtoCh L95dRtwfjaVy5Ax+AEnP1wHqspTwKG3SMwpHsIY8DY+lyUzRi/VBLTGMEfDPTIvT0TF0 3KkMXIVJrfNvlRbHIxUpJSbMChW/YJB80AlBHFNXxs79eC90ffOtWA+0MdYCWQOe3Rbv Z/b1DAIjGNqgblJA2+5ybRrUk2dc29J1eAKtHYFiS6QJwxrnhVvtR1LQ4UK+D6RXQTws 9JVb6LKyE223Clt7d/UzD4sMHg2UZiLYdu+4xEemWQiogbkhULnkF417TOtnPs0DKF4x shIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=CM1j7RiwxFC3f87IGZ/peUzNKT4rdyXdMHdVJ4c4EqQ=; fh=du99j0sHXHoKD9GjsZvj632+WiUlKVeufoGCybq5hxI=; b=Q6GX33WVsSg219FH9DyznxnpPECsDn8SADKRsOHYHlnL09vuYO23ogkARDGcuI1Rt+ xCsp/HPVpQda3aqcmQ1tRzL2TQhb7FFLK0VFXTwAV7LovjH2rkLu9fdWblwft+GAbZGp WmxsEBKWqeOnVlccddeOOLIGQdL/41w0ePR64+qsbzY3Lz+RL/n3rojzys9skxYtZ47z f+PVezsRV7PfzqFx5+LmY/M+TSkPxN1ZsQTkMNWW6v4ECVblcRwlNIiISfOd8xKlVx2+ L+oyDIGxDKeIfNxjkIDC0oiIqGNCfIPpYLlheRM7CNtIHpaIBIFCUUXyRpxIGsmP2oFo 1t8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EXvj9ZeX; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88332-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l14-20020ac848ce000000b0042e895e4edbsi3051603qtr.756.2024.03.01.03.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:23:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88332-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EXvj9ZeX; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88332-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7F9211C21606 for ; Fri, 1 Mar 2024 11:23:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9994D6CDDC; Fri, 1 Mar 2024 11:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EXvj9ZeX" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 481E06CBF4; Fri, 1 Mar 2024 11:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709292189; cv=none; b=OmudQHShy93SwCnbldL8/lkOr3YpaypxBtkNKrakgLV2bbmHBV/UhdCCNld/8GRloUfvFyGPl9cntrH+xiwiqIb0s3HjoOVlpapQFbfWALpdx7v29+z3gNE2kIbYaNJDln6u4+qTN8+1TG1/v10TL+ujc3APqm8PINOVk4HqFrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709292189; c=relaxed/simple; bh=CM1j7RiwxFC3f87IGZ/peUzNKT4rdyXdMHdVJ4c4EqQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=prVDkVK/QEdUEds0eD4R5B2I03D2GvSgEhRk3criH+Og2vCjf/iYk8H9t3aFKcMXo/kKIM/zXktagu+yMae0zVoPVJEacKif++XFDyMAk1JiWNov6CZK0k0/VpOK7yDVCN48kDneexcXbpgcvqY7l0FCpv+HHaYHCRHEmOoa2wo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EXvj9ZeX; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a44360a8b9dso254163166b.2; Fri, 01 Mar 2024 03:23:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709292186; x=1709896986; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CM1j7RiwxFC3f87IGZ/peUzNKT4rdyXdMHdVJ4c4EqQ=; b=EXvj9ZeXmxONiLoi5vTeztsn6QtzgnW983Zicx6Qk/89rmi1JgeU3klT2prgUCjR+u Glse155UYIfVjWp+WT9C6jcc3XQadmegjPJweCtD0brT/1l4FlqGTFyYIB7MILd4RfTP vaObWMLPPnot+m+O1NqWMecrRSQSWzFfXz73TKgO3lTO+JDz5WEgDcXfBCKUBHq3eqjd bNo8DnXA0eN1nCAdBbjgj6RtLt4JJU4pj4ShRnQFvR8gvsTfde19xQjqhSCs14VSfaGv 2EBLiFXISlbR8bBv0vNHHCegEvY2uXofQCFJSdwXZaEkLCG8l0T/0PJFgRTJnZhWlLEn tznw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709292186; x=1709896986; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CM1j7RiwxFC3f87IGZ/peUzNKT4rdyXdMHdVJ4c4EqQ=; b=XmjyuMhnyN41llYMjVcbHI5AiNQn+4uUTw9/1wFt73n2GfDTpdzYPgHXcQ+XrGZS5X aNstEvHKaS08wAHYc+itzaBXhjwk4QMjHGQ6JUkVUT4lkWC+gWL5fm3aPdq4RcTlWAtQ ln6Xh4ruc+/2KX8lL+beyOdXClDAwFVlQ197xWQExTRUDReCD25UdEvPbJVuu4SsNaFO IREYJiqG69tgPP1aYDYH6tyMd+wWDQ69nQwUpmO4+OyNAz0X+iYSH4XyCS88/aOkagpi 4RUVgHI7ricGlSjJHwMED4qBBQUpe9afPlwOdVUjt6QCqCUwOjfwSdootz9VWbAxAZaM 1R5g== X-Forwarded-Encrypted: i=1; AJvYcCXn8h6v4lszIa+pgHWA4sAIyn7g7KqhFSXlA7dDfKtEppGwa9uO7fbLO5sc47w62XAUyrlHFh1opAhOW9S13hBwypXoSXKfkPqhMTKAE32vObhFypf5jmCZpB/2HghuQyHuBLFiI3M71+TlQ9rA X-Gm-Message-State: AOJu0YwXIlVOPhU2eGeT59C8T79Dv7GKk5nUynhLOU9ZCuqlmKmI7g5T LtASekuEEAGLaRjfIQErxmNss47y++5SVwXkHrrlXN2+qRJSlg8qIX2jA334Gy8gL1wyoCxbkog OKy/giOkAXXRWH1m5Jt9ShgR31gtNKWk2dMg= X-Received: by 2002:a17:907:7677:b0:a3e:b439:6c8d with SMTP id kk23-20020a170907767700b00a3eb4396c8dmr1016059ejc.25.1709292186380; Fri, 01 Mar 2024 03:23:06 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240301002416.it.092-kees@kernel.org> In-Reply-To: <20240301002416.it.092-kees@kernel.org> From: Andy Shevchenko Date: Fri, 1 Mar 2024 13:22:30 +0200 Message-ID: Subject: Re: [PATCH v2 0/2] string: Convert selftests to KUnit To: Kees Cook , Rasmus Villemoes Cc: Andy Shevchenko , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 1, 2024 at 2:26=E2=80=AFAM Kees Cook wr= ote: > > Hi, > > I realized the string selftests hadn't been converted to KUnit yet. Do th= at. IIRC last time somebody wanted to do that KUnit was completely sucking in supporting the cases we need in these files. (I mean proper messaging when we need to dump the expected and resulting data). And please Cc Rasmus as well. --=20 With Best Regards, Andy Shevchenko