Hi, Just a follow-up question on this fix.
Is it something that is a candidate for linux-stable ? Thanks, Ritesh On Sat, 2021-03-06 at 16:21 +0530, Ritesh Raj Sarraf wrote: > > > Marking all the symbols as local seems correct, and does seem > > > to address the issue, so do that. Also do it for static link, > > > nsswitch libraries could still be loaded there. > > > > > > [1] https://bugs.debian.org/983379 > > > > > > Reported-by: Ritesh Raj Sarraf <r...@debian.org> > > > Signed-off-by: Johannes Berg <johannes.b...@intel.com> > > > --- > > > arch/um/kernel/dyn.lds.S | 6 ++++++ > > > arch/um/kernel/uml.lds.S | 6 ++++++ > > > 2 files changed, 12 insertions(+) > > > > > > diff --git a/arch/um/kernel/dyn.lds.S b/arch/um/kernel/dyn.lds.S > > > index dacbfabf66d8..2f2a8ce92f1e 100644 > > > --- a/arch/um/kernel/dyn.lds.S > > > +++ b/arch/um/kernel/dyn.lds.S > > > @@ -6,6 +6,12 @@ OUTPUT_ARCH(ELF_ARCH) > > > ENTRY(_start) > > > jiffies = jiffies_64; > > > > > > +VERSION { > > > + { > > > + local: *; > > > + }; > > > +} > > > + > > > SECTIONS > > > { > > > PROVIDE (__executable_start = START); > > > diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S > > > index 45d957d7004c..7a8e2b123e29 100644 > > > --- a/arch/um/kernel/uml.lds.S > > > +++ b/arch/um/kernel/uml.lds.S > > > @@ -7,6 +7,12 @@ OUTPUT_ARCH(ELF_ARCH) > > > ENTRY(_start) > > > jiffies = jiffies_64; > > > > > > +VERSION { > > > + { > > > + local: *; > > > + }; > > > +} > > > + > > > SECTIONS > > > { > > > /* This must contain the right address - not quite the > default > > > ELF one.*/ > > > > > Tested on all 3 machines where the issue was seen before. > > > > > > Acked-By: Anton Ivanov <anton.iva...@cambridgegreys.com> > > Tested-By: Ritesh Raj Sarraf <r...@debian.org> -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part