shadow/libmisc
Alejandro Colomar 4e1afcd662 Assume STDC_HEADERS will always be defined
We're in 2021.  C89 is everywhere; in fact, there are many other
assumptions in the code that wouldn't probably hold on
pre-standard C environments.  Let's simplify and assume that C89
is available.

The specific assumptions are that:
- <string.h>, and <stdlib.h> are available
- strchr(3), strrchr(3), and strtok(3) are available
- isalpha(3), isspace(3), isdigit(3), and isupper(3) are available

I think we can safely assume we have all of those.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-12-29 02:39:04 +01:00
..
.indent.pro
addgrps.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
age.c
audit_help.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
basename.c Miscellaneous: 2011-09-18 21:02:43 +00:00
btrfs.c silence compiler warnings 2020-01-12 07:31:26 -06:00
chkname.c chkname.c, pwck.c, useradd.c, usermod.c, newusers.c: Allow names that do not conform to standards 2019-10-04 18:40:41 -05:00
chkname.h
chowndir.c * libmisc/chowndir.c: Add splint annotations. 2011-08-14 14:00:14 +00:00
chowntty.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
cleanup_group.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
cleanup_user.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
cleanup.c * lib/prototypes.h, libmisc/cleanup.c, lib/spawn.c, src/chage.c: 2011-10-18 20:23:33 +00:00
console.c Fix some issues found in Coverity scan. 2018-10-10 12:22:04 +02:00
copydir.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
date_to_str.c Have a single definition of date_to_str() 2021-12-26 18:55:39 +01:00
entry.c
env.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
failure.c Remove HAVE_STRFTIME ifdefs 2021-12-27 20:50:13 +01:00
failure.h spelling: cumulative 2017-10-22 18:33:13 +00:00
find_new_gid.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
find_new_sub_gids.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
find_new_sub_uids.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
find_new_uid.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
getdate.h * libmisc/limits.c: Avoid implicit conversion of integer to 2010-08-22 19:13:53 +00:00
getdate.y Assume STDC_HEADERS will always be defined 2021-12-29 02:39:04 +01:00
getgr_nam_gid.c * lib/prototypes.h, libmisc/getgr_nam_gid.c: getgr_nam_gid() 2011-08-14 13:16:26 +00:00
getrange.c
gettime.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
hushed.c Handle malformed lines in hushlogins file. 2021-10-29 19:50:38 +02:00
idmapping.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
idmapping.h subids: support nsswitch 2021-04-16 21:02:37 -05:00
isexpired.c * libmisc/isexpired.c: Added parenthesis. 2011-06-16 21:25:36 +00:00
limits.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
list.c libmisc: don't free members variable 2021-07-14 12:13:25 +02:00
log.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
loginprompt.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
mail.c
Makefile.am Have a single definition of date_to_str() 2021-12-26 18:55:39 +01:00
motd.c fix spelling and unify whitespace 2021-08-18 18:06:02 +00:00
myname.c Fix covscan RESOURCE_LEAK 2021-06-24 09:18:35 +02:00
obscure.c Add yescrypt support 2021-02-01 22:11:10 +01:00
pam_pass_non_interactive.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
pam_pass.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
prefix_flag.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
pwd2spwd.c Make the sp_lstchg shadow field reproducible (re. #71) 2019-03-31 16:00:01 +01:00
pwd_init.c
pwdcheck.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
remove_tree.c Integrate review comments from Julien Cristau 2010-09-05 15:34:42 +00:00
rlogin.c
root_flag.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
salt.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
setugid.c
setupenv.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
shell.c * libmisc/limits.c: Avoid implicit conversion of integer to 2010-08-22 19:13:53 +00:00
strtoday.c spelling: cumulative 2017-10-22 18:33:13 +00:00
sub.c Fix typo in comment. 2013-08-04 15:56:32 +02:00
sulog.c
ttytype.c * libmisc/limits.c: Avoid implicit conversion of integer to 2010-08-22 19:13:53 +00:00
tz.c
ulimit.c
user_busy.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
utmp.c Fix covscan BUFFER_SIZE 2021-06-16 09:50:53 +02:00
valid.c crypt() in glibc/eglibc 2.17 now fails if passed 2013-07-28 18:41:11 +02:00
xgetgrgid.c
xgetgrnam.c
xgetpwnam.c
xgetpwuid.c
xgetspnam.c
xgetXXbyYY.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
xmalloc.c Make shadow_logfd and Prog not extern 2021-12-23 15:18:07 -06:00
yesno.c