commit | 3f2b0a506f1e09e6960c050778870da289fc4702 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Jun 26 14:59:36 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Jun 26 14:59:36 2012 -0700 |
tree | 52cf8a78309fcf1a860dde76983f77ac4aa6f6bc | |
parent | 22aec573b718c57aea2b9bd91607631a6d521911 [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 runtime error in a future version of Android. Change-Id: I00609f37d2ea68e21b6404d542830386be354202