This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
strerror for 524
- From: Jeffrey Walton <noloader at gmail dot com>
- To: libc-help <libc-help at sourceware dot org>
- Date: Sat, 30 Nov 2019 08:28:51 -0500
- Subject: strerror for 524
- Reply-to: noloader at gmail dot com
Hi Everyone,
I was testing the code at
https://www.kernel.org/doc/html/latest/networking/tls.html#kernel-tls.
The code returns error 524 for setsockopt. Calling strerror(errno)
results in "Unknown error 524".
Error code 524 seems to be pretty prevalent. [0,1,2,3]] (and friends)
I think the error string for code 524 could be improved. There is a
small list of similar error codes at
https://bugzilla.redhat.com/show_bug.cgi?id=1778348#c1 .
Would glibc mind providing a useful error string.
[0] https://bugzilla.redhat.com/show_bug.cgi?id=1778348
[1] https://patchwork.ozlabs.org/patch/309627/
[2] https://lkml.org/lkml/2019/5/16/883
[3] https://duckduckgo.com/?q="Unknown+error+524"