This is the mail archive of the libc-alpha@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]

Re: Add SOL_TLS definition from Linux 4.13


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

Attachment: signature.asc
Description: PGP signature


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