Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1453780lqm; Thu, 2 May 2024 15:53:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXN4hgsnRsC70mbji8CtfzE/J3eQm6/LD2Gxm384xHMUNdCpIaRBFdikMb7JIpeM/ZyT7fEUOrVQhumGjZ+x7cOoxcRKknpifxMIhut8w== X-Google-Smtp-Source: AGHT+IFKXEpU4j09IkbMnjxIEAyYSuhWaGwdDq+w0fsqUpr7O8HJ6ZYhwcEUnIRD75WwBYZzfMW9 X-Received: by 2002:ad4:5aeb:0:b0:6a0:b475:2013 with SMTP id c11-20020ad45aeb000000b006a0b4752013mr1256141qvh.4.1714690436989; Thu, 02 May 2024 15:53:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714690436; cv=pass; d=google.com; s=arc-20160816; b=FZWGuaVdOqlC0yYdNO3F1+fx+NgNp9BIRCLzBpQa/I9o/mHx8jbs+p0kuRZ8/mD593 KQlwMTP9LpiEXajn0Kcx74bQHKcSnty6A5/Ltq8BSMg4xspvlmzyDfQ6+wPWJabdREgT UVVgz6qml1/ZdcN5DN19fcvRhllEBW0mHoEHLH5qnOlC6GFMSYWxBAtN/YW59wWMPk7I sIEcJYd4fgEOM3cwbKuucfxGJKoNA0pJhRlHNB66OQfzXbm+rFz+ZgSw0JcBTxCY8e1y wb0D8ff3gORYPfVQL6uMWJDvyhrZWzdfLzmnzPJ9w9Y+zK4tVwyQUk+eOmVcrnbI5UN3 mPNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=R+CbTYcuXhAHq3pBgBZF2uLGBq5IUxFnRXQZTgCCuoI=; fh=quEj4SdfQP0IXqrpoAiw0Me1XTDDgrXEdElt7ny+wdk=; b=WuP00voay9lNLp/kjI0vmkoO9TIQXL4MHkuOB2eRwng7Ckz7Wud7/4nUjAzLCsL5ZQ voCgHvT1Y93r/zuozdJ0VzPXLqwG0T+bjePQCWb0MOsqxISDUqlmN/aCDpBJPL2G5XQD H00AF2x2Q4Fpy8lopsvdR475+c98rqi20y4dFTJ0jlraUMpUqiSXN44mquFyF02V2p3c Cb2VZk0DXbMpziVSBx67bEBIyWfFZECSgt7mKgr4fozBVPxu8Is3B8zS4lwuxwnbeg7W tf4tKd8V5+Uwhh48YkFbcTGGd/dSTAaLWceBlh0xl524vcOc3JUNlQSi6gJbXrS5efSp 0G+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GXlHVmV3; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-167022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i5-20020ad45c65000000b006a08de75b75si2040958qvh.573.2024.05.02.15.53.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 15:53:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GXlHVmV3; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-167022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 B384A1C214A9 for ; Thu, 2 May 2024 22:53:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E151D1CD11; Thu, 2 May 2024 22:53:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GXlHVmV3" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 D312C1BC2F for ; Thu, 2 May 2024 22:53:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714690421; cv=none; b=EwATZBgRJGkeH2djFC7BThgpK2paZTDVdBifrkaMU1LQw+d0qGI2BEElC2vKczFWPMQ3hqzK6kDAldGIQjiGJg3LNyeTmliVunQOcZ4S44uYOT/285zrfO0Acp+H6nSDY4XcRROPcnD0FA2DIl36eAeCttLNBtoSKFHJADLHyHk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714690421; c=relaxed/simple; bh=9EIDvlKn8H06U3Ns7X4JkY7FQixrkq70JScwUwcT+Mk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HWBZrlyn+fBqXH3DeBsx98IDiIm5qE/M+A2h85IwAvqAlF3PNArziE139FGuRmWnQTwY3KNBYH2C3t33oxEFrqp/MekfCoHPM6Ze4XwYaFrDodNOvwAvQmplxajgAQcc4HYzqMk7xLJCbYRHWXkU6b5z5WNv6/wiZ+19RTEnYyk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=GXlHVmV3; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1e651a9f3ffso46083355ad.1 for ; Thu, 02 May 2024 15:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714690419; x=1715295219; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R+CbTYcuXhAHq3pBgBZF2uLGBq5IUxFnRXQZTgCCuoI=; b=GXlHVmV32OySEyfV2tzM7/Zcoi9qf2XbShd3IE5te99M4XGjmb8J3ysGDFySvO7HIv vrNel25xbPgx7HNUQiV2speMTI9EWLue/TrCaIBTqLOi+XZfgihfJIeWAAVy08HbJfqL YprL+VAkMM6uFaXU5wbt/9fBVGbkGwuZE2tLE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714690419; x=1715295219; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R+CbTYcuXhAHq3pBgBZF2uLGBq5IUxFnRXQZTgCCuoI=; b=hTS6gpFFi9/jYdUh1Rn4gY63lvzGdT8JrEMMfS2gmXSEMxD7gnbuSoMomKq/5SFpv7 8I2KaQOSOJh7152ejWtNf3RLE1hzoYG8UojSqn04U4tnOt0u5rKxl4gImLsBuD8Md3xK jsaevZ2nli0ulb5CLQfracqep68OAp5J0IgIt8NHx43PTB8ZZ+s7Hofoki+J1wNDnACP OHEsixpa5OStfu0nt2UAVFRkhXJKaXm3D4Wh0/mLgQ7pDI0BgxLWTV0xLxXRuGO5/v1v 7hUQxK7yU9DyZG+gXapfrfDfcHVXxqmQRybX9V20TGM/aMUc0OneUShwSoJ663FcQQew DsOg== X-Forwarded-Encrypted: i=1; AJvYcCVfQ+kkOgFpiV4O37PyKkd2jg2bXUDPLwJLbueUsP6dyFFv6S6p2fJDaDjit+74Hsxm5A1Awqn+LbLzreMppQiEx/rW20VlITB1X6U4 X-Gm-Message-State: AOJu0YzyYM6PwrwAO/HBfXpy6GtsEMhZA2Ax2f7TpGy3tv/eNC7xx0bj 3MF+hNn/AwQpiPxiCTsbJAfoIjCnDqiJtLt72EvTyxARXXAfH74i57+hTom+bw== X-Received: by 2002:a17:903:264f:b0:1eb:bc78:1ef5 with SMTP id je15-20020a170903264f00b001ebbc781ef5mr950791plb.17.1714690419185; Thu, 02 May 2024 15:53:39 -0700 (PDT) Received: from localhost (238.76.127.34.bc.googleusercontent.com. [34.127.76.238]) by smtp.gmail.com with UTF8SMTPSA id q8-20020a170902dac800b001eb3f705ddasm1861884plx.255.2024.05.02.15.53.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 May 2024 15:53:38 -0700 (PDT) From: jeffxu@chromium.org To: ryan.roberts@arm.com Cc: Liam.Howlett@oracle.com, akpm@linux-foundation.org, corbet@lwn.net, dave.hansen@intel.com, deraadt@openbsd.org, gregkh@linuxfoundation.org, groeck@chromium.org, jannh@google.com, jeffxu@chromium.org, jeffxu@google.com, jorgelo@chromium.org, keescook@chromium.org, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, merimus@google.com, pedro.falcato@gmail.com, rdunlap@infradead.org, sroettger@google.com, surenb@google.com, torvalds@linux-foundation.org, usama.anjum@collabora.com, willy@infradead.org Subject: [PATCH v1 1/1] selftest mm/mseal: fix arm build Date: Thu, 2 May 2024 22:53:31 +0000 Message-ID: <20240502225331.3806279-2-jeffxu@chromium.org> X-Mailer: git-send-email 2.45.0.rc1.225.g2a3ae87e7f-goog In-Reply-To: <20240502225331.3806279-1-jeffxu@chromium.org> References: <20240502225331.3806279-1-jeffxu@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jeff Xu add include linux/mman.h to fix arm build fix a typo Signed-off-by: Jeff Xu Suggested-by: Ryan Roberts --- tools/testing/selftests/mm/mseal_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/mm/mseal_test.c b/tools/testing/selftests/mm/mseal_test.c index ca8dbee0c612..41998cf1dcf5 100644 --- a/tools/testing/selftests/mm/mseal_test.c +++ b/tools/testing/selftests/mm/mseal_test.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #define _GNU_SOURCE +#include #include #include #include @@ -29,7 +30,7 @@ # define PKEY_DISABLE_WRITE 0x2 #endif -#ifndef PKEY_BITS_PER_KEY +#ifndef PKEY_BITS_PER_PKEY #define PKEY_BITS_PER_PKEY 2 #endif -- 2.45.0.rc1.225.g2a3ae87e7f-goog