Add SOL_TLS definition from Linux 4.13

Dmitry V. Levin ldv@altlinux.org
Thu Sep 7 09:38:00 GMT 2017


On Wed, Sep 06, 2017 at 02:50:00PM +0000, Joseph Myers wrote:
> This patch adds the new SOL_TLS constant from Linux 4.13 to the Linux
> bits/socket.h.
> 
> Tested for x86_64.
> 
> 2017-09-06  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New.

New macro?

> diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
> index ec2bf85..a9d16e2 100644
> --- a/sysdeps/unix/sysv/linux/bits/socket.h
> +++ b/sysdeps/unix/sysv/linux/bits/socket.h
> @@ -163,6 +163,7 @@ typedef __socklen_t socklen_t;
>  #define SOL_ALG		279
>  #define SOL_NFC		280
>  #define SOL_KCM		281
> +#define SOL_TLS		282
>  
>  /* Maximum queue length specifiable by listen.  */
>  #define SOMAXCONN	128

OK assuming that the typo in the changelog entry is corrected.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170907/f436142c/attachment.sig>


More information about the Libc-alpha mailing list