diff options
author | George Burgess IV <gbiv@google.com> | 2017-02-08 23:40:34 -0800 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2017-02-08 23:44:29 -0800 |
commit | d6f2e696245993da4211f8a67e8c2463fd6c7a78 (patch) | |
tree | 3523bf352342b81d793e62d61f18bccd0554a9ce /libunwindstack/tests/MemoryFileTest.cpp | |
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
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions