linux-user: pass correct host flags to eventfd2 call
commit5947c697ce71898015ae1c6ac5d23d1ecc388552
authorPetar Jovanovic <petar.jovanovic@rt-rk.com>
Mon, 8 Apr 2013 18:26:10 +0000 (8 20:26 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 12 Apr 2013 12:33:20 +0000 (12 14:33 +0200)
treeefe4aa208f801e8d100e9a907f7c1f7d9d494ba2
parent183543cdb68a0f2e1ff1c68d37338037dcc9d6c5
linux-user: pass correct host flags to eventfd2 call

This change makes conversion of TARGET_O_NONBLOCK and TARGET_O_CLOEXEC flags
to host flags before calling eventfd for TARGET_NR_eventfd2.

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
linux-user/syscall.c