Re: [PATCH v4 1/2] linux-user: add sched_getattr support

2022-01-05 Thread Laurent Vivier
Le 05/01/2022 à 05:18, Tonis Tiigi a écrit : 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

Re: [PATCH v4 1/2] linux-user: add sched_getattr support

2022-01-05 Thread Laurent Vivier
Le 05/01/2022 à 05:18, Tonis Tiigi a écrit : 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

[PATCH v4 1/2] linux-user: add sched_getattr support

2022-01-04 Thread Tonis Tiigi
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 sema