Re: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-19 Thread stsp
16.11.2024 04:10, Kuniyuki Iwashima пишет: Now this allows sending pidfd without SO_PASSPIDFD, so you need to add a validation for "if (!msg->msg_control)" in __scm_recv_common(). Will do, thanks. Btw don't we need MSG_CTRUNC in such case even if "msg_control"exists? Or the established practice

Re: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-19 Thread stsp
16.11.2024 04:10, Kuniyuki Iwashima пишет: Now this allows sending pidfd without SO_PASSPIDFD, so you need to add a validation for "if (!msg->msg_control)" in __scm_recv_common(). Will do, thanks. Btw don't we need MSG_CTRUNC in such case even if "msg_control"exists? Or the established practice

Re: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-16 Thread stsp
16.11.2024 04:10, Kuniyuki Iwashima пишет: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg Please specify the target tree; net for fixes, net-next for others. https://www.kernel.org/doc/html/v6.11/process/maintainer-netdev.html [PATCH net-next v3] af_unix: pass ... Thanks for the l

Re: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-15 Thread Kuniyuki Iwashima
> [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg Please specify the target tree; net for fixes, net-next for others. https://www.kernel.org/doc/html/v6.11/process/maintainer-netdev.html [PATCH net-next v3] af_unix: pass ... From: Stas Sergeev Date: Thu, 14 Nov 2024 12:19:09 +0300 >