David Marchand <[email protected]> writes:

> ld exports any global symbol by default if no version script is passed.
> As a consequence, the incriminated change let any public symbol leak
> out of the driver shared libraries.
>
> Hide again those symbols by providing a default map file which
> unexports any global symbol using a local: * catch-all statement.
>
> The checks are skipped for this default map file as it is intentionnally
> an empty map (see commit b67bdda86cd4 ("devtools: catch empty symbol
> maps")) and there is nothing else to check in this map.
>
> This change impacts the exported symbols, hence, bump the version in the
> ABI check to the v22.11.1 from the 22.11 LTS branch.
>
> Fixes: 7dde9c844a37 ("drivers: omit symbol map when unneeded")
> Cc: [email protected]
>
> Reported-by: Luca Boccassi <[email protected]>
> Signed-off-by: David Marchand <[email protected]>
> Tested-by: Ferruh Yigit <[email protected]>
> Reviewed-by: Bruce Richardson <[email protected]>
> ---

Acked-by: Aaron Conole <[email protected]>

Reply via email to