Nick Kralevich a3e230d1fa 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
2012-07-09 12:30:40 -07:00
..
2009-03-03 19:28:35 -08:00
2010-07-08 16:52:27 -07:00
2010-01-15 16:27:04 -08:00
2012-06-26 15:19:12 -07:00
2012-07-09 12:30:40 -07:00
2011-01-21 11:39:15 -08:00
2009-11-05 15:50:05 -08:00
2009-11-05 15:50:05 -08:00