From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2eCNBPMBVmq3igcAWB0awg (envelope-from ) for ; Tue, 14 Jul 2026 05:31:31 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=mjSVZAl8; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=mjSVZAl8; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 07B4A1E09E; Tue, 14 Jul 2026 05:31:31 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 097D41E099 for ; Tue, 14 Jul 2026 05:31:30 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0E4CF4BA2E21 for ; Tue, 14 Jul 2026 09:31:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E4CF4BA2E21 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=mjSVZAl8; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=mjSVZAl8 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazlp170110003.outbound.protection.outlook.com [IPv6:2a01:111:f403:c201::3]) by sourceware.org (Postfix) with ESMTPS id 5715C4BA2E0C for ; Tue, 14 Jul 2026 09:31:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5715C4BA2E0C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5715C4BA2E0C Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c201::3 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1784021460; cv=pass; b=fptlYM0LL4FBWkWMpjh13R30xvWT4PE2eHXL0MDXZjWmGdqJLHkJV6khuA1PDoDPy+BXAprEzaIv+cYyBQw3M84bXpzfDaFh4vl2IRXe4i7yxlFEGo2ZdqkPN4FMOZOO+dNWXQk7lDE6e4xw25rFn8tsXTHlcXFbkLBXMnun9ek= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1784021460; c=relaxed/simple; bh=b5p9mHeyfW30OqztMzWAhiDlCyQPEvcwP2KHea0u3/s=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:From:To: MIME-Version; b=e67VuhMZBQuR6pc1yeFOW5FS0kRD6rqVAdL0apCMzwVZaStBg7hGRVc8cPGZjqRlGt/1qoogBRnU8e51rnVcqrJuewKqdot4M5PRybyBykD1jUB4zKOToSrnM6a0J+sei2DlOX/v/VpLYZoa0Jhzo4a4xCEyJtww1/zd3QTJuuY= ARC-Authentication-Results: i=3; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=mjSVZAl8; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=mjSVZAl8 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5715C4BA2E0C ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=ZBhxWUjPm3Q/E/FmIgB7zDMy/S6vmvpjcmxty4JOdaKC1V8c0O+WRqCd5R0JMr2NmEa7gUKJsNlFVI1+MO9Vb9I0PbLVoYJEYHdUEOSgKcTkWfmayyU0QiSzohnuGQ/fHGs55OWXQSDHf76VLgKh00ZtlMX5l9hzN6ib06Z0K8tDQtbp/am52Xt1XZk9hUsPjfpmyKoTjv9YgT6k/oIU9k9jQPn+l7EI5o+k7ZLFimEGd5FjG928oWoUsrm4EABkbZ36o3dlKbc9ox16IkyeTVpmnkXYQmC38XTYhn0obIEB+1P/b0q/rG6zRhySGJ/eiJxchNZGu7P4wCn/O340WA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=pvr8Wys5uEbYhJM8R91gJvy96tav2MNxLXQHixbEzAY=; b=AnyjdbzxpGFzaLLi5eJDpm/w6D1IQD0YBJZi3o1sbzmbd18hmsgUDa/WehWt3cDXevTISNxsB/9MWSU9FUB5By29LvhW+8vKr+QyHktXu7kJpeZVkqkqvnyEww3WAo9ZudZHtwMZuygqK5vUD4AUTh03US0KLzeYAUf+IZzQZtuvTkxXgp4P+Qm0cQdNocEPa5+IiI+othB5m7k3oGqR2/q6OG7kkQidaR2vPqRZaZk1i7jabTPx5d2kq7Z96trL241iiI+jKC+M78u5RhWYbEXkhOUF+kx486UuBPKWliZz+Ar847YE2X5MsV6IhKkoRO/hsFKJcmg2L4F4dxZF4w== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=linaro.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pvr8Wys5uEbYhJM8R91gJvy96tav2MNxLXQHixbEzAY=; b=mjSVZAl8uaEYE2iJY1BRdB4HYQJgVAuVl1DeCC2lD6VOW4rPwBs+Vkya++0/g8wastiV5o6wUrPji8VaSZv1v7GFG2eYhmgJxzYrlsJclOQcmdu0a2LohgS4rXa9+HTmbyC7POTNUJ7+6l0tvfoNUj+aNTUO7TmnwOqCkBZGgyE= Received: from DU6P191CA0033.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53f::8) by GV2PR08MB11818.eurprd08.prod.outlook.com (2603:10a6:150:30d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.202.18; Tue, 14 Jul 2026 09:30:46 +0000 Received: from DB1PEPF000509EF.eurprd03.prod.outlook.com (2603:10a6:10:53f:cafe::17) by DU6P191CA0033.outlook.office365.com (2603:10a6:10:53f::8) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.223.9 via Frontend Transport; Tue, 14 Jul 2026 09:30:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 4.158.2.129) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 4.158.2.129 as permitted sender) receiver=protection.outlook.com; client-ip=4.158.2.129; helo=outbound-uk1.az.dlp.m.darktrace.com; pr=C Received: from outbound-uk1.az.dlp.m.darktrace.com (4.158.2.129) by DB1PEPF000509EF.mail.protection.outlook.com (10.167.242.73) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.223.9 via Frontend Transport; Tue, 14 Jul 2026 09:30:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v1vRySlaKKwBqzurSRnCklwSPZ639S5EfUXoWf+2F7/7/B47Wq9J+pRUAhylfONYTIiAeTRzLJ12Kd75NmhIUrYvyFmUdNXCMIcJELY7OyWrpxnGfVl/Qg5NyxMHgFzoraF5QneUVJgME7Tklwepp9aXodEY+kz+mUtRH58E0Be19lIT6rge2kdgFb3c0SAFUGYgeQHhKvUDYR38Ktftydn0HcPiuoEe6oiWAd2SwqI3OqJCTgkSoAfiYUUyHWhcz8kWOHSs/n7JiScJuy2RYpZKYOkI58s7nQa4tzjAhtUnnJatFUYCuVEJ0DETa0JKjBEbPMDwiOuIe+r8dkI4Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=pvr8Wys5uEbYhJM8R91gJvy96tav2MNxLXQHixbEzAY=; b=tEwpNiDUh2bj3CLIFteS8nvZ5E2WXx8mtQxo6EC7rSsEJwVQ7apzUvjZGonr6kKSDr8Bh1+sZrxlNxiU3tVeBPFFZIQUxJE89zZqeDeKI9xOI0MZk3NasO7f7rFzIciubUhBpdPGZKJBICBi4igiT30bsUSutvV41tid0Lamv199nv5l+UTeBwFnaOp/niUkPf/Q2d/FV6MA45sJjMUHwaLcYfh/Q15/XW5SGvK41KeHjUEwXS35I7QV+ZHt4YA7a2W99AdICKneAVBcUAAQfQ2KCGgOfl2asHilD9BNOG2vWR5+Se0IbcrnXrfznQ2F7wv+JPWFAIuv2j0XWco2yA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pvr8Wys5uEbYhJM8R91gJvy96tav2MNxLXQHixbEzAY=; b=mjSVZAl8uaEYE2iJY1BRdB4HYQJgVAuVl1DeCC2lD6VOW4rPwBs+Vkya++0/g8wastiV5o6wUrPji8VaSZv1v7GFG2eYhmgJxzYrlsJclOQcmdu0a2LohgS4rXa9+HTmbyC7POTNUJ7+6l0tvfoNUj+aNTUO7TmnwOqCkBZGgyE= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB8659.eurprd08.prod.outlook.com (2603:10a6:20b:563::10) by PAWPR08MB11202.eurprd08.prod.outlook.com (2603:10a6:102:471::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.181.17; Tue, 14 Jul 2026 09:29:43 +0000 Received: from AS8PR08MB8659.eurprd08.prod.outlook.com ([fe80::96bf:2de3:5eab:70ae]) by AS8PR08MB8659.eurprd08.prod.outlook.com ([fe80::96bf:2de3:5eab:70ae%5]) with mapi id 15.21.0202.014; Tue, 14 Jul 2026 09:29:43 +0000 Message-ID: Date: Tue, 14 Jul 2026 10:29:41 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 09/10] gdb/linux-tdep: parse ProtectionKey in /proc/PID/smaps From: Matthieu Longo To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org, Luis Machado , Luis Machado , Andrew Burgess , Yury Khrustalev , Pedro Alves , Tom Tromey , Srinath Parvathaneni References: <20260707154900.94542-1-matthieu.longo@arm.com> <20260707154900.94542-10-matthieu.longo@arm.com> <87qzlczms3.fsf@linaro.org> <042de0a8-d0e4-4ad3-880a-684ab6a22077@arm.com> Content-Language: en-US In-Reply-To: <042de0a8-d0e4-4ad3-880a-684ab6a22077@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0456.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::11) To AS8PR08MB8659.eurprd08.prod.outlook.com (2603:10a6:20b:563::10) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AS8PR08MB8659:EE_|PAWPR08MB11202:EE_|DB1PEPF000509EF:EE_|GV2PR08MB11818:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b3d606b-a3a7-4b7f-5395-08dee18a9578 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|376014|366016|23010399003|1800799024|6133799003|56012099006|5023799004|4143699003|18002099003|22082099003|11063799006; X-Microsoft-Antispam-Message-Info-Original: 4QIcpFnODEp4JAT9mSnlKjFy0eOLzsvuS7hnxGWd+pujEjSyiWJDLQC+oS01WG6hbjCW5XFIVFfcdA8Hj0o8tYSqlmVCU127RCwwLA8RyFzuP2CtEto88rquMcPdg0ccd2NmYkeuhqePjmHPhsB6MH5KzHFfxfC3qYS0VwHDaLiNVS8Il4w2jRyFAHAnr84tUXaGU7wsQH3OpHwZskXX5MrVH7v9v1ZZn1o6rdn0HZ8rZi866ImbnS1Dxm8rkCLcqxcGlTp4EDCQ97f9OaVJjiJxnKNKUzsu85nq5841AvcQyw7W3piCMrOgbI+fRQJkEwPTsw1N9c9PfmPz6wB1HuHq9W2K+qz3YItJShfWxPvPoJbhlLtXtFkvozU6NXlMGNH3u0FSIDzzUHmu91WFo9+uGyotQMp2S5nZkPVtbLSFOYwCWHRX+/J9BO3ro0WvNw8FU5LJG294NdpEf/2i+9iUSEDYrjwWpchdizBnGnQ173e+ovZTKNCQKwTfqFLl9qwCmDscOjmlAb3I3f8p13qZtzT4nCMD31pHOpJnMD/8KwpQrMM+zRXUmyghTCWhI36qdRoy6iW6O0HPS+NwvBM50rJuSQNU1Pw7xrZErzar67/eHSs5+evHQO8IBn91riAw7f376F23uI0mz2afLg2/TvmISdYZG1BWFh1+NWQ= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB8659.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(23010399003)(1800799024)(6133799003)(56012099006)(5023799004)(4143699003)(18002099003)(22082099003)(11063799006); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: KMY26uP35ZOew/lkxL+fT6au/PPwfdP5DBVsf5/WyGLJWKPryT9kWZK2/GJy5y1wUVwY7U0q43wIAkq+/J7HjLzjP1F92n8LUYni/IG4x1OSA7h1BdXh8GoRgOaMDD42seUKG2EgJKsCsrPjhfpKnXfxHZzgQPFzsHEONuj/uvHNJy32M5J0p0JvdaEnrGPaMSikTHfswO7BuugNXY3BeFZKmq/DCrtnoGdO8m1HOgp/pdamJH/K5DHv4SajGUTVyXo9ErdFsYkfsQjKD5OobjvrJ07LmTeKrzdCGnBbfpvSu51pTMAlspuBM4vhFfQVomQfuxu/KuCKqEEijGhYLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB11202 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB1PEPF000509EF.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5265eb45-f8e0-4ea3-139c-08dee18a6fbb X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|36860700016|82310400026|376014|1800799024|14060799003|35042699022|6133799003|4143699003|5023799004|11063799006|56012099006|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: gdsJz/3OPg/WC9WxESqNDjD1iZRWbCgi7qh6Qvl5MDp0YqgXi1bNhjCfPDWJ7asUzW393kozDAYywaseGCA4RxKI+8b9RIe+K2LhCNYIU3Ev98vc6UXmIRvOwaxs5hP6aMJSkWvLYB6gOTnbHmhIPaAc2HJ5f6/EDShyPVMsEF3oyIfn/4VqZCM+Z1sIlZKoMar++JxdPF5jsrZqCW6s3J9cAxKZiQ2g0oymBUFhr95IRqPjFXdoGhWGzkIjLrhBeLiQUA9ojxbqW2uk/33Cy+R200tMbLHWIoeJUouwHRK4qbh/inWU1O+ztNvFQN7DMYmcrHy5EDJ+LTZOHF8sDdOm1CoipWsqVtoOr9+zniLCRlXfMzwBQH25Mo5dKAqCIhiToY2gZogLAd5N+xeamrLwIMs5xFrMYpmoAfxn0cTDAf8IrhN6ZHVWWaH2WEJw5J1FApLUTJF2XLuXcpFo+SSEie9EI47O2Ya6WOURg2BtNeQ7Xmhi3byREHIYRA75w4V81oWoTpYYCJFdetuBHa1y5BQsPEReffyvbLyCneTEPDPOlmqMv0VTxPWzyCgRPkdO/ZN7RN9DDePOf/IZIJ1o5X+4YaXjpBzmk9NnA4DtOas4DHFPpDyHTTkTmOFfBa0pLDqwIQNn6sD6cI5P6IvMidGXP9A5Wf91LWJ5E6nsw+EfO7UaC8vDYq1oKAYQedp/jJY5FTcAm/Yae7tjPw== X-Forefront-Antispam-Report: CIP:4.158.2.129; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:outbound-uk1.az.dlp.m.darktrace.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(23010399003)(36860700016)(82310400026)(376014)(1800799024)(14060799003)(35042699022)(6133799003)(4143699003)(5023799004)(11063799006)(56012099006)(22082099003)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gHGkD6PHyIqUi5vwwG0ry8UGocelIAMhh+vQD95qN8duxleohsESO6+Vo2c2RQMUICabCxPviZC1e/pbunSkGbb0+8bIfDyLYW4Xy5trin6781PufzZ9L48wO5R9DSszIJInQKN/00aKq/xhHymF8zHkhg1T691ip9wms4q2+x4B6YJmj3EXV5mwOdR4lV2/wHPXtigiJ1h7isJq1UwsKh8ErxqBpM7OB1JHLX316ykhKkc0Y4fjK59P9gwTOq6EV235W8Fd2+M4SwFXU12GT7EEE8iONJaMI4WXyZGVmJTxNjCw4nRRasu+oYL7FJPnzIcFiwkob/y85fkG8VREVPeQqP8xA+drylCHVcuxYnWUf0/9Nsym7ZgbArVyFlAVki1oiaa8wK8qfogQFiZA/gaiaYQGQdJoYGGkgs0JTK/RD/NuxZzVGbiMZ9U4aMbz X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2026 09:30:46.1622 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b3d606b-a3a7-4b7f-5395-08dee18a9578 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[4.158.2.129]; Helo=[outbound-uk1.az.dlp.m.darktrace.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509EF.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB11818 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 14/07/2026 10:12, Matthieu Longo wrote: > On 09/07/2026 07:42, Thiago Jung Bauermann wrote: >> >> There's nothing in this patch series that uses the parsed pkey, so IMHO >> (other maintainers may disagree) it makes more sense if this patch is >> committed together with a patch that makes use of the field. >> > > Nothing uses it yet because it is still unclear how to expose it to the users. > I assume that "info proc mappings" is a good place to do it. > > As a reminder those are the existing columns: > Start Addr End Addr Size Offset Perms File > > Should we add a new column "Protection Key" or "PKey" between "Offset" and "Perms" ? > What do you think ? > Additionally, if we were to print the permissions associated with a PKey, what do you think about the following view ? Start Addr End Addr Size Offset PKey Perms File 0x0000000000400000 0x0000000000483000 0x83000 0x0 0 r-xp /path/to/file ... 0x00000000004a2000 0x00000000004a7000 0x5000 0x0 1 rw-p Thread 1: effective: r-- overlay: r-- Thread 3: effective: rw- overlay: rw- Thread 4: effective: r-- overlay: r-x Effective being the effective permissions resulting from the ANDing of the base permissions (coming from "Perms") AND the overlay permissions attached to a thread (permissions associated to the PKey. The look-up of those overlay permissions is platform-specific). If no protection key support exists on the target, the PKey column would not be printed. Same for the threads' permissions (effective and overlay). Does this approach look fine to you ? Does it overload the view ? Should the dumping of effective and overlay permissions be part of a generic or platform-specific command ? Matthieu