🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13801

Re: [PATCH net-next 0/3] net: add SO_PASSCRED_THREAD to get a thread-specific SCM_CREDENTIALS

#13801
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 10:10
31 lines
9580 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 02 Nov 2026 17:12:33 -0600 you wrote:
> Currently, SCM_CREDENTIALS carries the pid of the thread-group leader,
> despite carrying the uid/gid of the actual sending thread.
> SO_PASSPIDFD_THREAD lets a receiver identify the sending thread, but
> only through a pidfd. If you just want to know what the tid of the
> sending thread is you have to do something like:
> 
>     1. Setup SO_PASSPIDFD_THREAD on the socket
>     2. ioctl(thread_pidfd, PIDFD_GET_INFO) per message
>     3. close(thread_pidfd) per message
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] selftests/net: pass socket options to the scm_pidfd test flows
    https://git.kernel.org/netdev/net-next/c/5fb7b21d2971
  - [net-next,2/3] net: add SO_PASSCRED_THREAD to get a thread-specific SCM_CREDENTIALS
    https://git.kernel.org/netdev/net-next/c/d006eac7b099
  - [net-next,3/3] selftests/net: Add tests for SO_PASSCRED_THREAD
    https://git.kernel.org/netdev/net-next/c/032bc8ef0456

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179430540568.3843312.3120284833105457561.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360058-linux-kernel-netdev=dewy.ru
References: <20261102-halaney-scm-creds-thread-v1-0-0b4d75dbf35f@amutable.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360058-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/3] net: add SO_PASSCRED_THREAD to get a
 thread-specific SCM_CREDENTIALS
