summaryrefslogtreecommitdiff
path: root/common/lib/libc/string
AgeCommit message (Expand)Author
2018-02-12Complete previous by complteley removing the _DIAGASSERT from memmove -martin
2018-02-06- remove two more _DIAGASSERT() checks against not NULL for functionsmrg
2018-02-04updates for GCC 6.4:mrg
2018-02-04fixes for GCC 6:mrg
2016-10-12Add strchrnulchristos
2015-05-29Don't compile if there is a macro of the same name.matt
2015-03-18Switch to the suggested constant-time result conversion.riastradh
2014-07-19lua: updated from 5.1 to 5.3 work3lneto
2014-06-24add a public domain noticedrochner
2014-04-16Undef possible macro versions of memcpy and friends for kernel buildsjoerg
2014-04-14Using bcopy/memcpy with NULL arguments is valid as long as the size isjoerg
2014-01-09Make strnlen implementation usable from src/tools/compat.apb
2013-12-27make it kernel friendly.christos
2013-12-27kernel needs it now too.christos
2013-12-02Improve EABI handling of string functions. Most importantly, fixjoerg
2013-08-28Comment on possible data-dependent branch in `!res'.riastradh
2013-08-28Publish explicit_memset and consttime_memequal in userland libc.riastradh
2013-08-28Make explicit_memset match memset's return value.riastradh
2013-08-28Fix sense of consttime_memequal and update all callers.riastradh
2013-07-01Don't pick up strcmp as macro from libkern.h.joerg
2013-06-24Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset.riastradh
2013-01-23Add a (unused) variant of strlcat that uses strnlen and strlcpy to do the work.matt
2012-08-30Add "consttime_bcmp" and "explicit_bzero" functions for both kerneldrochner
2012-03-09Casts and type changes to fix portability issues.christos
2012-03-02remove trailing white spaceapb
2012-03-02Change CTASSERT to __CTASSERT (the spelling used in <sys/cdefs.h>),apb
2011-11-08libkern.h maps memcmp, memset and strcpy to the compiler builtins onjoerg
2011-09-01Make strnlen(3) accessible in kernel. ok christos@.jym
2011-08-31NULL does not need a castplunky
2011-08-21Requires stdint.h.dholland
2011-08-07add a weak alias to __ffssi2, needed for hppa gcc 4.5.mrg
2009-12-14Merge from matt-nb5-mips64matt
2009-08-05Fix a comment to not be self-referencing.joerg
2009-07-21remove stray semicolons, makes lint happy and lets the libc build proceeddrochner
2009-07-21Include limits.h.joerg
2009-07-21Make the constant u_longlong too, lint is just too stupid...joerg
2009-07-21Add explicit casts to make lint happy.joerg
2009-07-21Move popcount et al to src/common and add popcount32/popcount64.joerg
2009-07-17Change all archs so that strchr.[cS] and strrchr.[cS] exist and generatedsl
2009-04-25Only include <assert.h> and <string.h> if !_KERNEL && !_STANDALONEskrll
2009-03-19Actually... We need libkern.h also under _STANDALONE, so thathe
2009-03-18- remove bcmp(9), bcopy(9), and bzero(9) from libkern since <sys/systm.h> hastsutsui
2009-03-17Add local declarations of bcmp() and bzero() because libkern.h no longerhe
2008-03-29Do like the non-__OPTIMIZE_SIZE__ variant, and compile memset() unlesshe
2008-03-29Make the size-optimized memset() actually conform to the man pagehe
2008-03-26Add /* __OPTIMIZE_SIZE__ */ comments on relevant #else and #endif lines.apb
2008-03-25bcopy does not return ptr.christos
2008-03-25fix #ifdefs for BCOPYchristos
2008-03-25add bcopy and bzero for the benefit of loadfile.christos
2008-03-25add __OPTIMIZE_SIZE__ versions.christos