rune/libenclave: Fix duplications of staging fds
It was intended to have fds without close-on-exec with the side
effect of dup(), but acutally all fds staged are already
close-on-exec clear. Thus dup() makes extra duplications of fds
passed to init-runelet.
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
Showing
想要评论请 注册 或 登录