[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=win0EVU_GuO=GuJu3Ck0WG1B3+ub-CjncM3B1G9x5d9cw@mail.gmail.com>
Date: Sat, 9 May 2020 16:26:53 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Palmer Dabbelt <palmer@...belt.com>,
Andreas Schwab <schwab@...e.de>
Cc: linux-riscv@...ts.infradead.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] RISC-V Fixes for 5.7-rc5
On Fri, May 8, 2020 at 11:47 AM Palmer Dabbelt <palmer@...belt.com> wrote:
>
> * Adding a note to the VDSO so glibc can check the kernel's version without a
> uname().
Eww.
I realize other architectures do this, but why add it to new architectures?
glibc depending on kernel version is WRONG. It's bogus. You can't do
feature detection based on kernel version, it's fundamentally broken.
So I really would prefer to see glibc fixed not to do that stupid
thing, instead of adding pointless vdso notes to the kernel.
Andreas? Why does glibc care about that ELF note?
Linus
Powered by blists - more mailing lists