Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp234505rwd; Fri, 26 May 2023 18:39:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Hl+5OYdFSTcD1n/yxcrIn0fsCTsheC1e8D0WBB7aIRbWr635RCdbejnhHB49eaBjEXIyN X-Received: by 2002:a17:902:e745:b0:1ae:610a:4a46 with SMTP id p5-20020a170902e74500b001ae610a4a46mr5320740plf.47.1685151559434; Fri, 26 May 2023 18:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685151559; cv=none; d=google.com; s=arc-20160816; b=wAKrvW7o+VZpeolfq4nvnxM1nVU8mBIvrzcGWdQg6LG2gJNZlJIEzCZUoAcDBz6AV3 CkH7/1WQJXIEUvgiINEkxfFUna4aAOKap8vft/jQz9+zRDOUP3RwYeBFFWcim97LzEk2 OEJ9hzF43mH6dSC9a+VG+m9mieYu/HhsRBt4KYb+Ji2kKhX4Kizep7kE7JDWnnHSzIa1 CbOyVqneARmFUtEeWgLYAXolWdi5PUsfMj5GNkwy5MpYK6XKwXkPmkWqItKQVyWVjj5b uvVCLpHRSoh/sqcxHNNLSsmaxvRHcphud+d5bWOA5slckD7koY7l4ZWpZzns92V+ltVX vYsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=np+SdouGYtmY64V5pK+hyAwy83SCQcDxynb0nhR32BA=; b=McuY7ZJB+0LGBSv75fs1p8selp3zXDV8Na4Qwtwwea7UbDXZiiAFeYxucgfpo4EhHo WZyqz+5Fsx0jzIWe26FxOApEH9ivYcSAqn/lELaYQcY6rfuDQ2HhdFFV8KSH++2F2rg6 GptdIfXQxNqz5XjaJutxQ+DuD5b/N49PUFdr84ZXzjxlYaxlKUoZj4VWG6FWAvHX4ksb lUjKEk0jGVU1xo/45cLZ1So8i/4Kpm4340GBuwJf4Cy8cqXpBFJ8sfrgSGIi/5W3FptO OjyiTYaflIEKGVGSODU3NR3GNbegbKI9xZI2S549XK0vuy6o9ddC7hsM5TmPxHqckNcU imJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tyhicks.com header.s=fm3 header.b=XUlKda0Y; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=bRdR7BVj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b128-20020a636786000000b0050bf22172d3si5294735pgc.490.2023.05.26.18.38.38; Fri, 26 May 2023 18:39:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tyhicks.com header.s=fm3 header.b=XUlKda0Y; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=bRdR7BVj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237760AbjE0BWF (ORCPT + 99 others); Fri, 26 May 2023 21:22:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjE0BWE (ORCPT ); Fri, 26 May 2023 21:22:04 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00529BC; Fri, 26 May 2023 18:22:02 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 14D0E3200495; Fri, 26 May 2023 21:22:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 26 May 2023 21:22:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tyhicks.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1685150521; x=1685236921; bh=np +SdouGYtmY64V5pK+hyAwy83SCQcDxynb0nhR32BA=; b=XUlKda0YE4GJZGIw4V QeHdSYVjCMQxPt+BmZZZNP+5nwUdoxIOkUVkSns8u5vgrDVufiRvRNwGsFsTR1L8 hOn6waYa56qddxfsVI6QhhoGBNH99EV3ILN/M5a2efq+ja28TcGSPXRvzsnAxV5K XNoNdxJnL7N5/rSMiCUj5VSI647WWWde9zX0ReknfpYxzP1GwIkKp3u0nc/QrkQ2 RWVOOrD/0g7d3DB9yyChgvw+O6zOTV6YqqhSXt9/kaHIT8Y2wxDv/sa34XhiXZyV GAR8g17ctwW6Z8TD/AjEiOQZwIdoqPXXSlFcit+03R1hzWXQGNn27789mWn3XV7u OJzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1685150521; x=1685236921; bh=np+SdouGYtmY6 4V5pK+hyAwy83SCQcDxynb0nhR32BA=; b=bRdR7BVjOnjLE3mtJ6d9WlqQvF4If LWE2OiY44OCNPNJGcMVKQYJKhlRt0z6tDwIUo122qnDrivXhM6rlCEILiBZh904b UDkj+prLG7kMkNpA7EUEnEKRk8iz8eOqiZvZS25c0ltlq185PZN4kfMaRlTFCodm Gam73veVcTZlhV8wLyS6Syw2+SGvobWI0CFyLQlZC6nrwEHtGARgewFmj2YajCGG GM92x//YyDbqQmpZWj7XePJ9EbZ3AjzWuh291yGTeDYR4kAPnOSBiJLE1NpsNk8A iUUhuMdrZVPFeJ+dl8C131vRgu2VQXnG97Mvm1ovrTQOqgI/srkE38hiw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeektddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepvfihlhgv rhcujfhitghkshcuoegtohguvgesthihhhhitghkshdrtghomheqnecuggftrfgrthhtvg hrnhepvdehvddttdfhfefhtdfgleehfeeggfdujeeuveekudevkedvgeejtddtfefgleei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghoug gvsehthihhihgtkhhsrdgtohhm X-ME-Proxy: Feedback-ID: i78e14604:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 May 2023 21:22:00 -0400 (EDT) Date: Fri, 26 May 2023 20:21:59 -0500 From: Tyler Hicks To: Hardik Garg Cc: stable@vger.kernel.org, shuah@kernel.org, jeffxu@google.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, niyelchu@linux.microsoft.com Subject: Re: [PATCH 6.1 5.15 5.10 5.4 4.19 4.14] selftests/memfd: Fix unknown type name build failure Message-ID: References: <20230526232136.255244-1-hargar@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230526232136.255244-1-hargar@linux.microsoft.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-05-26 16:21:36, Hardik Garg wrote: > Partially backport v6.3 commit 11f75a01448f ("selftests/memfd: add > tests for MFD_NOEXEC_SEAL MFD_EXEC") to fix an unknown type name > build error. > In some systems, the __u64 typedef is not present due to differences > in system headers, causing compilation errors like this one: > > fuse_test.c:64:8: error: unknown type name '__u64' > 64 | static __u64 mfd_assert_get_seals(int fd) > > This header includes the __u64 typedef which increases the > likelihood of successful compilation on a wider variety of systems. > > Signed-off-by: Hardik Garg Reviewed-by: Tyler Hicks (Microsoft) Tyler > --- > tools/testing/selftests/memfd/fuse_test.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/memfd/fuse_test.c b/tools/testing/selftests/memfd/fuse_test.c > index be675002f918..93798c8c5d54 100644 > --- a/tools/testing/selftests/memfd/fuse_test.c > +++ b/tools/testing/selftests/memfd/fuse_test.c > @@ -22,6 +22,7 @@ > #include > #include > #include > +#include > #include > #include > #include > -- > 2.25.1 >