Re: [PATCH v11 1/2] fork: extend clone3() to support setting a PID

From: Oleg Nesterov
Date: Fri Nov 15 2019 - 11:33:20 EST


On 11/15, Adrian Reber wrote:
>
> v11:
> - abort alloc_pid() correctly if one of the PIDs specified in
> set_pid[] is invalid (Andrei)
> ---
> include/linux/pid.h | 3 +-
> include/linux/pid_namespace.h | 2 +
> include/linux/sched/task.h | 3 ++
> include/uapi/linux/sched.h | 53 +++++++++++++++++---------
> kernel/fork.c | 24 +++++++++++-
> kernel/pid.c | 72 +++++++++++++++++++++++++++--------
> kernel/pid_namespace.c | 2 -
> 7 files changed, 122 insertions(+), 37 deletions(-)

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>