# Re: \[PATCH v8 08/14\] livepatch: only match unique symbols when using FG-KASLR

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2021-12-03 10:06:19 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/12/1595276
- Thread: https://ratatoskr.run/linux-hardening/2021/12/1594778/t.md

```text
On Thu, Dec 02, 2021 at 11:32:08PM +0100, Alexander Lobakin wrote:
> If any type of function granular randomization is enabled, the sympos
> algorithm will fail, as it will be impossible to resolve symbols when
> there are duplicates using the previous symbol position.
> 
> We could override sympos to 0, but make it more clear to the user
> and bail out if the symbol is not unique.

Since we're going lots of horrendous things already, why can't we fix
this duplicate nonsense too?
```
