Re: [PATCH v2] linux-user: Make TARGET_NR_setgroups affect only the current thread

2024-06-16 Thread Richard Henderson
On 6/14/24 08:46, Ilya Leoshkevich wrote: Like TARGET_NR_setuid, TARGET_NR_setgroups should affect only the calling thread, and not the entire process. Therefore, implement it using a syscall, and not a libc call. Cc:qemu-sta...@nongnu.org Fixes: 19b84f3c35d7 ("added setgroups and getgroups sysc

[PATCH v2] linux-user: Make TARGET_NR_setgroups affect only the current thread

2024-06-14 Thread Ilya Leoshkevich
Like TARGET_NR_setuid, TARGET_NR_setgroups should affect only the calling thread, and not the entire process. Therefore, implement it using a syscall, and not a libc call. Cc: qemu-sta...@nongnu.org Fixes: 19b84f3c35d7 ("added setgroups and getgroups syscalls") Signed-off-by: Ilya Leoshkevich Rev