Re: [PATCH] modules: Fix display of wrong module .text address

2018-04-17 Thread Christian Borntraeger
On 04/17/2018 06:20 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Apr 17, 2018 at 10:24:35AM +0200, Christian Borntraeger escreveu: >> >> >> On 04/17/2018 10:20 AM, Thomas Richter wrote: >>> In kernel v4.16.0 the module .text address is displayed >>> wrong when using /sys/module/*/sections/.text

Re: [PATCH] modules: Fix display of wrong module .text address

2018-04-17 Thread Kees Cook
On Tue, Apr 17, 2018 at 1:24 AM, Christian Borntraeger wrote: > > > On 04/17/2018 10:20 AM, Thomas Richter wrote: >> In kernel v4.16.0 the module .text address is displayed >> wrong when using /sys/module/*/sections/.text file. >> Commit ef0010a30935 ("vsprintf: don't use 'restricted_pointer()' wh

Re: [PATCH] modules: Fix display of wrong module .text address

2018-04-17 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 17, 2018 at 10:24:35AM +0200, Christian Borntraeger escreveu: > > > On 04/17/2018 10:20 AM, Thomas Richter wrote: > > In kernel v4.16.0 the module .text address is displayed > > wrong when using /sys/module/*/sections/.text file. > > Commit ef0010a30935 ("vsprintf: don't use 'restrict

Re: [PATCH] modules: Fix display of wrong module .text address

2018-04-17 Thread Christian Borntraeger
On 04/17/2018 10:20 AM, Thomas Richter wrote: > In kernel v4.16.0 the module .text address is displayed > wrong when using /sys/module/*/sections/.text file. > Commit ef0010a30935 ("vsprintf: don't use 'restricted_pointer()' when > not restricting") > is the first bad commit. > > Here is the iss

[PATCH] modules: Fix display of wrong module .text address

2018-04-17 Thread Thomas Richter
In kernel v4.16.0 the module .text address is displayed wrong when using /sys/module/*/sections/.text file. Commit ef0010a30935 ("vsprintf: don't use 'restricted_pointer()' when not restricting") is the first bad commit. Here is the issue, using module qeth_l2 on s390 which is the ethernet device