Thread (20 messages) flat view 20 messages, 4 authors, 2021-07-14

Re: [PATCH v2 2/5] kernel/pid.c: implement additional checks upon pidfd_create() parameters

From: Christian Brauner <hidden>
Date: 2021-06-15 11:35:28
Also in: linux-fsdevel

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 <redacted>
---
Looks good,
Acked-by: Christian Brauner <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help