Date: Tue, 10 Nov 2026 10:10:05 +0000
Organization: Usenet Network
Message-ID: <179430540568.3843312.3120284833105457561.git-patchwork-notify@kernel.org>
References: <20261102-halaney-scm-creds-thread-v1-0-0b4d75dbf35f@amutable.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="584594"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:uQ1/Gx9CvKUJVWN5FN1EHmKRqR0= sha256:l3D3/JZ6E8isVp5EGnKgYg08sfAcH0L6KRDNdIC9tNw=
	sha1:hvgjbj3JOdsi1m0u7zPzk9ZSDKQ= sha256:vkBNwn8INYNK/pqoqARkjpy13ptJ697C5OiU4e1KjSE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 2CA6F113B02; Tue, 10 Nov 2026 13:46:15 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Status: No, score=-2.301 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001,
	DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id l0pwCCU53OMg;
	Tue, 10 Nov 2026 13:46:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360058-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 77E70113AFF; Tue, 10 Nov 2026 13:45:59 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id E03DA1872FE; Tue, 10 Nov 2026 10:13:31 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794305423;
	b=KILxjf/I/4gpEhJnd4TXgeTEsift7EpaHGLw72wSeCmazhdnRXVBbVvcVxUqBOzz/5C/
	 jAWi2bjkp+16ptKvaIJ7uKzDZIa+V9RLQRp/PxlieC12aZ64/sJCTZTTMXvSEIhmU9pY+
	 107KEjMluU74xSOtQGgHWXHX7bur016dR/kCjR0FtDxPFTQm/lgDYnU8o+jNuCH2suUaJ
	 rxywuZ/+WkPOBs9vVYZ4aiSW+UCc2+f9RHfcev7mZZfS0y2NI0XHQj17ZpK46i0ISfLKJ
	 ta+TpBEzmFmDtD5VlgWgsgbBhlTwgYKKnO0aW+npmzZ7Fq3NYtZtivxUFHUFrW3doNQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794305423;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=El/8JBBP72rDx75dqpDC2klSCHMZgsc/9NFgTGKU9aI=;
	b=JRq1Yt4LKJkM7nyL4Vxm5EDh5cbWRVOJ+qFTzzHamWRLFkQO2ZvjlfGpRclk2rh4A+Gd
	 DIk0m//tqI/DCo3qQhs+5BscnNU74BeFqSQlsua5tne9lNquwfNUvvHGDzUSPY1w2pvHM
	 GM7Lwje7bbkJfLhOFhrma3C05ZLMkDrA/KXVROydTse3Lfz16itaKsE7DPKFX7uKhJlAj
	 JitGm3MqqN5mULeDCrmDWBD86uCa8jxsZC8K4XWHdVCq5lTllsQULxjgV+IAVMdANNMMn
	 hcf/+uVtN/pq6OQfrmyeUX4ZCbFF5u9aPXOSwdjGzNXHo8SpR9d8t6/xAUoKJUFY4cg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Mwx4KcBE;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 825F360A3804;
	Tue, 10 Nov 2026 10:10:23 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Mwx4KcBE
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794305407;
	b=WxBKLLNbLi/4rOqTAKYkdIPg1zdpxYHVMpfmfyyYo/S/+o/in4SAmV7mBcLxQFYofsgq
	 fQ+7qXuWIIEA9KjUPi7GfN7FJe/Txyc+j4FvFVmhe5DwcLcwV7GhRATTZWx5TOspKo1TO
	 70I3g5vItHDr5jfswGaWAuWPbCR+8+4WqZOOxW/IfLpAYzhc1IhOaGdzfaluEfL9T5LxK
	 pJho+6EbYFh2i0hjNqo+06fsHQLh12lP6UzJEV8y5Rw+BnW0in36D8q6J8FhLhv+qeJXb
	 l0JVvSU65N3pAwawqHT8kdtcU5poLYRYev1gzf2BfZNuRYJPhQeJP8NRx8a2n8Ax/4A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794305407;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=El/8JBBP72rDx75dqpDC2klSCHMZgsc/9NFgTGKU9aI=;
	b=KbMf2KYruFcGN11sQM9+lHFPhw1nPd8mE1r8z0j1OFkhjAdwCak/k/gH6x9fIjA0jtUO
	 ARIwMydfNGUzxsAJJvB4uOQu7B4BQ07B9T4wnwYuRi6+172ITnKntGMwbtw1qjwJzNHdQ
	 5CmMLl2ft6b+BSwsCNgIyi6AIwHTI8Ayeuh59jMIbcfIsep/d8yIzqc3+CsahomJRnKzv
	 +qwICBUNJnWZfXBV9hAfsziAht+vb5MIHHFqWzeUbrLmp/SUuFLpMckuXiZDCqtvTZKDL
	 SFl9Fje6f0afi2XfhmO+ifQsY0J+1UuneOJSRzCFQ9tQosO+ardnF2ktU3UcdeeF2lA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Mwx4KcBE;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E5B7606A33A;
	Tue, 10 Nov 2026 10:10:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E58371F0089F;
	Tue, 10 Nov 2026 10:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794305407;
	bh=El/8JBBP72rDx75dqpDC2klSCHMZgsc/9NFgTGKU9aI=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Mwx4KcBEIY4KrxoXxGbJZF0oTJsu18oVCIlGM0PjWRLbRS4oKjSeQrRQi7jkNxKjU
	 vye7nCZkKdN7NYvsakkU8aBjlShrznTfxbybz9TRMci12/Zxc541jMKxcAb/1lcl3l
	 TSD6A5xhbbxJQDzIDOec/OFt8/sUS8TDK9Dy0lT7cooCo5alxhiEjEHyPrNd7Cll9U
	 S5Abey03UkVO/jnP+yDM26u44anI4kab0UTufNScnAE+M/nH/FVLxrtT1+ugeszvE/
	 iYevgmtPpLwx+nGrDZvFFJeKoqpkdbXP9HkwgkdEyFFFq9h2Z9UN5NEyAEfwQE11h/
	 GCbvq93A0tE1A==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D82EC391B148;
	Tue, 10 Nov 2026 10:10:06 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To:  <20261102-halaney-scm-creds-thread-v1-0-0b4d75dbf35f@amutable.com>
X-Cc: kuniyu@google.com, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org,
 brauner@kernel.org, richard.henderson@linaro.org, mattst88@gmail.com,
 linmag7@gmail.com, tsbogend@alpha.franken.de,
 James.Bottomley@HansenPartnership.com, deller@gmx.de, andreas@gaisler.com,
 willemb@google.com, arnd@arndb.de, netdev@vger.kernel.org,
 linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
 linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org,
 linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org,
 linux-arch@vger.kernel.org