From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE4DEC432C3 for ; Sat, 30 Nov 2019 09:12:32 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 94416207FC for ; Sat, 30 Nov 2019 09:12:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94416207FC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1iaynS-0003LM-MF; Sat, 30 Nov 2019 04:12:10 -0500 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iaynO-0003LG-2j for kernelnewbies@kernelnewbies.org; Sat, 30 Nov 2019 04:12:06 -0500 Received: from mr4.cc.vt.edu (mr4.cc.ipv6.vt.edu [IPv6:2607:b400:92:8300:0:7b:e2b1:6a29]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id xAU9C3n4015057 for ; Sat, 30 Nov 2019 04:12:04 -0500 Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mr4.cc.vt.edu (8.14.7/8.14.7) with ESMTP id xAU9BwUD014707 for ; Sat, 30 Nov 2019 04:12:03 -0500 Received: by mail-qv1-f72.google.com with SMTP id d3so20508924qvz.2 for ; Sat, 30 Nov 2019 01:12:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=s23QPu6ShOLOBo+DSkTLayAsCW2BpilBPN+kJ3nbCVc=; b=M9ledX5ZGmtrhV4flJaquOsYg5rmyHSzwI+MKuOslQhKzVJJ4Wb3xpcAv3Hv+SkMob Oilze6c2JLnvrfSP37qYuFYVPCie+W8+q5C2vFMaraK+fMq7XAntP9MBj6CdrW4AZSbT pGrEnO8FEW7QsVdWkeZczmaTluLPll2ZM/TEsQQXwLAUof25N+RLel63Np8BCm1yKskM Isc73wFDWk2raRZ8ewRkEuVJBVyGdXaTz9K25FRU3M5GQjxHE3Oroty18yFJ/AOkYGIM gQk4VpJi4VAXN96SHuuRreoDoabK5JM5KMXu1ZAhX2WF0Y54OyLzyFKLWE5nQv3zYwmR H7Vw== X-Gm-Message-State: APjAAAWe+MeCoEz5Piuguq3mYOjA46yhLCelHiwuh4H+Gf4Onuv8oMbU 83WhbyjWDJ7eezhpdjFcUF8G3NrRV/Fkc0anYKvff+zlXxr1osUjN7kdZ/SuT9LkRszKka81iAt MZksiNqQaoh2aq/X228PpjjaEdW6zZ78X7deiTjE= X-Received: by 2002:a37:aaca:: with SMTP id t193mr20146139qke.489.1575105117934; Sat, 30 Nov 2019 01:11:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwWtsffVYjsXReawSTz2hEP/w4ZoscACuDV3B4Q7ZTqk4ebY2lh4Lj8gb2tk37njO5kE7BsXA== X-Received: by 2002:a37:aaca:: with SMTP id t193mr20146118qke.489.1575105117561; Sat, 30 Nov 2019 01:11:57 -0800 (PST) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id l64sm67220qkb.117.2019.11.30.01.11.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2019 01:11:56 -0800 (PST) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: =?utf-8?Q?Bj=F8rn?= Mork Subject: Re: Kernel TLS In-Reply-To: <8736e5pys0.fsf@miraculix.mork.no> References: <20191129194801.GI20116@valentin-vidic.from.hr> <50226.1575096007@turing-police> <8736e5pys0.fsf@miraculix.mork.no> Mime-Version: 1.0 Date: Sat, 30 Nov 2019 04:11:55 -0500 Message-ID: <56379.1575105115@turing-police> Cc: noloader@gmail.com, kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6464103948230892016==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============6464103948230892016== Content-Type: multipart/signed; boundary="==_Exmh_1575105115_34598P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1575105115_34598P Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, 30 Nov 2019 09:13:35 +0100, Bj=F8rn 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 n= o > 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. --==_Exmh_1575105115_34598P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXeIyWgdmEQWDXROgAQLPqg//dD/Z/vz4gd0c3L6Y3dbtm8p3xmbjsqaZ 4GnSD0KHxkNnB1S9gCq6mILclN9Kq+9qs/loh6OWREoN9YAtxH7pOQ8GVC+ZefCI UNyz7iVCHceGxOx0CeB+HWZITxvuxmVZMVYQJZB35B6zum9SNyZ5o4vtUzC+tmjd QQfbDAErG/kvnVSw63edPA6LQxSgyRPKRV/Jj7RSlkYvNstosxY2/5WOIPdxr5Q6 Ghj7mIZOFdSpTC9aJlcdGK91yn85rf/NsUoQXQ/aFF3pknHT9bPsj+cNg0xWX7RM yUJoJab31xujzuYi3PUTkt5Ujub3oKytV00w/lboeYLNv9MdCRUbmtinclJGCVve W3A58stkV1l1BA0X3S0eaopys/Xwozr0hC0YWWfoGCHLACx3DdzmvJNudM58nazH fe4KrpR0/W67vqan/NoEWfB7GHsh8RRqdUkgnbFB0TGDu7os3hqrQSnmpOlGFDzS eKgmskQ8mi1gut8yU0yuczrxscGNQjyV8ypgKUQZkYBLj00aUfR042uVXbVjjOLv aJ0UlAVUuSDbJjC36FdGfz7755VVXAqn4cemVXNZP9PnX614SQ1fUv5rtEvaJmYo fx47IVCpM+I2KbQ73cwvpTAR7FDfQLNU127LBgpGlqMPf6T2XNYucoBpVJBCg26y U5PYcsR1O/E= =YKIP -----END PGP SIGNATURE----- --==_Exmh_1575105115_34598P-- --===============6464103948230892016== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6464103948230892016==--