openat() flags are the same of open()