Re: [GIT PULL] clone3 for v5.3

From: Linus Torvalds
Date: Thu Jul 11 2019 - 01:24:52 EST


On Mon, Jul 8, 2019 at 8:05 AM Christian Brauner <christian@xxxxxxxxxx> wrote:
>
> /* Syscall number 435 */
> clone3() uses syscall number 435 and is coordinated with pidfd_open() which
> uses syscall number 434. I'm not aware of any other syscall targeted for
> 5.3 that has chosen the same number.

You say that, and 434/435 would make sense, but that's not what the
code I see in the pull request actually does.

It seems to use syscall 436.

I think it's because openat2() is looking to use 435, but I'm a bit
nervous about the conflict between the code and your commentary..

Linus