commit | afae4c833445e0b13389d457dc8dde069aff7c66 | [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 | 9314d482512c17f1251687855ecc6dc22905666a [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