Commit 13a44f06 authored by Helge Deller's avatar Helge Deller Committed by Zheng Zengkai
Browse files

parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes

stable inclusion
from stable-v6.6.5
commit e0837630f3c0eaa628cb50b2e834b68bcd861e5a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8N21P

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e0837630f3c0eaa628cb50b2e834b68bcd861e5a



--------------------------------

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: default avatarHelge Deller <deller@gmx.de>
Reported-by: default avatarBruno Haible <bruno@clisp.org>
Closes: https://sourceware.org/bugzilla/show_bug.cgi?id=31080


Cc: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 52cbd373
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment