Re: [PATCH v1 3/4] signal: support CLONE_PIDFD with pidfd_send_signal

From: Oleg Nesterov
Date: Wed Apr 17 2019 - 10:01:28 EST


On 04/16, Christian Brauner wrote:
>
> @@ -3581,12 +3588,12 @@ SYSCALL_DEFINE4(pidfd_send_signal, int, pidfd, int, sig,
> if (flags)
> return -EINVAL;
>
> - f = fdget_raw(pidfd);
> + f = fdget(pidfd);

could you explain this change?

I am just curious, I don't understand why should we disallow O_PATH and how
this connects to this patch.

Oleg.