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 syscalls")
Signed-off-by: Ilya Leoshkevich<i...@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---

v1:https://patchew.org/QEMU/20240131001851.15932-1-...@linux.ibm.com/
v1 -> v2: Rebase, add Philippe's R-b.

  linux-user/syscall.c | 10 ++++++++--
  1 file changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

Queued.


r~

Reply via email to