#1794 reuse open_cloexec elsewhere in the code
Closed: Fixed None Opened 6 years ago by jhrozek.

The new function open_cloexec is a wrapper around the exec call that opens a file and sets the O_CLOEXEC flag in a portable manner - on platforms where open supports O_CLOXEC, it is used, else the close-on-exec flag is later set with fcntl.

We use the same pattern elsewhere in the code, so we should split it open_cloexec, rename it so it's properly namespaced and use the single implementation.

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.10 beta
rhbz: => 0

Fields changed

owner: somebody => lslebodn

Fields changed

status: new => assigned

Fields changed

patch: 0 => 1

Fixed in master with commits 22d3813 and

resolution: => fixed
status: assigned => closed

Metadata Update from @jhrozek:
- Issue assigned to lslebodn
- Issue set to the milestone: SSSD 1.10 beta

2 years ago

Login to comment on this ticket.