Searched hist:"45 ad761c27dfb571d9a1ab3af80e8034d36d1b59" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/linux-user/ |
H A D | syscall_defs.h | diff 45ad761c27dfb571d9a1ab3af80e8034d36d1b59 Tue Jan 04 22:18:18 CST 2022 Tonis Tiigi <tonistiigi@gmail.com> 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>
|
H A D | syscall.c | diff 45ad761c27dfb571d9a1ab3af80e8034d36d1b59 Tue Jan 04 22:18:18 CST 2022 Tonis Tiigi <tonistiigi@gmail.com> 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>
|