OSDN Git Service

linux-user: call set/getscheduler set/getparam directly
authorTonis Tiigi <tonistiigi@gmail.com>
Wed, 5 Jan 2022 04:18:19 +0000 (20:18 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 6 Jan 2022 10:40:52 +0000 (11:40 +0100)
commit407a119bfd350101a8ef947a9edd58b01644ec89
treee1d0ce33bf800f4d1f97a0c34609d5e6a0c54ffb
parent45ad761c27dfb571d9a1ab3af80e8034d36d1b59
linux-user: call set/getscheduler set/getparam directly

There seems to be difference in syscall and libc definition of these
methods and therefore musl does not implement them (1e21e78bf7). Call
syscall directly to ensure the behavior of the libc of user application,
not the libc that was used to build QEMU.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Message-Id: <20220105041819.24160-3-tonistiigi@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c
linux-user/syscall_defs.h