commit | 956cde8578c40ec812a933a14cb4e82f2c0de320 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Jun 26 15:01:03 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Jun 26 15:01:03 2012 -0700 |
tree | 4b477b5b9db290ff41f2187a134bc6ecb3e74f61 | |
parent | ea17e320b0bc4437e8a881026f296b71fa02ad3e [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: I73c1e1a39ca36bf01704b07302af4971d234b5a8