From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB02FC2D0A3 for ; Tue, 3 Nov 2020 22:18:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F2EE2244C for ; Tue, 3 Nov 2020 22:18:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="e64Bz7BE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730227AbgKCWSM (ORCPT ); Tue, 3 Nov 2020 17:18:12 -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-Google-Smtp-Source: ABdhPJxNMJdmM5bO0n1X/nCLwlnn2NzVmKdN9XM7NV2nBD3hCpQn9Lo3KTe5+IezyPBL6NgtbGJbT2zP0+jEAYS0fZ0= 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