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

From: patchwork-bot+netdevbpf

Date: Tue Nov 10 2026 - 05:35:23 EST


Hello:

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

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