Re: [RFC PATCH] linux-user: time64: consolidate rt_sigtimedwait_time64 and rt_sigtimedwait

2022-12-20 Thread Arnd Bergmann
On Fri, Dec 16, 2022, at 19:08, Michael Tokarev wrote: > Both system calls are exactly the same, the only difference is the > (optional) timespec conversion. Consolidate the two, and check which > syscall being emulated in the timespec conversion place. > > This is just a PoC. But this brings at le

[RFC PATCH] linux-user: time64: consolidate rt_sigtimedwait_time64 and rt_sigtimedwait

2022-12-16 Thread Michael Tokarev
Both system calls are exactly the same, the only difference is the (optional) timespec conversion. Consolidate the two, and check which syscall being emulated in the timespec conversion place. This is just a PoC. But this brings at least 2 questions. Let's take pselect6 as an example. There are 2