summaryrefslogtreecommitdiff
path: root/include (follow)
AgeCommit message (Collapse)Author
2015-02-24Remove compile time checkssin
These can produce false positives. Given that we support fortify source level 1 we shouldn't break valid code.
2015-02-23Add gethostname() checkssin
2015-02-22Remove header license commentssin
2015-02-05Add getcwd() checkssin
2015-02-05Add confstr() checkssin
2015-02-04Remember to #undef __errordeclsin
Thanks zhasha for spotting this.
2015-02-04Style fixsin
2015-02-04Add recvfrom() checkssin
2015-01-30Add recv() checkssin
2015-01-30Use consistent naming conventionsin
2015-01-30Remove pwrite/writesin
2015-01-30Remove __restrictsin
2015-01-30Add FD_{CLR,SET} checkssin
2015-01-30Add pread() and pwrite() checkssin
2015-01-29Fix typosin
2015-01-29Style fixsin
2015-01-29Add read()/write() checkssin
2015-01-29Allow dest == src in memcpy()sin
memcpy() needs to accept dest == src for gcc. struct foo a, b; a = a; might be implemented using memcpy().
2015-01-29Add compile-time checks as wellsin
2015-01-29Style fixsin
2015-01-29Add bzero() checkssin
2015-01-29Add license infosin
2015-01-29Style fixsin
2015-01-29Trap if memcpy() pointers are overlappingsin
Maybe this should only be done if _FORTIFY_SOURCE > 1.
2015-01-29Add bcopy() checkssin
2015-01-29Add fgets() checkssin
2015-01-28Use BSD-style func defssin
2015-01-28Use #ifdef instead of #if definedsin
2015-01-28Add mempcpy() checkssin
2015-01-28Use local _n to avoid multiple evaluationsin
2015-01-28Simplify checkssin
Do not perform checks only when `n' is constant, most of the time it is not. The bos == (size_t)-1 check is redundant because n > bos with bos == -1 will always be false.
2015-01-28Add snprintf() checkssin
We need to use a variadic macro in this case because GCC doesn't allow inline functions with variable argument lists.
2015-01-28Use __builtin_va_listsin
2015-01-28Add vsnprintf() checkssin
2015-01-28Remove trailing semicolonsin
2015-01-28Add stpncpy()sin
2015-01-28Add stpcpy()sin
2015-01-28Move defines to the bottomsin
This allows us to re-use the functions internally.
2015-01-28Merge __foo_chk() into __fortify_foo()sin
2015-01-28Initial commitsin