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

Re: [PATCH v2 2/2] xen/riscv: add explicit check that .got{.plt} is empty


  • To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 16 Mar 2023 14:56:43 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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=bjS3oVBNLLe37oSqFfjO2JRnUC3iQ34f+tPKUiqTF4k=; b=ACkYJKsvlH4QbETe+oAeEePtRlWI7w8t3iwiHlrcXvg5UEIOniP3xC4vnTkah6zD1hx0NCX3coLaQ5OsHHdf4aiNY61/ZB0HslJZneLA8GLFV/3t7G/XfiFXghrlsDDGsdGL4SXOxvlXQ4CHE86saJ3t6V5KURV0MoB3+oEihtTFKgydMdLl2vjBCfykG8MwEdegC1TfK47PbW1ra+KxCXZzuNWalUTmjBnNJEpr5ywQVHS3oOomIwb/U7LSB1zFk1OxUHqgVd4RKOsexSIe/7yRqb/7IQtCwxztl9TPICHT4WaToMae+A0ad77Lo/KYQsHDfLPHM6OYUDHAfAqX8Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KTKeEOVhkPLGH6pGl7Ptfed8PqPkC+ZyBnw6vOQYbFZNfjjHL66/13DdPBuAvhKUJhifZH+m1r3YMJZqVxVbjCIyk+/ziZx6ioMeM4l75NgrhVQCd8HuxkuFFKjRhkfI8U7l85hVigVwoteBkf14w+pAcxpUJqEtbLq0yPCfoj2Ef1itN3ZG0wTQuomdPNFWuz2JGnU5FkRda2nZRwfuT0xljsrLgQpU9PmifXpCSyVJLqmGN7djyOmjDacuwPJReP4HHzOtAuhl4MC1O62mpzli/xyF7sQsdND9CmwkhJr/gGtxAzDY7AWKFfp6yIzA2QywwbRmJ+9aFoRFfOZiWg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Gianluca Guida <gianluca@xxxxxxxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 16 Mar 2023 13:57:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 16.03.2023 14:22, Oleksii Kurochko wrote:
> The GOT sections usage should be avoided in the hypervisor
> so to catch such use cases earlier when GOT things are
> produced the patch introduces .got and .got.plt sections
> and adds asserts that they're empty.
> 
> The sections won't be created until they remain
> empty otherwise the asserts would cause early failure.
> 
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

And again a Suggested-by to Andrew perhaps.

Jan



 


Rackspace

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