commit | d6f2e696245993da4211f8a67e8c2463fd6c7a78 | [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 | 23f4e6b0a5ce3eee548a4cd9e857f522ddaf492b [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