O_CLOEXEC supported since Linux 2.6.23

old linux (<2.6.23) no flag O_CLOEXEC