8043780: Use open(O_CLOEXEC) instead of fcntl(FD_CLOEXEC)

Use open(O_CLOEXEC) where available; fall back to FD_CLOEXEC when necessary

Reviewed-by: rasbold, dholmes
1 file changed