[{"id":1764613,"web_url":"http://patchwork.ozlabs.org/comment/1764613/","msgid":"<20170907093817.GB27490@altlinux.org>","list_archive_url":null,"date":"2017-09-07T09:38:17","subject":"Re: Add SOL_TLS definition from Linux 4.13","submitter":{"id":16038,"url":"http://patchwork.ozlabs.org/api/people/16038/","name":"Dmitry V. Levin","email":"ldv@altlinux.org"},"content":"On Wed, Sep 06, 2017 at 02:50:00PM +0000, Joseph Myers wrote:\n> This patch adds the new SOL_TLS constant from Linux 4.13 to the Linux\n> bits/socket.h.\n> \n> Tested for x86_64.\n> \n> 2017-09-06  Joseph Myers  <joseph@codesourcery.com>\n> \n> \t* sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New.\n\nNew macro?\n\n> diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h\n> index ec2bf85..a9d16e2 100644\n> --- a/sysdeps/unix/sysv/linux/bits/socket.h\n> +++ b/sysdeps/unix/sysv/linux/bits/socket.h\n> @@ -163,6 +163,7 @@ typedef __socklen_t socklen_t;\n>  #define SOL_ALG\t\t279\n>  #define SOL_NFC\t\t280\n>  #define SOL_KCM\t\t281\n> +#define SOL_TLS\t\t282\n>  \n>  /* Maximum queue length specifiable by listen.  */\n>  #define SOMAXCONN\t128\n\nOK assuming that the typo in the changelog entry is corrected.","headers":{"Return-Path":"<libc-alpha-return-84287-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84287-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"W+3wTSXb\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnwPM1B9Fz9sNV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 19:38:30 +1000 (AEST)","(qmail 75112 invoked by alias); 7 Sep 2017 09:38:22 -0000","(qmail 74800 invoked by uid 89); 7 Sep 2017 09:38:21 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:to:subject:message-id:references\n\t:mime-version:content-type:in-reply-to; q=dns; s=default; b=XNLy\n\tgAV4YRhiPTfh5ML+tgBQ2RvZxEz2HuIOVqEHlou/dpfcWvqDp3iLyG7nCrrnbC16\n\tkDrMI4DbCJr2AVLa7Bnlk83cCkIWmJZNnvmLI9WLIl4WnLGlUIMNjHe5m+NvB3PJ\n\twBl+to+jCdJ8cua1rxyuvXLdKQfw/8beI9u3tgs=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:to:subject:message-id:references\n\t:mime-version:content-type:in-reply-to; s=default; bh=BHOEf1p8Pn\n\tzK9RHSx9WxILeVyDQ=; b=W+3wTSXbW4UVGpW7VY3a0iszJDywBmVxQhoJyH0dUW\n\tenwEhCptmySNK2Z65h2OuuPyjCBne+nKqasu0RVuTnr09u0ntPZmbM2lsjAD59Dp\n\t4mTVp9QnogLVSdkZ/eScmJRtsytYg5FZmeZ47rW16hPx1m7Z14iyhkf5W6K+Qs7M\n\t4=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-24.8 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tRP_MATCHES_RCVD, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=00PM, listen,\n\t00pm, H*c:application","X-HELO":"vmicros1.altlinux.org","Date":"Thu, 7 Sep 2017 12:38:17 +0300","From":"\"Dmitry V. Levin\" <ldv@altlinux.org>","To":"libc-alpha@sourceware.org","Subject":"Re: Add SOL_TLS definition from Linux 4.13","Message-ID":"<20170907093817.GB27490@altlinux.org>","Mail-Followup-To":"libc-alpha@sourceware.org","References":"<alpine.DEB.2.20.1709061448550.2445@digraph.polyomino.org.uk>","MIME-Version":"1.0","Content-Type":"multipart/signed; micalg=pgp-sha256;\n\tprotocol=\"application/pgp-signature\"; boundary=\"JP+T4n/bALQSJXh8\"","Content-Disposition":"inline","In-Reply-To":"<alpine.DEB.2.20.1709061448550.2445@digraph.polyomino.org.uk>"}}]