[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] livepatch: improve rune for fetching of Build ID
- To: Roger Pau Monne <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
- Date: Tue, 8 Mar 2022 13:47:48 +0000
- Accept-language: en-US
- 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=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=dzPb4aoy6dJCLBE13mc8KuqSvXNUEnu31vB5bt4QO6U=; b=BXy+YmjkpPyIh6dUAJHpAjDXcwkE6t6sU+GUyW0rx4nXL3yHzdBBJpUGBDTNTncBt6PDCiwsK3KYlbWLmYWHjE9/36WNa43RhgNy2Gq1K2LWx58uNKH8vzwAykKVQ0WVaw7zTbzNYOVxYSA76/q0PLaaxgg22Ijr7tNRtW1Y3cApVTfDEi1S/1QlzipXzxm4PudFXG6CSM/H4y3V308kIWMuXzfdCsP9mEG9O2vbsTm920HrcLSJvfOXnaJOK8Pvz2YAbHZGDOP7NKiHECLaOsR0NbG7zu63Z2jWqgSkVSCxNvrad7f4+0jB/kQ9pkf23svkd5GSVV7ZMh+6wy9CFQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZOHatACOFT6QFR4p2De50k8/5EwG1B/0Ph4D8cH9WX1uEvL8u6LNO1GDwo924GRb2r0tQqejGBfTL3aculUCQvyPP0l01c1ydWMjMH3xXSQWj3/lccRvPtxjbHM7GuVxdqT2kB9KAvT4MvPZ5v8t7T/p8SlRh89eym9dMqw5szcl73hqRDblFwwMCElvnwM/RzV/LLNxqOIQeZpOhKej00UqKZw3nY0nBakTLlu/rytWyg8DMPV5Jd70h91nPrN4B0y8CrZ1we8ko4mrJeMShZqDH2H1kvqGfpWuw00D9FVfdym5wopBSkvj+J+cBV/RsnCUFvAEFGqbL+oOvopjFw==
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: "konrad.wilk@xxxxxxxxxx" <konrad.wilk@xxxxxxxxxx>, "doebel@xxxxxxxxx" <doebel@xxxxxxxxx>, "julien@xxxxxxx" <julien@xxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxxx>
- Delivery-date: Tue, 08 Mar 2022 13:48:01 +0000
- Ironport-data: A9a23:EgDdEKles/zmtjrKTwWKuHfo5gxOJkRdPkR7XQ2eYbSJt1+Wr1Gzt xIZCmGPOa2KNGLyct51PIWz9BtSu5DRxoAwTFdl+XphQiMWpZLJC+rCIxarNUt+DCFioGGLT Sk6QoOdRCzhZiaE/n9BCpC48T8kk/vgqoPUUIYoAAgoLeNfYHpn2EoLd9IR2NYy24DiW1PV4 7senuWEULOb828sWo4rw/rrRCNH5JwebxtB4zTSzdgS1LPvvyF94KA3fMldHFOhKmVgJcaoR v6r8V2M1jixEyHBqD+Suu2TnkUiGtY+NOUV45Zcc/DKbhNq/kTe3kunXRa1hIg+ZzihxrhMJ NtxWZOYUScCIJGSsvomagQGEgZmbIJcpuPcGC3q2SCT5xWun3rExvxvCAc9PJEC+/YxCmZLn RAaAGlTNFbZ3bvwme/lDLk37iggBJCD0Ic3oHZ71nfdBPkrW4/KR6Hi7t5ExjYgwMtJGJ4yY uJHNGU2NkyRM3WjPH8lB7gj2/70hUPvTGBkqnWK9Zslv2TqmVkZPL/Fb4OOJ43iqd9utkSFo mPL+UzpDxdcM8aQ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7gpKScxonBQzO1Uyr 5E0W6CqpZbOxvcgSz25tzFUAxdjEavu3olltgSghVkIPojQa4UoooF8ExPFpAcWCr89YA8Ce FrSNrR/fBMbDqhHjvkV0RUsZWRt04Ib1+7q4k5y7io+ikTmGo8w1oTxcQZkHtF/JUhS4Nc7+ CBNqhzjrlBQsIfcKo4XY46MIaKI32IRQiJPHOZIFzhGq1CM3XRq4Tv6LFw4O2xYpQHwJY7hZ yEWlJFsmw5fV7oFKS1rdd22wGIRH/4USXmy8lY6ZQ8srrgRKDzOSnGU1wqm9vImYRoPiQaYY fFBHt7OY6QEYK1I/c74+TXYegmFUUj
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Suggested_attachment_session_id: 86fcc2cc-4d19-e260-876d-68c73321cc21
- Thread-index: AQHYLkHYPgIQbApwyE6feVSNYv9EXay1hwwH
- Thread-topic: [PATCH 2/4] livepatch: improve rune for fetching of Build ID
> From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> Sent: Wednesday, March 2, 2022 2:27 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx <xen-devel@xxxxxxxxxxxxxxxxxxxx>
> Cc: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>; konrad.wilk@xxxxxxxxxx
> <konrad.wilk@xxxxxxxxxx>; doebel@xxxxxxxxx <doebel@xxxxxxxxx>; julien@xxxxxxx
> <julien@xxxxxxx>; Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>; Roger Pau Monne
> <roger.pau@xxxxxxxxxx>; Roger Pau Monné <roger.pau@xxxxxxxxxxx>
> Subject: [PATCH 2/4] livepatch: improve rune for fetching of Build ID
>
> The current one is broken with my version of readelf and returns
> 'NT_GNU_BUILD_ID'.
>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxxx>
> ---
> README.md | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/README.md b/README.md
> index b48a3df..948a7de 100644
> --- a/README.md
> +++ b/README.md
> @@ -16,7 +16,7 @@ $ cp -r ~/src/xen ~/src/xenbuild
> $ cd ~/src/xen/xen
> $ make nconfig # Make sure to set CONFIG_LIVEPATCH=y
> $ make
> -$ BUILDID=$(readelf -Wn xen-syms | awk '/Build ID:/ {print $3}')
> +$ BUILDID=$(readelf -Wn xen-syms | sed -n -e 's/^.*Build ID: //p')
> ```
>
> Next, build a live patch, using a patch and the source, build ID, and
> --
> 2.34.1
Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
|