#1794 reuse open_cloexec elsewhere in the code
Closed: Fixed None Opened 9 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

5 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2836

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.