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:52:20 +0000 (08:52 +0100)
commite0837630f3c0eaa628cb50b2e834b68bcd861e5a
treeb3dfcf8a9a6999e1a03950ec33375df87112a09a
parentfb997f16c20bd310d9fa9c6c71ea7205bb394be2
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