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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3DC1C433EF for ; Thu, 3 Mar 2022 17:28:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235314AbiCCR24 (ORCPT ); Thu, 3 Mar 2022 12:28:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234996AbiCCR2z (ORCPT ); Thu, 3 Mar 2022 12:28:55 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62710BD7FC for ; Thu, 3 Mar 2022 09:28:08 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id s1so5142570plg.12 for ; Thu, 03 Mar 2022 09:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ucEA3J1ya4GRs+I0A0pxTRPbekYvscFzYo/razXDByg=; b=Z0uYSem8nCEuzkLQw4trl/0KBRyeSAZdP+h9TK9qjKeFB7hJVjfN6qYzPVvZCWUsix GMKeMh8GMvp1HIO4vK85RsmY2JcqYXSfEt2sL2d1pZ+tAnb+3/NLiEJKmLTsBn2QYk8M UaCwZ/3Z1UXG/seNFK/fjDU0v04eieZak7kLA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ucEA3J1ya4GRs+I0A0pxTRPbekYvscFzYo/razXDByg=; b=CPmmI51jkwhcyMC/6lsGWRxkzIPlbD0b2RHWEtiw9ynXDbNq4DEZlDHCfE0hMzypKn gfzw7eDw7bIxF2j0gc3CVNgYN0WHjB1usiSRvpjLbt3TP+75xNPqgPDCKUcn6lWz+OQA bo2CjVW3y3jI+YnUEGzwEL5E6Q3noqlXH02N5U7K51h7SxXSNWP40NyvB5y+Q3rfP87p Jw8XE46LIG9lseh/EQGeXGqhfit/I4wTv0zgVK39aG+jCaPuKeIKgcy9ZIS0XY37raiu CScgkCy7WRIXa1GGTYqUMxQkQ5HVOHSMLPWn9vi1ofj8l4OmXZh5As7Wbp1N6R9BtV8a LoSg== X-Gm-Message-State: AOAM5313KGX2NdOoH2TvahIKckQz9hLZQYo2tr4vp6Ur3pf7CZZyAMoA SvXWj3sg97JnMuHfUp7/QUeoqw== X-Google-Smtp-Source: ABdhPJy2mzFw4jO2AzK0JYWGiB+koyjvh1Dy0wGqm4Vkn9fhv16PKbXZ5sesO86D7nyMcNXd9iCe1Q== X-Received: by 2002:a17:902:d4cc:b0:151:3857:817b with SMTP id o12-20020a170902d4cc00b001513857817bmr31774133plg.139.1646328487821; Thu, 03 Mar 2022 09:28:07 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id s9-20020a056a00194900b004e1583f88a2sm3050692pfk.0.2022.03.03.09.28.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 09:28:07 -0800 (PST) Date: Thu, 3 Mar 2022 09:28:04 -0800 From: Kees Cook To: Greg KH Cc: David Gow , "Gustavo A. R. Silva" , Nathan Chancellor , Nick Desaulniers , Rasmus Villemoes , Vitor Massaru Iha , Daniel Latypov , Anton Ivanov , Jeff Dike , Richard Weinberger , Masahiro Yamada , Arnd Bergmann , Linux Kernel Mailing List , linux-um , linux-kbuild@vger.kernel.org, KUnit Development , llvm@lists.linux.dev, x86@kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v3 7/7] UAPI: Introduce KUnit userspace compatibility Message-ID: <202203030927.2D794F4@keescook> References: <20220227184517.504931-1-keescook@chromium.org> <20220227184517.504931-8-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org On Thu, Mar 03, 2022 at 02:05:56PM +0100, Greg KH wrote: > On Thu, Mar 03, 2022 at 04:27:13PM +0800, David Gow wrote: > > On Mon, Feb 28, 2022 at 2:45 AM Kees Cook wrote: > > > diff --git a/include/uapi/misc/kunit.h b/include/uapi/misc/kunit.h > > > new file mode 100644 > > > index 000000000000..afdffda583ae > > > --- /dev/null > > > +++ b/include/uapi/misc/kunit.h > > > @@ -0,0 +1,181 @@ > > > +#ifndef __UAPI_MISC_KUNIT_H__ > > > +#define __UAPI_MISC_KUNIT_H__ > > > +/* > > > + * This is a light-weight userspace drop-in replacement for the in-kernel > > > > Someone forgot a SPDX license line for the new file. Didn't checkpatch > complain about this? :( Yeah, that file has a bunch of problems. ;) The UAPI header checking logic also freaks out, etc, etc. I'll being fixing that and the other issues. -- Kees Cook