This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

strerror for 524


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";


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]