shadow/lib
Christian Göttsche 7a799ebb2c Ensure memory cleaning
Compilers are allowed to and do optimize memset(3) calls away for
pointers not accessed in the future. Since the memzero wrappers purpose
is exactly to unconditionally override memory (e.g. for stored
passwords) do not implement via regular memset(3), but via either
memset_s(3), explicit_bzero(3) or a hand written implementation using
volatile pointers.

See https://wiki.sei.cmu.edu/confluence/display/c/MSC06-C.+Beware+of+compiler+optimizations
2022-01-03 15:09:39 +01:00
..
.indent.pro [svn-upgrade] Integrating new upstream version, shadow (4.0.8) 2007-10-07 11:46:07 +00:00
commonio.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
commonio.h Update licensing info 2021-12-23 19:36:50 -06:00
defines.h Ensure memory cleaning 2022-01-03 15:09:39 +01:00
encrypt.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
exitcodes.h Update licensing info 2021-12-23 19:36:50 -06:00
faillog.h Update licensing info 2021-12-23 19:36:50 -06:00
fields.c Update licensing info 2021-12-23 19:36:50 -06:00
fputsx.c Update licensing info 2021-12-23 19:36:50 -06:00
get_gid.c Update licensing info 2021-12-23 19:36:50 -06:00
get_pid.c Update licensing info 2021-12-23 19:36:50 -06:00
get_uid.c Update licensing info 2021-12-23 19:36:50 -06:00
getdef.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
getdef.h Update licensing info 2021-12-23 19:36:50 -06:00
getlong.c Update licensing info 2021-12-23 19:36:50 -06:00
getulong.c Update licensing info 2021-12-23 19:36:50 -06:00
groupio.c Update licensing info 2021-12-23 19:36:50 -06:00
groupio.h Update licensing info 2021-12-23 19:36:50 -06:00
groupmem.c Update licensing info 2021-12-23 19:36:50 -06:00
gshadow_.h Update licensing info 2021-12-23 19:36:50 -06:00
gshadow.c Update licensing info 2021-12-23 19:36:50 -06:00
lockpw.c Update licensing info 2021-12-23 19:36:50 -06:00
Makefile.am build: include lib/shadowlog_internal.h in dist tarballs 2022-01-02 21:06:36 -06:00
nscd.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
nscd.h * configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd flag to 2008-08-30 18:30:36 +00:00
nss.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
pam_defs.h Update licensing info 2021-12-23 19:36:50 -06:00
port.c Update licensing info 2021-12-23 19:36:50 -06:00
port.h Update licensing info 2021-12-23 19:36:50 -06:00
prototypes.h Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
pwauth.c Update licensing info 2021-12-23 19:36:50 -06:00
pwauth.h Update licensing info 2021-12-23 19:36:50 -06:00
pwio.c Update licensing info 2021-12-23 19:36:50 -06:00
pwio.h Update licensing info 2021-12-23 19:36:50 -06:00
pwmem.c Update licensing info 2021-12-23 19:36:50 -06:00
run_part.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
run_part.h Adding run-parts style for pre and post useradd/del 2020-06-10 00:26:55 -05:00
selinux.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
semanage.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
sgetgrent.c Update licensing info 2021-12-23 19:36:50 -06:00
sgetpwent.c Update licensing info 2021-12-23 19:36:50 -06:00
sgetspent.c Update licensing info 2021-12-23 19:36:50 -06:00
sgroupio.c Update licensing info 2021-12-23 19:36:50 -06:00
sgroupio.h Update licensing info 2021-12-23 19:36:50 -06:00
shadow.c Update licensing info 2021-12-23 19:36:50 -06:00
shadowio.c Update licensing info 2021-12-23 19:36:50 -06:00
shadowio.h Update licensing info 2021-12-23 19:36:50 -06:00
shadowlog_internal.h lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
shadowlog.c lib: provide default values for shadow_progname/shadow_logfd 2021-12-27 16:28:23 +00:00
shadowlog.h Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
shadowmem.c Update licensing info 2021-12-23 19:36:50 -06:00
spawn.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
sssd.c lib: rename Prog to shadow_progname, with only one definition 2021-12-25 22:41:58 +00:00
sssd.h Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
subordinateio.c Update licensing info 2021-12-23 19:36:50 -06:00
subordinateio.h fix newusers when nss provides subids 2021-05-23 08:16:16 -05:00
tcbfuncs.c Merge pull request #451 from hallyn/2021-12-05/license 2022-01-02 18:38:42 -06:00
tcbfuncs.h * lib/tcbfuncs.h: Re-indent. 2010-03-18 19:23:00 +00:00
utent.c Update licensing info 2021-12-23 19:36:50 -06:00