netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 net-next 0/2] af_unix: Followup fixes for SO_PASSPIDFD.
@ 2023-06-27 17:43 Kuniyuki Iwashima
  2023-06-27 17:43 ` [PATCH v1 net-next 1/2] af_unix: Skip SCM_PIDFD if scm->pid is NULL Kuniyuki Iwashima
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kuniyuki Iwashima @ 2023-06-27 17:43 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Alexander Mikhalitsyn, Christian Brauner, Luiz Augusto von Dentz,
	Kuniyuki Iwashima, Kuniyuki Iwashima, netdev, linux-bluetooth

This series fixes 2 issues introduced by commit 5e2ff6704a27 ("scm: add
SO_PASSPIDFD and SCM_PIDFD").

The 1st patch fixes a warning in scm_pidfd_recv() reported by syzkaller.
The 2nd patch fixes a regression that bluetooth can't be built as module.


Alexander Mikhalitsyn (1):
  net: scm: introduce and use scm_recv_unix helper

Kuniyuki Iwashima (1):
  af_unix: Skip SCM_PIDFD if scm->pid is NULL.

 include/net/scm.h  | 39 ++++++++++++++++++++++++++++-----------
 net/unix/af_unix.c |  4 ++--
 2 files changed, 30 insertions(+), 13 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-27 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27 17:43 [PATCH v1 net-next 0/2] af_unix: Followup fixes for SO_PASSPIDFD Kuniyuki Iwashima
2023-06-27 17:43 ` [PATCH v1 net-next 1/2] af_unix: Skip SCM_PIDFD if scm->pid is NULL Kuniyuki Iwashima
2023-06-27 17:43 ` [PATCH v1 net-next 2/2] net: scm: introduce and use scm_recv_unix helper Kuniyuki Iwashima
2023-06-27 18:10 ` [PATCH v1 net-next 0/2] af_unix: Followup fixes for SO_PASSPIDFD patchwork-bot+netdevbpf
2023-06-27 19:01 ` patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).