14.11.2024 05:50, Kuniyuki Iwashima пишет:
From: Stas Sergeev stsp2@yandex.ru Date: Thu, 14 Nov 2024 00:02:05 +0300
@@ -154,7 +157,12 @@ static __inline__ void scm_pidfd_recv(struct msghdr *msg, struct scm_cookie *scm if (!scm->pid) return;
- pidfd = pidfd_prepare(scm->pid, 0, &pidfd_file);
- err = pidfd_validate_flags(scm->pidfd_flags);
No neede to double check here, it's already checked in __scm_send().
Done and sent v2, thanks.