platform_bionic/libc/include/bits/fortify
George Burgess IV 8c0ec114c5 fortify: fix up a few diagnostics; add __wur to realpath
As it says on the box.

Since realpath isn't a function definition, any attributes it provides
here just add to the "regular" realpath.

__wur is being added to realpath because it returns NULL on failure, and
the contents of the input buffer are undefined in that case. A blueline
checkbuild showed 0 complaints about this new __wur, so it seems
harmless to add.

Bug: 131861088
Test: mma
Change-Id: If5f47e0e290d86df69c0888711e29775c390fca4
2019-06-13 23:26:02 -07:00
..
fcntl.h fortify: add bit checking for open(at)?64 functions 2019-06-13 23:26:02 -07:00
poll.h fortify: use __builtin_constant_p for more short-circuits 2019-05-23 15:01:54 -07:00
socket.h fortify: Migrate trivial cases to dynamic check macros 2019-05-23 13:39:04 -07:00
stat.h fortify: inline #defined strings 2019-05-23 13:38:09 -07:00
stdio.h fortify: use __builtin_constant_p for more short-circuits 2019-05-23 15:01:54 -07:00
stdlib.h fortify: fix up a few diagnostics; add __wur to realpath 2019-06-13 23:26:02 -07:00
string.h fortify: add diagnostics for str* functions 2019-06-13 23:26:02 -07:00
unistd.h fortify: more use of __builtin_constant_p 2019-05-23 15:01:55 -07:00