[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/6] xen/arm: Introduce flags_has_rwx helper


  • To: Hari Limaye <hari.limaye@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Tue, 24 Jun 2025 19:00:48 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • 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=T5wJo0L1SKWgKFZ51jXd3Jpj2o2N23/1Qjr2Vkfukbw=; b=L0KZAA16dhaq/Eg28Hwxk80MQubUVzxXKbkFI7zgh3UzpfsHnXDPcqiPBeVDSCZf9lKVE+2UMEf+W9A7Dh8mJuDXM88A+jXEbLnyvK6sKw71kNeqVZyhxCOdI76eTvhvWEzgrH0Ry1EYFXLMccxmGB8u8freMrYtzG3QyNE4xwp2iHo+W35pql5epUbsvThAH3CAiAFlXUa1Fy52A4XhLVtTAy7c2/WOtdO2nAN2lZ+am7BP6dZVVukQ9lYsopo6d3W0zthd7BYOM5xeMsTJHkJcRgOzz8w6hja50Ove40pLsR+0WXN+nWnaZJ2qM1gAa0R/9LA7aZl4JKGi3tk//Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oamGGq0szH1oi4OunNTl9Zr9PCMc/9grSWAmkFEZsyiQdloN8YAqhd+UqwoSkO1UhLhoRkTlbv4/jz9TEEeYUeDxCfEJxbQLp7JlKimUS120hc53IJM31vALPSjsZNqH6wi6j+ZOsIXnTgj6sh4sIvVvIF8ntVNGDk/G2uSxJx6+BAx8jMJol696GWWYTRt2ECgqO+6icirynbmPygIwCI3qB6Tb4Ra4aJP4wUaiK3alOtE2ReJr7u68YUle3Z2Ok5nk6v9eIQrx7n/20fAO2pugut7rljKsVZSw8+7iW4v01/8zeetgOtTHXZfQbDsv8ygWmyV1C8vt29RmoY8kXQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: luca.fancellu@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 24 Jun 2025 18:01:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi,

On 20/06/2025 10:49, Hari Limaye wrote:
CAUTION: This message has originated from an External Source. Please use proper 
judgment and caution when opening attachments, clicking links, or responding to 
this email.


From: Luca Fancellu <luca.fancellu@xxxxxxx>

Introduce flags_has_rwx() function that will check if a
mapping is both writable and executable when modifying
or update the mapping.

This check was already present in pt.c but since it will
be used also for MPU system, it's wrapped into a function
now.

Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Reviewed-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.