fuse_clone_chan: avoid additional FD_CLOEXEC setting if O_CLOEXEC defined (#852)
authorlegezywzh <94814730+legezywzh@users.noreply.github.com>
Wed, 25 Oct 2023 11:19:39 +0000 (19:19 +0800)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 11:19:39 +0000 (12:19 +0100)
commitc814e3fac0d0f9a9060b9c02f8396ee7bdad2d70
tree931866fc7e49989a1f33da2de18765bd38702e57
parent463871a535799d3a3b01562b928f89040cfa11cd
fuse_clone_chan: avoid additional FD_CLOEXEC setting if O_CLOEXEC defined (#852)

Since open(2) has been called with O_CLOEXEC flag if defined.

Signed-off-by: Xiaoguang Wang <lege.wang@jaguarmicro.com>
Co-authored-by: Xiaoguang Wang <lege.wang@jaguarmicro.com>
lib/fuse_loop_mt.c