public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
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	[thread overview]
Message-ID: <7121E4B0-8088-4A35-9222-02B83F0AA4D0@ipfire.org> (raw)
In-Reply-To: <d4a21079-c8c5-6e57-f26e-2bdc9b3f34b3@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]

Acked-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 18 Apr 2020, at 09:24, Peter Müller <peter.mueller(a)ipfire.org> wrote:
> 
>> 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 this
>> syscall. Current systems running glibc can safely disable this.
> 
> In my point of view, the last sentence matches our situation.
> 
> Fixes: #12379
> 
> Cc: Arne Fitzenreiter <arne.fitzenreiter(a)ipfire.org>
> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
> ---
> 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(-)
> 
> 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=y
> CONFIG_POSIX_MQUEUE_SYSCTL=y
> CONFIG_CROSS_MEMORY_ATTACH=y
> CONFIG_FHANDLE=y
> -CONFIG_USELIB=y
> +# CONFIG_USELIB is not set
> # CONFIG_AUDIT is not set
> CONFIG_HAVE_ARCH_AUDITSYSCALL=y
> 
> diff --git a/config/kernel/kernel.config.i586-ipfire-pae b/config/kernel/kernel.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=y
> CONFIG_POSIX_MQUEUE_SYSCTL=y
> CONFIG_CROSS_MEMORY_ATTACH=y
> CONFIG_FHANDLE=y
> -CONFIG_USELIB=y
> +# CONFIG_USELIB is not set
> # CONFIG_AUDIT is not set
> CONFIG_HAVE_ARCH_AUDITSYSCALL=y
> 
> diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.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=y
> CONFIG_POSIX_MQUEUE_SYSCTL=y
> CONFIG_CROSS_MEMORY_ATTACH=y
> CONFIG_FHANDLE=y
> -CONFIG_USELIB=y
> +# CONFIG_USELIB is not set
> # CONFIG_AUDIT is not set
> CONFIG_HAVE_ARCH_AUDITSYSCALL=y
> 
> -- 
> 2.16.4


      reply	other threads:[~2020-04-20  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-18  8:24 Peter Müller
2020-04-20  7:12 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7121E4B0-8088-4A35-9222-02B83F0AA4D0@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox