commit | 151ea52cf68e4f9716c985b6ee0b2bf2f160f6ef | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Fri Feb 03 14:45:47 2017 -0800 |
committer | George Burgess IV <gbiv@google.com> | Fri Feb 03 14:45:47 2017 -0800 |
tree | 6b1c4e5c514007d1b6cf22ed4cdbfa0bae3b761a | |
parent | 9f5d1c12585ac1dcad227eb6e9c96c71a4cf07fd [diff] |
Add permission bits to open with O_CREAT. It's an error to pass open O_CREAT without giving it mode bits: https://linux.die.net/man/3/open Bug: 32073964 Test: Compiles with clang FORTIFY. Change-Id: Iaa78c3003ed960e1ffe7e56623dba33db4e17443