summary refs log tree commit diff stats
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorTonis Tiigi <tonistiigi@gmail.com>2022-01-04 20:18:18 -0800
committerLaurent Vivier <laurent@vivier.eu>2022-01-06 11:40:52 +0100
commit45ad761c27dfb571d9a1ab3af80e8034d36d1b59 (patch)
tree264062b05e6ff1fd80d290e1f497629fc4a98c68 /linux-user/signal.c
parent139e5de7c883522b7307e26d4b7dce489b53e307 (diff)
downloadfocaccia-qemu-45ad761c27dfb571d9a1ab3af80e8034d36d1b59.tar.gz
focaccia-qemu-45ad761c27dfb571d9a1ab3af80e8034d36d1b59.zip
linux-user: add sched_getattr support
These syscalls are not exposed by glibc. The struct type need to be
redefined as it can't be included directly before
https://lkml.org/lkml/2020/5/28/810 .

sched_attr type can grow in future kernel versions. When client sends
values that QEMU does not understand it will return E2BIG with same
semantics as old kernel would so client can retry with smaller inputs.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Message-Id: <20220105041819.24160-2-tonistiigi@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions