Tom recently realized that I accidently broke the posix timer functions. With his simple test program he was able to show that we indeed do break posix timers since my last commit touching them:
http://csgraf.de/agraf/timer.c These two patches fix it up properly. With these I can successfully run his test case in any endian combination. Please apply for 2.2. v1 -> v2: - remove useless struct, change timer id type to s32 - new patch: Use target_timer_t type for timer parameters - abort when magic is missing Alex Alexander Graf (3): linux-user: Fix timer_create timer id return type linux-user: Properly handle timer magic offset linux-user: Use target_timer_t type for timer parameters linux-user/syscall.c | 28 ++++++++++++++++++++++------ linux-user/syscall_defs.h | 5 +---- 2 files changed, 23 insertions(+), 10 deletions(-) -- 1.7.12.4