Re: [Qemu-devel] [PATCH v2 4/7] linux-user: Fix fcnt

2016-12-16 Thread Peter Maydell
On 24 November 2016 at 16:08, Lena Djokic wrote: Making the subject line "linux-user: fix F_GETSIG and F_SETSIG fcntls" would be a bit more precise about what we're fixing here and I think that will be helpful for people looking back in the git log later. > F_GETSIG and F_SETSIG were implemented

[Qemu-devel] [PATCH v2 4/7] linux-user: Fix fcnt

2016-11-24 Thread Lena Djokic
F_GETSIG and F_SETSIG were implemented with default behaviour which simply passes given arguments to fcntl syscall, but since those arguments are signals used for communication between taget and host we need conversion which is done by using host_to_target_signal and taget_to_host_signal functions.