From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] kernel: disable CONFIG_USELIB on x86_64 and i586(-pae) Date: Mon, 20 Apr 2020 08:12:17 +0100 Message-ID: <7121E4B0-8088-4A35-9222-02B83F0AA4D0@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0241406088000450628==" List-Id: --===============0241406088000450628== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Acked-by: Michael Tremer > On 18 Apr 2020, at 09:24, Peter M=C3=BCller wr= ote: >=20 >> This option enables the uselib syscall a system call used in the dynamic >> linker from libc5 and earlier. glibc does not use this system call. If you >> intend to run programs built on libc5 or earlier you may need to enable th= is >> syscall. Current systems running glibc can safely disable this. >=20 > In my point of view, the last sentence matches our situation. >=20 > Fixes: #12379 >=20 > Cc: Arne Fitzenreiter > Signed-off-by: Peter M=C3=BCller > --- > config/kernel/kernel.config.i586-ipfire | 2 +- > config/kernel/kernel.config.i586-ipfire-pae | 2 +- > config/kernel/kernel.config.x86_64-ipfire | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel= .config.i586-ipfire > index 4bb39fc20..602e3ce2c 100644 > --- a/config/kernel/kernel.config.i586-ipfire > +++ b/config/kernel/kernel.config.i586-ipfire > @@ -72,7 +72,7 @@ CONFIG_POSIX_MQUEUE=3Dy > CONFIG_POSIX_MQUEUE_SYSCTL=3Dy > CONFIG_CROSS_MEMORY_ATTACH=3Dy > CONFIG_FHANDLE=3Dy > -CONFIG_USELIB=3Dy > +# CONFIG_USELIB is not set > # CONFIG_AUDIT is not set > CONFIG_HAVE_ARCH_AUDITSYSCALL=3Dy >=20 > diff --git a/config/kernel/kernel.config.i586-ipfire-pae b/config/kernel/ke= rnel.config.i586-ipfire-pae > index 318384613..e18434557 100644 > --- a/config/kernel/kernel.config.i586-ipfire-pae > +++ b/config/kernel/kernel.config.i586-ipfire-pae > @@ -72,7 +72,7 @@ CONFIG_POSIX_MQUEUE=3Dy > CONFIG_POSIX_MQUEUE_SYSCTL=3Dy > CONFIG_CROSS_MEMORY_ATTACH=3Dy > CONFIG_FHANDLE=3Dy > -CONFIG_USELIB=3Dy > +# CONFIG_USELIB is not set > # CONFIG_AUDIT is not set > CONFIG_HAVE_ARCH_AUDITSYSCALL=3Dy >=20 > diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kern= el.config.x86_64-ipfire > index b16d13504..54da3aea4 100644 > --- a/config/kernel/kernel.config.x86_64-ipfire > +++ b/config/kernel/kernel.config.x86_64-ipfire > @@ -75,7 +75,7 @@ CONFIG_POSIX_MQUEUE=3Dy > CONFIG_POSIX_MQUEUE_SYSCTL=3Dy > CONFIG_CROSS_MEMORY_ATTACH=3Dy > CONFIG_FHANDLE=3Dy > -CONFIG_USELIB=3Dy > +# CONFIG_USELIB is not set > # CONFIG_AUDIT is not set > CONFIG_HAVE_ARCH_AUDITSYSCALL=3Dy >=20 > --=20 > 2.16.4 --===============0241406088000450628==--