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

Re: [PATCH livepatch-build-tools] Treat constant sections as string sections


  • To: Frediano Ziglio <frediano.ziglio@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Fri, 3 Oct 2025 12:28:34 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=OmBfm5DqS7dBua8Z+OdeFkiiJzV/rhm4OOyJjxNfybg=; b=gbPNhjR3QV96qpSw/sL8hFvxG/LglDgsQuqP39sohTOnd/hTn5HCfSSFIGEqckn3GtS/tu57ft+3wpM23NolHGx0UulL7ZjGgtEk6HlzZQvUPiLFnY2vBfsZjsgaGwTsD7wA4vn97f03cE0my12wEAOBar/uBlkSm2meuRp6QprejwqJigpVx1ebwqd41HLxrZgkSP0gWrvalB6YL8wSL36xdYP23o8gWXZUz+f+gS4iZFLM1VZ24FjvDtSK5oPCR3aRNyjqct8gqFxvnwYrW7ALirO0050Zz+nH5tyWk7ViizPeMgQFCqNRwPSl6VziCkyE83ucfl6ySThVqt7OKw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tNw3m66SqcGCiXLq0swa0we4kbH7ftDTfkr9T8x6jp86h+0jssnnN3RkryX2kzjEhNFZIqYbra5WcNGU5pUZj9hOH39kDgCca07Gu60XUHf1UcpXJrNMhDiGoqZAFZfH7N4Raz4+3HM4JByscasrQKxHfBNTXUGZcVfyUTjEzAApjIZRy70TOg/IIXCL+l1viEFaEcZgUwBDTXrgJtEEJjhV6uXRaAcdF4+bl3kO/Y3GbLjcy8a3eWIVjtPY2DI1Ke3eZtDIHlsclJmRAOzOzaKOC3Fmv8P9EziexOaxwLIfhsWwmxPX7yivz9GYCw0z+Ytkjng5+yRAGtyQyZDFsQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Fri, 03 Oct 2025 10:29:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Sep 18, 2025 at 10:51:58AM +0100, Frediano Ziglio wrote:
> Newer compiler can put some constant strings inside constant
> sections (.rodata.cstXX) instead of string sections (.rodata.str1.XX).
> This causes the produced live patch to not apply when such
> strings are produced.
> So treat the constant sections as string ones.
> 
> Signed-off-by: Frediano Ziglio <frediano.ziglio@xxxxxxxxxx>

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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