Message ID | 20230308190423.46491-5-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8EFFC64EC4 for <linux-mm@archiver.kernel.org>; Wed, 8 Mar 2023 19:05:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 567EF6B0071; Wed, 8 Mar 2023 14:05:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 516BC6B0074; Wed, 8 Mar 2023 14:05:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 369816B0075; Wed, 8 Mar 2023 14:05:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 1E4876B0071 for <linux-mm@kvack.org>; Wed, 8 Mar 2023 14:05:02 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id D7A2E121072 for <linux-mm@kvack.org>; Wed, 8 Mar 2023 19:05:01 +0000 (UTC) X-FDA: 80546658402.23.6429972 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2082.outbound.protection.outlook.com [40.107.104.82]) by imf05.hostedemail.com (Postfix) with ESMTP id B66AA10000C for <linux-mm@kvack.org>; Wed, 8 Mar 2023 19:04:56 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=mviJigO4; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=mviJigO4; spf=pass (imf05.hostedemail.com: domain of Joey.Gouly@arm.com designates 40.107.104.82 as permitted sender) smtp.mailfrom=Joey.Gouly@arm.com; dmarc=pass (policy=none) header.from=arm.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1678302297; a=rsa-sha256; cv=pass; b=IkRQ3MbttFzLjacSqOE9c20cbrsZ2eYypHPOQA0+wIzQyuN/uWeG/N40pxQ7A3Wq5QpRo3 MSA63E6mLsBgGVax0oO89GzqXtlzRK9/0pjCZgf8l36lE48hXPnGvE/3ciMznjdkZc4MZ6 dW6XfH8Z/0HoK0x7gWolpZCPq7kkNwQ= ARC-Authentication-Results: i=2; imf05.hostedemail.com; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=mviJigO4; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=mviJigO4; spf=pass (imf05.hostedemail.com: domain of Joey.Gouly@arm.com designates 40.107.104.82 as permitted sender) smtp.mailfrom=Joey.Gouly@arm.com; dmarc=pass (policy=none) header.from=arm.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1678302297; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YO0vrueUqqzXO5TizfTrul5Wnl59cF7BkXYVZh4ttUU=; b=gaM2B3bhDnSRLnNtUKMr3cny+cSTk1im+BRNfDx48XGil57K7NJSnJHhbAPZ6LlIMi2xtp Aslu4Zc2Z0dSdIDgalGQp1WLQRakYq/VY8m7VhxQeTG8oNvYem0E35IBIpf9gW31tuGwVm lT890xulZm5x6LnttjKR6iQelKAaT5Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YO0vrueUqqzXO5TizfTrul5Wnl59cF7BkXYVZh4ttUU=; b=mviJigO4/TuZyIxxYk72hy1mh+TD7Rc/HpLPegLcHvYZJ3tY4oZ7GkVejPFVpMPuTfraHZ0fI82XcwEk8Xp2mvEgELBEpcNwaMsYgZUWpub5bBoYCIQfT79iePhnRhENEzbvJeJ9KKGNTFvXGqNax2PJWxWKF8C0kwFzgWlcFZI= Received: from FR3P281CA0145.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:95::8) by DB9PR08MB8337.eurprd08.prod.outlook.com (2603:10a6:10:3de::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.28; Wed, 8 Mar 2023 19:04:52 +0000 Received: from VI1EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:95:cafe::7d) by FR3P281CA0145.outlook.office365.com (2603:10a6:d10:95::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 19:04:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VI1EUR03FT049.mail.protection.outlook.com (100.127.144.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.29 via Frontend Transport; Wed, 8 Mar 2023 19:04:51 +0000 Received: ("Tessian outbound fcd8b5fba459:v135"); Wed, 08 Mar 2023 19:04:51 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e1273d90c2df332e X-CR-MTA-TID: 64aa7808 Received: from cf525201d89c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 12CC331A-A4AF-40F1-ACCB-2DB6AD3AE8BC.1; Wed, 08 Mar 2023 19:04:44 +0000 Received: from EUR03-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cf525201d89c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 08 Mar 2023 19:04:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DE6g3r2aCNSl6lMSzBdeoRCXRNxOWkfKN0V0DjRs7cezAiVrqDsgAW5KEXhDd0T2ZVZFUM5eIIOnSlG65QykJTR0b1IB6H6YNHZIJcg0pwtRyrnLrWqhN9H0YVRJ2dVjqKHi1WMmuP6Le81sRjaquXaKhEk0DLx9TDitnwlbSBtpMXSaBajbeYZa2GAohX8U11iaPkEFsKOWto8z9jJj8nzQ/mtPrqj0c9dM8LDkSd5RGo5V/oHarsYS5leIFzCiNgNhLHTs0y05j8SN1m9DYZTTAuV0H/I2C26uEoBL49G8MIoSKyjhM2MbEO4HZH87VGmCXBKZ2rct2/fwSLCG+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YO0vrueUqqzXO5TizfTrul5Wnl59cF7BkXYVZh4ttUU=; b=YLAxYPFGiByt5iGEnCi0+x7lUJ88rcemn5Wnu8QF+k8e/4ZELG6vmr79vT+9nmWQ+LMnjFQH7CRbXPT9gB1LIRPBNWffXzE2cErRtCytTVmWeAcsNBF6ohKx3op+uXnAFbYaED7YyokyLpqXd8h/iXqvcBYofOPgx4j815D+5B5fAaM0hQUZu7tAxEJo7afyUWHCSucFWTMijljn84lnzYZFb7Z7EfRxNVXuosSEpxtL8+2V1rs9j2rUQbj9uC0vWx5mOGUahncVZpytLZUExAWNT355lbCzsXHBR5Ie0A8MEXjjkW7Iy/uqafBTD+5ZmbhdV37Xbo7Mb/ujIW4sPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=linux-foundation.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YO0vrueUqqzXO5TizfTrul5Wnl59cF7BkXYVZh4ttUU=; b=mviJigO4/TuZyIxxYk72hy1mh+TD7Rc/HpLPegLcHvYZJ3tY4oZ7GkVejPFVpMPuTfraHZ0fI82XcwEk8Xp2mvEgELBEpcNwaMsYgZUWpub5bBoYCIQfT79iePhnRhENEzbvJeJ9KKGNTFvXGqNax2PJWxWKF8C0kwFzgWlcFZI= Received: from FR3P281CA0048.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::20) by AM0PR08MB5395.eurprd08.prod.outlook.com (2603:10a6:208:188::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17; Wed, 8 Mar 2023 19:04:41 +0000 Received: from VI1EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:4a:cafe::b0) by FR3P281CA0048.outlook.office365.com (2603:10a6:d10:4a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.16 via Frontend Transport; Wed, 8 Mar 2023 19:04:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by VI1EUR03FT019.mail.protection.outlook.com (100.127.144.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 19:04:33 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 8 Mar 2023 19:04:27 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.17 via Frontend Transport; Wed, 8 Mar 2023 19:04:27 +0000 From: Joey Gouly <joey.gouly@arm.com> To: Andrew Morton <akpm@linux-foundation.org> CC: <nd@arm.com>, <acme@redhat.com>, <catalin.marinas@arm.com>, <izbyshev@ispras.ru>, <joey.gouly@arm.com>, <peterx@redhat.com>, <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, Shuah Khan <shuah@kernel.org>, Kees Cook <keescook@chromium.org> Subject: [PATCH v1 4/4] tools headers UAPI: Sync linux/prctl.h with the kernel sources Date: Wed, 8 Mar 2023 19:04:23 +0000 Message-ID: <20230308190423.46491-5-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230308190423.46491-1-joey.gouly@arm.com> References: <20230308190423.46491-1-joey.gouly@arm.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: VI1EUR03FT019:EE_|AM0PR08MB5395:EE_|VI1EUR03FT049:EE_|DB9PR08MB8337:EE_ X-MS-Office365-Filtering-Correlation-Id: a75ec020-5d68-46a6-dbc8-08db2007fed8 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: qgzQoIFkQd6NohS+8iDtn9lF+wfcdzWtgFFZNtLtCLFF86D3Zl1TBa9EQ6MlzRg3KjZN7VXMg67WxxrcDsinHs8v1WpIJjAC75yV9dcUy+TmUqY32wkUEJVBlQO+Us3AlcdS00MSQGfVpBgWJk+P+7UaH9Z66AXgW0+60i2D+TNlT3QffVfGYuCFuA3XBLL2QDeSYgcSd9ZXuwMvGhT+S5g0vmSJjdVXjTLT4+mzkM+tawfLI0KjWJOomVlAnQ3h3rFg6y/kzfGQaMUfdf9sh9ULWZzPGUR71hUqU8SfShyN0+t9otPPc8Eln7zcB2pHCijrXSb1G5bU/LFLElOxcp54CXAkvlm1CJmG+cbxDaUnEMi3gfl5FvvZgGP3g5ZKoKxsxmgoYinz4hvGgmtkcrXdWb6AAcPZ0YepNAAkGPLw5UzTsKElJW0iDxJjaozExOT0i5S/H727EDJIRPmgScYgei/rYiUh+QkGlv2s5enEBGU6VDbuhg8kIYqOMPkOD95fEhSWEwZysMMCE/UcOmFqeDwAPxb/Q70adIYbkH0K1TzvmawaPKNmur05fUycSL+0vWUeM604raMO+s19tZ9uxsU9eHoD8XkHR0a67biNLqCgVkwWK9/u0EDXcei0k8rRkr2bJjT8CXeQlq8qqbVH+dMiUbESlJBhOYSNTsGeP+yd088Um78DUgOO65FHiMLFgc3nQL5zjXi4uRGgRmyGUBQ07a1+9R7c052w1dQ= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199018)(46966006)(40470700004)(36840700001)(83380400001)(478600001)(36756003)(186003)(81166007)(54906003)(82740400003)(426003)(44832011)(7696005)(356005)(82310400005)(40480700001)(70206006)(70586007)(8676002)(4326008)(6916009)(26005)(2906002)(1076003)(2616005)(6666004)(336012)(5660300002)(36860700001)(47076005)(316002)(41300700001)(40460700003)(8936002)(86362001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5395 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VI1EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: fe11594b-c6a5-49c0-f655-08db2007f3eb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6t5S8KskORQAY2WsMzwhdG3MW7tRcEAdeVZVZfLITPn+cMQezEewy8J6sXCe+6RdUmD1r0xbMOzU/WFSgjOs1p82hAKvut5L91yO2bBAEP5RS5zIdZdILyMi0dE6BvHWCA6lr67ze3Vh4fgERC1z6e2SRXG10s9OeGHjaqTegP7ivS+akY9MClfPssdjdTTwwxSR9WPHUlw3wO7N+kXriSAKeqq9UqSIbRmM6DD58Vouv8TgHpVPD8afAIdjcplNsENouW1SiOZ1hMx6RyWw4RpQG1Ux46EAUCgAkQHCV3ngkDLfXwO74yfyP8uzLGYLfFtyhpavsEAem/cmK1Bo+4ZtQkb7yexexyDFzz0EZslEJ18HYUNYbR0L+ETJbtWrKc6t7IaQh/gR2Fok537bVW5ToX36uKvLzCeC6vAV+N7mnxRscIWiDsPhBZWVCmzqqGXJW05yAYR+hG2RzLDySdE2dUm+Ifcu75Vc+pRvRyQg5hLn1MbPHUZpTvu4z0SfXLayerpJTFIF7tG02hqFsFAhN45akqmgpywUnuOWpUHdbBui6q8wYHEkeAGYIRTHhpgh+CzQtulT6l5wOiYckcvDSQp6FvIMgl5j7TPtmoJuGGAyEl09NR/cgY1v67RDu3hdCcOGPclGoktJS0Bgxxz8RMp5X1eGOG9M6QNV4NltDZHa0qESH4itDzoxSZZsgwKwiBAMp0lLL7wTlPDH0A== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230025)(4636009)(376002)(136003)(39860400002)(396003)(346002)(451199018)(46966006)(36840700001)(40470700004)(6862004)(5660300002)(8936002)(41300700001)(70586007)(70206006)(44832011)(8676002)(4326008)(2906002)(54906003)(316002)(478600001)(7696005)(36860700001)(426003)(107886003)(47076005)(36756003)(6666004)(26005)(1076003)(2616005)(86362001)(336012)(186003)(82740400003)(81166007)(40460700003)(83380400001)(82310400005)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 19:04:51.4604 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a75ec020-5d68-46a6-dbc8-08db2007fed8 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VI1EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8337 X-Rspam-User: X-Rspamd-Queue-Id: B66AA10000C X-Rspamd-Server: rspam01 X-Stat-Signature: z9ugfcr6ncjqnhkj584o476gaxzzsdir X-HE-Tag: 1678302296-855577 X-HE-Meta: U2FsdGVkX1+U96uF4nuUzwtuvBQMPuAHcsJ/x/x6BNETkzj+Th5VG3oRQ0WSHr/3Oxv8qNeLeLjjEUCCmIyv++/l+CvWhF164Dfp7mw5XC7PAv9h8H5SySsRgAmDqwuxrlyUTMCfvaBZjLwOxwumP0IYw0hkUHYxlOOQbw73S1jvZsmn5OGSIdOWHW3WqAaXYoyIOvk6Gqg9aViVovZwNmoKXybTUs1UpiLthH8Xx+a+LIFVmRHfltaEacy4z+uPeWcAHi/06oXJWtvsk+SGbvabXTIsS6NdbOVmlbxUqhLnbcl/HAqGhJSkIj/z7QpMg4bbtA1pSXh7VL7mzjLIXTRcNU390MHu3vnW1VuSNBZdPaDSV0ED6zHIHQFZBK9Z0NGmR/+ZsSk/seoIqgderreDP6RPV+CicQTd8XknYiHKt2nU/qiDunqrz7uI9TyEScp/5pO0soORnhizU9Ox5Iq4C+rQ4w66MRcM+X2SmMQ3tSOjA38iclkbn9gKFglVVIH4zwFWKFQGLMJxlZzFWk4pbPRK77uv5DWMie/o8Oew05C3HXi6scTOdquB3uV9fI67n1Onub6xZTUHoUU1ZQU3ExdW2b28YZ57FQAoC6OqLaLsdZdq7t0D/RWKevARgiWvNJ11FYRGkm/jHiPSWbg+cVkdGydA1F1QWPoMkYZJbLrL2+bx6r/pzPstzwfRM00ADqq5qfQGVGEcrcoPRO3oCRf/l6RLGpxSUzjz5XBKOzgwhJtvkP56VjmwzaePYc0zj9BmsPeslC8DUBgUKK8eNfNF57vI8kkFfSKRX+gBQwOps5WGAFQKgrFIB4+ZL2YqRuoxqTe0/+UIJKgTyYYnb2hvOWjY9EyZpu8n1R6Qx6S9MHL9Ke6Bjsi16hJ6fuDfmPYCw7xit99LHy27yWBXSfNWIYyg0VYZCcV4+rwt8/90S37CUR3HO0zDLUa36Cu9uCwMofISgh0O6UZ M1c8NDMx 1UKbFcCybsWa1DYVk5SrafU+cKePI1wSqkeCsSpqAv7RHlxTjnMtY20+JQQR9/V+2FIjFcahlUF1WXs11FIw+A+201pxndB+0QqWCPwSc2DP2VsEtxlVo+fN9qFBQ8ZSwMFspnl2lwP9EZ6JGSkxPRpjkg0sAm2yJE/gm/FMnNzs1iIMw69DvzY45ShRib55+pbCH8M1/oK25sMVRFIwiE2q5l/F3rpEb7cV7VdgS72opEJw70p7cAZM1AYl45fnB4Rui3fFzqszGuQaEXgH15EKemlVodmFI8XNDeSUAnTIBO+46e6DmUiyvZ0c2uwtUYXtkT6wjC9hJCAsp1ITOHbgzwCIIDJRkgGVIzm7h8BsYYivpo6gsciE73AOmcnJJak8/FXQ+9RSKPl8eoB7X6WJoHy5AESIc1gFC7/8/7HZWtjC5MuqORfX03TFqs1QT10v7xtvolPKbU88x72YVvk9HqEiytvVyogqL2LtOmB3s46Ebafs9w/gTJ1YAy0TinoYp2wJH6j8xiHZa1umXPSIZUndp1Jk/pnh8KVNirDUAiOhWPswr2jwnbQb2zNVFu3DsXfy8KQdEtqG+WceUExicGHwZ+YGevumubmcQZiOQPaO5aSqMs5fBng== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Fixes for MDWE prctl
|
expand
|
On Wed, Mar 08, 2023 at 07:04:23PM +0000, Joey Gouly wrote: > From: Peter Xu <peterx@redhat.com> > > Sync prctl.h after the changes in b507808ebce ("mm: implement memory-deny-write-execute as a prctl") > > Fixes: 4cf1fe34fd18 ("kselftest: vm: add tests for memory-deny-write-execute") > Signed-off-by: Peter Xu <peterx@redhat.com> > [joey: added commit message] > Signed-off-by: Joey Gouly <joey.gouly@arm.com> > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
diff --git a/tools/include/uapi/linux/prctl.h b/tools/include/uapi/linux/prctl.h index a5e06dcbba13..1312a137f7fb 100644 --- a/tools/include/uapi/linux/prctl.h +++ b/tools/include/uapi/linux/prctl.h @@ -281,6 +281,12 @@ struct prctl_mm_map { # define PR_SME_VL_LEN_MASK 0xffff # define PR_SME_VL_INHERIT (1 << 17) /* inherit across exec */ +/* Memory deny write / execute */ +#define PR_SET_MDWE 65 +# define PR_MDWE_REFUSE_EXEC_GAIN 1 + +#define PR_GET_MDWE 66 + #define PR_SET_VMA 0x53564d41 # define PR_SET_VMA_ANON_NAME 0