commit | a3e230d1fa9a5ed773a029e2acc6eb4f3e849ea3 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Jul 02 12:24:42 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Mon Jul 09 12:30:40 2012 -0700 |
tree | 6f1dbd761142774dc7bed997d14ec4090c874880 | |
parent | 2ddf77b37731dff3a271c1312fc0bef2e7d41473 [diff] |
FORTIFY_SOURCE: Add openat, fix bug Add fortify_source support for openat(). This change requires that an argument be supplied when using O_CREAT. Fix unnecessary call to __open_2. If, at compile time, we know that "flags" is constant and DOESN'T contain O_CREAT, the call to __open_2 is useless. Change-Id: Ifcd29c4fb25e25656961d7552d672e161f0cfdbd