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
---
linux-user
same
semantics as old kernel would so client can retry with smaller inputs.
Signed-off-by: Tonis Tiigi
---
linux-user/syscall.c | 123 ++
linux-user/syscall_defs.h | 14 +
2 files changed, 137 insertions(+)
diff --git a/linux-user/syscall.c b/linux
s already aligned by default it
can't break anything.
- Fixed formatting.
- Defined own `target_sched_param` struct as requested.
Tonis Tiigi (2):
linux-user: add sched_getattr support
linux-user: call set/getscheduler set/getparam directly
linux-user/syscall.c | 157
te
understand why this is needed as I don't see same in kernel headers, but as
this type uses only constant width fields and is already aligned by default it
can't break anything.
- Fixed formatting.
- Defined own `target_sched_param` struct as requested.
Tonis Tiigi (2):
linux-user
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
---
linux-user
Signed-off-by: Tonis Tiigi
---
linux-user/syscall.c | 94 +++
linux-user/syscall_defs.h | 14 ++
2 files changed, 108 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f1cfcc8104..2f5a0fac5a 100644
--- a/linux-user
Signed-off-by: Tonis Tiigi
---
linux-user/syscall.c | 72 +++
linux-user/syscall_defs.h | 14
2 files changed, 86 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f1cfcc8104..a447ce1f92 100644
--- a/linux-user
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
---
linux-user
s I don't see same in kernel headers, but as
this type uses only constant width fields and is already aligned by default it
can't break anything.
- Fixed formatting.
- Defined own `target_sched_param` struct as requested.
Tonis Tiigi (2):
linux-user: add sched_getattr support
linux
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
---
linux-user
Signed-off-by: Tonis Tiigi
---
linux-user/syscall.c | 55 +++
linux-user/syscall_defs.h | 15 +++
2 files changed, 70 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f1cfcc8104..670b61b2ef 100644
--- a/linux-user
t/?id=1e21e78bf7a5c24c217446d8760be7b7188711c2
. I've changed it to call syscall directly what should always be the expected
behavior for the user.
Via https://github.com/tonistiigi/binfmt/pull/70 with additional tests.
Tonis Tiigi (2):
linux-user: add sched_getattr support
linux-user
12 matches
Mail list logo