commit | 4684e58a8d1d502012c48295233e6663043cfb0b | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Jun 26 15:07:03 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Jun 26 15:07:03 2012 -0700 |
tree | e1b118400f4df2f71d533b15cb590f864e91ed4a | |
parent | b405f3676038ba088edd4974bcecbcbfe094fc96 [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: I761708c001247d7a2faac2e286288b45bfecc6f7