Re: [PATCH v2] sparc: make copy_thread honor pid namespaces

2021-02-23 Thread Anatoly Pugachev
On Sat, Feb 20, 2021 at 1:51 AM Dmitry V. Levin wrote: > > On sparc, fork and clone syscalls have an unusual semantics of > returning the pid of the parent process to the child process. > > Apparently, the implementation did not honor pid namespaces at all, > so the child used to get the pid of it

Re: [PATCH v2] sparc: make copy_thread honor pid namespaces

2021-02-22 Thread Eric W. Biederman
"Dmitry V. Levin" writes: > On sparc, fork and clone syscalls have an unusual semantics of > returning the pid of the parent process to the child process. > > Apparently, the implementation did not honor pid namespaces at all, > so the child used to get the pid of its parent in the init namespace

[PATCH v2] sparc: make copy_thread honor pid namespaces

2021-02-19 Thread Dmitry V. Levin
On sparc, fork and clone syscalls have an unusual semantics of returning the pid of the parent process to the child process. Apparently, the implementation did not honor pid namespaces at all, so the child used to get the pid of its parent in the init namespace. Fortunately, most users of these s