strerror for 524

Jeffrey Walton noloader@gmail.com
Sat Nov 30 13:29:00 GMT 2019


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"



More information about the Libc-help mailing list