The attached patches here add support for pselect call emulation in linux-user and also add the proper entry to the ARM architecture syscall lists.
There is some code duplication between do_select() and do_pselect() to handle copying the file descriptors over from the target to host; this could be refactored into two common functions; if desired, I'll resubmit the patch with said refactoring in place. Michael Casadevall (2): This patch adds support for the pselect syscall in linux-user emulation and also adds several support functions required to translate the timespec structs between the target and the host. Add the syscall id for pselect6 on ARM as this is now supported in newer linux kernels. linux-user/arm/syscall_nr.h | 2 +- linux-user/syscall.c | 119 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 1 deletions(-)