commit | 8118f62a7d3f1af1edb47e0bc2a49af1d523ae0f | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Jun 26 15:08:06 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Jun 26 15:19:12 2012 -0700 |
tree | c385eb2c8e0d083fbc9b8715d2f15b3ac0fc6908 | |
parent | b52e4385c403d18a68309e568ac729c787d900c4 [diff] |
FORTIFY_SOURCE: add open() checks Add a FORTIFY_SOURCE check which requires that you pass a "mode" argument when calling open(..., O_CREAT). If a mode isn't passed, then the file is created with "undefined" permissions. Change-Id: I4427be4f9ce170c69da01af5b00fb05b03613a28