commit | 0195e71ed727ed4b5b3f7cf063302b61ae85a3ec | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Feb 08 23:40:34 2017 -0800 |
committer | George Burgess IV <gbiv@google.com> | Wed Feb 08 23:44:29 2017 -0800 |
tree | 3523bf352342b81d793e62d61f18bccd0554a9ce | |
parent | 987fd3cc9d586b4b10d110f6d0f35344ccd8fcd6 [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: I6b2a3694f85565afdeb782585c6af36e8c4d1557