public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add SOL_TLS definition from Linux 4.13
@ 2017-09-06 14:50 Joseph Myers
  2017-09-07  9:38 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2017-09-06 14:50 UTC (permalink / raw)
  To: libc-alpha

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.

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

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add SOL_TLS definition from Linux 4.13
  2017-09-06 14:50 Add SOL_TLS definition from Linux 4.13 Joseph Myers
@ 2017-09-07  9:38 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2017-09-07  9:38 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-07  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-06 14:50 Add SOL_TLS definition from Linux 4.13 Joseph Myers
2017-09-07  9:38 ` Dmitry V. Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).