CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/01/10 16:23:56
Modified files:
sys/sys : systm.h
sys/lib/libkern: libkern.h
sys/conf : files
Added files:
sys/lib/libkern: explicit_bzero.c
Log message:
add a new function, explicit_bzero, to be used for erasing "secret" stuff.
unlike normal bzero, we guarantee that the compiler will not optimize out
calls to this function for otherwise dead variables.
to be adjusted as needed when compilers and linkers get smarter.
ok deraadt miod