On Thu, Jun 10, 2021 at 10:20:43AM +1000, Matthew Bobrowski wrote: > By adding the pidfd_create() declaration to linux/pid.h, we > effectively expose this function to the rest of the kernel. In order > to avoid any unintended behaviour, or set false expectations upon this > function, ensure that constraints are forced upon each of the passed > parameters. This includes the checking of whether the passed struct > pid is a thread-group leader as pidfd creation is currently limited to > such pid types. > > Signed-off-by: Matthew Bobrowski <repnop@xxxxxxxxxx> > --- Looks good, Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>