Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp850031pxb; Tue, 3 Nov 2020 14:22:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJy01DA++mNPKpjsHyN3ZEg5KiScC2xGlzaJwPKDcN04BjMnY1/FfzH0yLoXoJQz+N/mAMPS X-Received: by 2002:a17:906:e254:: with SMTP id gq20mr16254873ejb.520.1604442142905; Tue, 03 Nov 2020 14:22:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604442142; cv=none; d=google.com; s=arc-20160816; b=G9KRkqYZ/6cQ7Huu9/cIsa69zfnjLGiDaRtIKqvuK8DfyUFnaINDk0O+M8KuGnIAAi 1fDN6TULncWlh7N92IM6FbnQ57PwwZ6XOyJPzwLGInMlRkl+l+IBCpCNoMedjJvZAJyC 7qAMIlv5OIl/Ln4Phkbqq2G5vPPUjoVQfo2hO5NCctbbo53fNWKN+E8qzVRWrET5yIGr ogIdJMbqvm0dlLFgE8fJtI0kctNz/9/R+Q/hcKljHISNG93iIRH5Dz3DwcWhAlUL7WgI MODzLD+A862J7SBXymPjXpSSKX+ZMd1IQmnOBEFNSp6gA0Rru8gWtTaH9FEvq+R/erXG K9gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6ZRbguQ1x9dT0hAvOuP/VOG3YF2apB5kK77xWV7GZj8=; b=W4XnGoqd5APVVesKSxswwByrcwnliyY2pkr62D3hwVMUTz489OjGLKPIwJK2JqzRD3 5qz3CJhkhQpNNWX+mie0rjZj2haWAF5YR//bejWLWFZQWijEkn1CrDFIGY4ypFMb6h84 4XVd35W0cTCAGOxt2U6wpI1yWxiqLo63DTohzg341pQzuB/SGDGV4fGcEtKSjI3xobnB 8VJuYF3KFkNftJnYyxnp1ocOsSkL2wrI1KKhvpdb+ExyY553Rn5yy/TiLxN2qwCC7Xah amaqo3EIJyoojVB9PSZ3Ewi2SHQP1jQ/hZjKF+jnV7+1eToz5cxA5rJ9AYT1WBsRLu5h ck4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=e64Bz7BE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si120509ejy.346.2020.11.03.14.22.00; Tue, 03 Nov 2020 14:22:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=e64Bz7BE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730166AbgKCWSL (ORCPT + 99 others); Tue, 3 Nov 2020 17:18:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730131AbgKCWSI (ORCPT ); Tue, 3 Nov 2020 17:18:08 -0500 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3286FC061A04 for ; Tue, 3 Nov 2020 14:18:08 -0800 (PST) Received: by mail-lf1-x142.google.com with SMTP id h6so24400342lfj.3 for ; Tue, 03 Nov 2020 14:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6ZRbguQ1x9dT0hAvOuP/VOG3YF2apB5kK77xWV7GZj8=; b=e64Bz7BE2EMfuJBK4v0zmQPnFN9lNFRh9kkgkxlITo7rvrh4p1X05aLqaDZJSCwgqf NkeYbCBk8ymR4KZ5eZ+T66JiIkjjMwGwgn9upz0vlatttnaRTo8CD6zYhX2kd7tIqPYW brnBkGNp71HDWqcjeGkuHw1qA/1Y/KgRTXT9IDiMHfaeLlnr7KXPEhveqxLCwahO8XB1 jKWgHrwbjsUmMQUlYFTygFpkHnBCxT6s04QdNzXg6iWssqG+3KJiWmRM/5nMGf3jGKrZ FSx7sS6fS0MxkiItNy0e+PB9mNqHK/XFbxPInS/zqp1SIdiN6cFuaNybFI7yGGCRMe1v pDvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ZRbguQ1x9dT0hAvOuP/VOG3YF2apB5kK77xWV7GZj8=; b=FPkIw+y7Lw6SQlyZIjsOVZ4B+/xT0kmVO/kYDAOnpRsu8ZUUycu99dKVWzkfwoabCD asNHWMEGHi0J14IphAJ4E9nVKp3lbCnhmi3eUitwYW6zFB/uZjC+bR9wd/qY9DmYUxEI D7DvM6LdaC3Z75DSfui+xqvWWqBgCxw01qFSVPB2vzga0Yj3C3yWQQKlJQU9i+BbaBir UbOeOY6piqGfwNPRLoQ0XYnT6IYmcXyyZrvB4+LU6zmgUK2V/iTBecRSgldM1RC8WZNZ jCaNmwJLIahdYJyicHN6Hl1lQYLbkppg8DZ45crJLCBUKMJLOTp4c9u9L52HN5QgU0KN eTtw== X-Gm-Message-State: AOAM532raJKokRtPjmMpo6QjeeLJbN6RhQPHVS7Jnb8EPHimbrDAyFb8 WJjKjuJIB2cw1jtJujvtS/CT6ayEKN8hzUYVggEm2w== X-Received: by 2002:a19:83c1:: with SMTP id f184mr7817703lfd.97.1604441886422; Tue, 03 Nov 2020 14:18:06 -0800 (PST) MIME-Version: 1.0 References: <20201103175841.3495947-1-elver@google.com> <20201103175841.3495947-9-elver@google.com> In-Reply-To: <20201103175841.3495947-9-elver@google.com> From: Jann Horn Date: Tue, 3 Nov 2020 23:17:39 +0100 Message-ID: Subject: Re: [PATCH v7 8/9] kfence: add test suite To: Marco Elver Cc: Andrew Morton , Alexander Potapenko , "H . Peter Anvin" , "Paul E . McKenney" , Andrey Konovalov , Andrey Ryabinin , Andy Lutomirski , Borislav Petkov , Catalin Marinas , Christoph Lameter , Dave Hansen , David Rientjes , Dmitry Vyukov , Eric Dumazet , Greg Kroah-Hartman , Hillf Danton , Ingo Molnar , Jonathan Cameron , Jonathan Corbet , Joonsoo Kim , =?UTF-8?Q?J=C3=B6rn_Engel?= , Kees Cook , Mark Rutland , Pekka Enberg , Peter Zijlstra , SeongJae Park , Thomas Gleixner , Vlastimil Babka , Will Deacon , "the arch/x86 maintainers" , "open list:DOCUMENTATION" , kernel list , kasan-dev , Linux ARM , Linux-MM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 3, 2020 at 6:59 PM Marco Elver wrote: > Add KFENCE test suite, testing various error detection scenarios. Makes > use of KUnit for test organization. Since KFENCE's interface to obtain > error reports is via the console, the test verifies that KFENCE outputs > expected reports to the console. > > Reviewed-by: Dmitry Vyukov > Co-developed-by: Alexander Potapenko > Signed-off-by: Alexander Potapenko > Signed-off-by: Marco Elver Reviewed-by: Jann Horn