Andrew,
Please take these 3 patches. They are against todays's mmotm.
Sorry for the confusion!
Note that the FMODE_EXEC change is moved as the last one, so that when
removing FMODE_EXEC from the O_* namespace, the commit can be simply
reverted.
Thanks,
Fengguang
--