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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7ACBDC433EF for ; Thu, 28 Apr 2022 13:30:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbiD1Nda (ORCPT ); Thu, 28 Apr 2022 09:33:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347197AbiD1Nda (ORCPT ); Thu, 28 Apr 2022 09:33:30 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C314C6378; Thu, 28 Apr 2022 06:30:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 7F714CE2AE6; Thu, 28 Apr 2022 13:30:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DAA0C385A9; Thu, 28 Apr 2022 13:30:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651152610; bh=RZM7IVv9AUrXeGejIGAsR9z4q0NsP3Di7THp/r3pNig=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iZuiJwjQ1whNlb0lnJFp5QXAZldrShPmn4lpoao9tuXVXrgLEFHTdAVbI2xLbsOFC FCis7paFu01IdpNIweeLZg9Wdc2PPLbyyhhMt7KyPp2GYiyXQ7DIWtIqiWebq+wk0s kJtnE670kLm9vFCfEeax17CEMhLO+hRDPMTHCnfe9+RotEZilWEJsmbe5hqzhTvPJj myb8JYbGIMQmLtNgNiD90Eb5wlf9aj5ZzVWtAItWZfB34Hw0uy9ik9FOR5RigxMMik CB4oXTQyuFiKWbD5TMZc0KzqRqt56Yje278br6A71jETYhgLQXGvv8tHBzTfiLDzCQ UlHgBbJDN6tdg== Date: Thu, 28 Apr 2022 06:30:09 -0700 From: Jakub Kicinski To: Hannes Reinecke Cc: Sagi Grimberg , Chuck Lever , netdev@vger.kernel.org, linux-nfs@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, ak@tempesta-tech.com, borisp@nvidia.com, simo@redhat.com Subject: Re: [PATCH RFC 4/5] net/tls: Add support for PF_TLSH (a TLS handshake listener) Message-ID: <20220428063009.0a63a7f9@kernel.org> In-Reply-To: <23f497ab-08e3-3a25-26d9-56d94ee92cde@suse.de> References: <165030051838.5073.8699008789153780301.stgit@oracle-102.nfsv4.dev> <165030059051.5073.16723746870370826608.stgit@oracle-102.nfsv4.dev> <20220425101459.15484d17@kernel.org> <66077b73-c1a4-d2ae-c8e4-3e19e9053171@suse.de> <1fca2eda-83e4-fe39-13c8-0e5e7553689b@grimberg.me> <20220426080247.19bbb64e@kernel.org> <40bc060f-f359-081d-9ba7-fae531cf2cd6@suse.de> <20220426170334.3781cd0e@kernel.org> <23f497ab-08e3-3a25-26d9-56d94ee92cde@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org On Thu, 28 Apr 2022 09:26:41 +0200 Hannes Reinecke wrote: > The whole thing started off with the problem on _how_ sockets could be > passed between kernel and userspace and vice versa. > While there is fd passing between processes via AF_UNIX, there is no > such mechanism between kernel and userspace. Noob question - the kernel <> user space FD sharing is just not implemented yet, or somehow fundamentally hard because kernel fds are "special"?