Current open(2) flags parser fails to decode O_ACCMODE properly. Reproducer: strace -e trace=open,fcntl,fcntl64 ./openmodes
Created attachment 145407 [details] openmodes.c
Created attachment 145408 [details] strace-alt-open.diff Proposed fix.
go ahead and commit that upstream
4.5.15 in rawhide and in updates for fc5 and fc6 fixes this.