Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-04-05 Thread Tiwei Bie
On 2025/3/20 16:32, Johannes Berg wrote: > On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: >> Directly creating helper threads with VM_CLONE using clone can >> compromise the thread safety of errno. Since all these helper >> threads have been converted to use os_run_helper_thread(), let's >> pr

Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-03-26 Thread Johannes Berg
On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: > Directly creating helper threads with VM_CLONE using clone can > compromise the thread safety of errno. Since all these helper > threads have been converted to use os_run_helper_thread(), let's > prevent using this flag in run_helper_thread(). >

Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-03-26 Thread Johannes Berg
On Wed, 2025-03-26 at 14:54 +0800, Tiwei Bie wrote: > On 2025/3/20 16:32, Johannes Berg wrote: > > On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: > > > Directly creating helper threads with VM_CLONE using clone can > > > compromise the thread safety of errno. Since all these helper > > > threa

Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-03-25 Thread Tiwei Bie
On 2025/3/20 16:32, Johannes Berg wrote: > On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: >> Directly creating helper threads with VM_CLONE using clone can >> compromise the thread safety of errno. Since all these helper >> threads have been converted to use os_run_helper_thread(), let's >> pr

[PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-03-19 Thread Tiwei Bie
Directly creating helper threads with VM_CLONE using clone can compromise the thread safety of errno. Since all these helper threads have been converted to use os_run_helper_thread(), let's prevent using this flag in run_helper_thread(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/helper.c | 4