shadow/lib
Alejandro Colomar 3f90eff494 Add WIDTHOF() to get the width in bits
It is common to use the expression 'sizeof(x) * CHAR_BIT' to mean the
width in bits of a type or object.  Now that there are _WIDTH macros for
some types, indicating the number of bits that they use, it makes sense
to wrap this calculation in a macro of a similar name.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-01-27 21:48:37 -06:00
..
.indent.pro
bit.h Add bit manipulation functions 2023-01-27 21:48:37 -06:00
commonio.c changing lock mechanism 2022-12-29 13:58:49 -06:00
commonio.h changing lock mechanism 2022-12-29 13:58:49 -06:00
defines.h Add WIDTHOF() to get the width in bits 2023-01-27 21:48:37 -06:00
encrypt.c
exitcodes.h
faillog.h
fields.c Use strlcpy(3) instead of its pattern 2022-12-22 18:03:39 -06:00
fputsx.c
get_gid.c
get_pid.c
get_uid.c
getdef.c Remove USE_SYSLOG preprocessor conditional, which was always defined 2022-12-22 11:44:36 +01:00
getdef.h
getlong.c
getulong.c
groupio.c
groupio.h
groupmem.c
gshadow_.h
gshadow.c Use strlcpy(3) instead of its pattern 2022-12-22 18:03:39 -06:00
lockpw.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
Makefile.am Provide strlcpy declaration 2023-01-25 12:31:17 +01:00
nscd.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
nscd.h
nss.c Warn if failed to read existing /etc/nsswitch.conf 2023-01-04 14:21:43 -06:00
pam_defs.h Declare constant data structure const 2023-01-25 12:31:17 +01:00
port.c
port.h
prototypes.h Rewrite csrand_interval() as a wrapper around csrand_uniform() 2023-01-27 21:48:37 -06:00
pwauth.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
pwauth.h
pwio.c
pwio.h
pwmem.c
run_part.c
run_part.h
selinux.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
semanage.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
sgetgrent.c
sgetpwent.c
sgetspent.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
sgroupio.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
sgroupio.h
shadow.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
shadowio.c
shadowio.h
shadowlog_internal.h Fix typos 2023-01-26 22:44:39 -06:00
shadowlog.c
shadowlog.h
shadowmem.c
spawn.c
sssd.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00
sssd.h
subordinateio.c Fix typos 2023-01-26 22:44:39 -06:00
subordinateio.h
tcbfuncs.c
tcbfuncs.h
utent.c Don't redefine errno(3) 2022-12-22 11:43:29 +01:00