]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
authorHelge Deller <deller@gmx.de>
Thu, 23 Nov 2023 19:28:27 +0000 (20:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:48:02 +0000 (08:48 +0100)
commit2e931b33060cbb73e26114dd8ec987e2c1113479
tree64c9141c6a677c09ad33a2c386f7e6a4c78c2a1d
parentf0d052223488b4d7b227d4db3c55fdf9d2500939
parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes

commit e5f3e299a2b1e9c3ece24a38adfc089aef307e8a upstream.

Those return codes are only defined for the parisc architecture and
are leftovers from when we wanted to be HP-UX compatible.

They are not returned by any Linux kernel syscall but do trigger
problems with the glibc strerrorname_np() and strerror() functions as
reported in glibc issue #31080.

There is no need to keep them, so simply remove them.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: Bruno Haible <bruno@clisp.org>
Closes: https://sourceware.org/bugzilla/show_bug.cgi?id=31080
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/uapi/asm/errno.h
lib/errname.c
tools/arch/parisc/include/uapi/asm/errno.h