summaryrefslogtreecommitdiff
path: root/include (follow)
AgeCommit message (Collapse)Author
2015-03-14Add __artificial__ to aid in debuggingsin
2015-03-13Restore C++ supportsin
2015-03-13Fix typo againsin
2015-03-13Implement snprintf() and sprintf() using __builtin_va_arg_pack()sin
Requires at least GCC 4.3.
2015-03-13Re-order vsnprintf() and vsprintf()sin
vsprintf() needs to access __vsnprintf_orig().
2015-03-13Fix typosin
2015-03-13Rework fortify implementation to use extern inlinesin
Overriding functions with macros is legal in C but a lot of software is not prepared for it. Use the extern inline method to achieve the same result.
2015-03-11Put include guards in the reserved namespaceTrutz Behn
fortify-headers is considered part of the implementation.
2015-03-11Revert "Add explicit casts to satisfy C++ code"sin
This reverts commit 1fbf7a3a5e9c02cf992848002cfb88c3c7cc0212.
2015-03-11Ignore C++ for nowsin
It is not legal to override standard functions using macros in C++. We may have to revisit this in the future.
2015-03-11Add ifdef guards for C++ codesin
2015-03-11Add explicit casts to satisfy C++ codesin
2015-03-11Revert "Fix invalid conversion in C++ code"sin
This reverts commit 4b4dfea25d660a8a27e95ea531686001246b3d1e.
2015-03-11Fix invalid conversion in C++ codesin
/usr/include/fortify/string.h: In function 'void* __fortify_memcpy(void*, const void*, size_t)': /usr/include/fortify/string.h:13:12: error: invalid conversion from 'void*' to 'char*' [-fpermissive] /usr/include/fortify/string.h:14:18: error: invalid conversion from 'const void*' to 'const char*' [-fpermissive] Since we are relying on GCC anyway, assume void * arithmetic is OK.
2015-03-10Inline ppoll() as wellsin
2015-03-10Make ppoll() staticsin
Thanks Timo Teras.
2015-03-10Fix strncat() and strncpy() mappingssin
Thanks zhasha.
2015-03-07Style fixsin
2015-03-06Fix some checks in wchar.hsin
Some of these functions allow the destination pointer to be NULL. Do not trap in that case as nothing will be written to the destination buffer.
2015-03-05Fix mbsnrtowcs() and wcsnrtombs() checkssin
2015-03-04Fix wcsrtombs() checksin
2015-03-04Fix mbsrtowcs() checksin
2015-03-04Handle early termination in wcsnrtombs() and mbsnrtowcs()sin
2015-03-04Add wctomb() checksin
2015-03-04Add wcstombs() checksin
2015-03-04Add wcsnrtombs() and wcsrtombs() checkssin
2015-03-04Add wcsncat() and wcsncpy() checkssin
2015-03-04Add wcrtomb(), wcscat() and wcscpy() checkssin
2015-03-03Style fixsin
2015-03-03Add mbstowcs() checksin
2015-03-03Add mbsnrtowcs() and mbsrtowcs() checkssin
2015-03-03Add wmemcpy() and wmemmove() checkssin
2015-03-03Add wmemset() checksin
2015-03-03Fix signed/unsigned warningsin
2015-03-03Remove gcc attribute decorationsin
2015-03-03Don't trap on error for vsprintf() and friendssin
2015-03-03Add fgetws() checksin
2015-03-03Add ppoll() checksin
2015-03-01Add fwrite() checksin
2015-03-01Add fread() checksin
2015-03-01Add vsprintf() checksin
2015-03-01Fix potential signed/unsigned warningsin
2015-03-01Add sprintf() checksin
2015-02-28Remove redundant checkssin
We can never have an array of more than SIZE_MAX/2/sizeof(gid_t) gid_t's.
2015-02-28Minor style fixsin
2015-02-28Add sendto() checksin
2015-02-28Add readlink() and readlinkat() checkssin
2015-02-28Style fixsin
2015-02-28Use __typeof__(sizeof 0) trickerysin
We cannot pull stddef.h and since fortify already relies on GCC features we can use the above typeof trick to get a usable size_t.
2015-02-28__fortify_realpath() should trap if PATH_MAX is not definedsin
This is currently done only if the pointer is non-NULL.