Kernel TLS

Valdis Kl=?utf-8?Q?=c4=93?=tnieks valdis.kletnieks at vt.edu
Sat Nov 30 04:11:55 EST 2019


On Sat, 30 Nov 2019 09:13:35 +0100, Bjørn Mork said:

> include/linux/errno.h is kernel internal only.  The UAPI header is
> uapi/linux/errno.h, which is an alias for uapi/asm/errno.h.  There is no
> 524 in include/uapi/asm-generic/errno.h or
> include/uapi/asm-generic/errno-base.h
>
> The codes in include/linux/errno.h should be translated for userspace.
> This does look like a bug in the kernel tls code.

Hmm... git grep ENOTSUPP has 1,516 hits.  I haven't checked if it
gets translated in one place, or if it gets done in a kazillion places.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20191130/360860a1/attachment.sig>


More information about the Kernelnewbies mailing list