projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720036a
)
F_DUPFD_CLOEXEC is not universally available
author
malc
<av1474@comtv.ru>
Sun, 6 Sep 2009 02:31:59 +0000
(06:31 +0400)
committer
malc
<av1474@comtv.ru>
Thu, 10 Sep 2009 16:27:36 +0000
(20:27 +0400)
The same issue (and the same patch to the byte) was experienced/proposed
by Vince Weaver.
Signed-off-by: malc <av1474@comtv.ru>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index
25b95ea
..
b42567c
100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-3685,8
+3685,10
@@
static int target_to_host_fcntl_cmd(int cmd)
return F_SETLEASE;
case TARGET_F_GETLEASE:
return F_GETLEASE;
+#ifdef F_DUPFD_CLOEXEC
case TARGET_F_DUPFD_CLOEXEC:
return F_DUPFD_CLOEXEC;
+#endif
case TARGET_F_NOTIFY:
return F_NOTIFY;
default: