Re: [PATCH v2] drivers: fix symbol exports when map is omitted

2022-12-01 Thread David Marchand
On Wed, Nov 30, 2022 at 4:42 PM Bruce Richardson wrote: > > On Wed, Nov 30, 2022 at 04:02:26PM +0100, David Marchand wrote: > > On Wed, Nov 30, 2022 at 11:44 AM Ferruh Yigit wrote: > > > > > > On 11/30/2022 10:02 AM, David Marchand wrote: > > > > ld exports any global symbol by default if no vers

Re: [PATCH v2] drivers: fix symbol exports when map is omitted

2022-11-30 Thread Bruce Richardson
On Wed, Nov 30, 2022 at 04:02:26PM +0100, David Marchand wrote: > On Wed, Nov 30, 2022 at 11:44 AM Ferruh Yigit wrote: > > > > On 11/30/2022 10:02 AM, David Marchand wrote: > > > ld exports any global symbol by default if no version script is passed. > > > As a consequence, the incriminated change

Re: [PATCH v2] drivers: fix symbol exports when map is omitted

2022-11-30 Thread David Marchand
On Wed, Nov 30, 2022 at 4:02 PM David Marchand wrote: > On Wed, Nov 30, 2022 at 11:44 AM Ferruh Yigit wrote: > > > > On 11/30/2022 10:02 AM, David Marchand wrote: > > > ld exports any global symbol by default if no version script is passed. > > > As a consequence, the incriminated change let any

Re: [PATCH v2] drivers: fix symbol exports when map is omitted

2022-11-30 Thread David Marchand
On Wed, Nov 30, 2022 at 11:44 AM Ferruh Yigit wrote: > > On 11/30/2022 10:02 AM, David Marchand wrote: > > 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. > > >

Re: [PATCH v2] drivers: fix symbol exports when map is omitted

2022-11-30 Thread Ferruh Yigit
On 11/30/2022 10:02 AM, David Marchand wrote: > 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 >