commit | af8e8aa1ada2948972555592570ec9ad90cbf372 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Jun 26 13:32:23 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Jun 26 13:53:00 2012 -0700 |
tree | c573478e9f30dfe62dab9674fa4c04170f4b9626 | |
parent | 0dc6d5ef45c0721c76f0e55354ff80371d795e5d [diff] |
Add mode when open(O_CREAT) is used. When creating a new file using open(..., O_CREAT), it is an error to fail to specify a creation mode. If a mode is not specified, a random stack provided value is used as the "mode". This will become a compile error in a future Android change. Change-Id: I36a3d67d294a915c1f79632a1b0ba45edd1214b1