slirp: we should set close on exec on accepted socket
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 17 Jul 2015 05:10:51 +0000 (14:10 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 17 Jul 2015 05:51:11 +0000 (14:51 +0900)
commit3d78d02bd52e7975f459eea6ee78a85d2a162351
tree624ecdc01342f880540084fa6952da14d6be9415
parent6e3736b4fa3b66a3d2a63c651316ad13246b7386
slirp: we should set close on exec on accepted socket

"qemu_accept()" already implement accept() with close on exec.
So we can use qemu_accept() instead of accept().

Change-Id: Ic5e79b0c5be5ac553aaf41eaf2c0f2b0d3e7bced
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
slirp/tcp_subr.c