[sudo-commits] sudo changeset 11579:b42b6dcb48a6

Todd C. Miller Todd.Miller at sudo.ws
Sun Oct 21 08:48:22 MDT 2018


changeset:	11579:b42b6dcb48a6 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/b42b6dcb48a6
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sun Oct 21 08:46:05 2018 -0600

Log Message:
	Add comments in .c files so PVS-Studio will check them.

diffstat:

 lib/util/aix.c                                            |   3 +
 lib/util/arc4random.c                                     |   3 +
 lib/util/arc4random_uniform.c                             |   3 +
 lib/util/closefrom.c                                      |   3 +
 lib/util/digest.c                                         |   3 +
 lib/util/digest_gcrypt.c                                  |   3 +
 lib/util/digest_openssl.c                                 |   3 +
 lib/util/event.c                                          |   3 +
 lib/util/event_poll.c                                     |   3 +
 lib/util/event_select.c                                   |   3 +
 lib/util/fatal.c                                          |   3 +
 lib/util/fnmatch.c                                        |   3 +
 lib/util/getentropy.c                                     |   3 +
 lib/util/getgrouplist.c                                   |   3 +
 lib/util/gethostname.c                                    |   3 +
 lib/util/getline.c                                        |   3 +
 lib/util/getopt_long.c                                    |   3 +
 lib/util/gettime.c                                        |   3 +
 lib/util/gidlist.c                                        |   3 +
 lib/util/isblank.c                                        |   3 +
 lib/util/key_val.c                                        |   3 +
 lib/util/lbuf.c                                           |   3 +
 lib/util/locking.c                                        |   3 +
 lib/util/memrchr.c                                        |   3 +
 lib/util/memset_s.c                                       |   3 +
 lib/util/mksiglist.c                                      |   3 +
 lib/util/mksigname.c                                      |   3 +
 lib/util/mktemp.c                                         |   3 +
 lib/util/nanosleep.c                                      |   3 +
 lib/util/parseln.c                                        |   3 +
 lib/util/pipe2.c                                          |   3 +
 lib/util/progname.c                                       |   3 +
 lib/util/pw_dup.c                                         |   3 +
 lib/util/reallocarray.c                                   |   3 +
 lib/util/regress/atofoo/atofoo_test.c                     |   3 +
 lib/util/regress/parse_gids/parse_gids_test.c             |   3 +
 lib/util/regress/progname/progname_test.c                 |   3 +
 lib/util/regress/strsplit/strsplit_test.c                 |   3 +
 lib/util/regress/sudo_conf/conf_test.c                    |   3 +
 lib/util/regress/sudo_parseln/parseln_test.c              |   3 +
 lib/util/regress/tailq/hltq_test.c                        |   3 +
 lib/util/regress/vsyslog/vsyslog_test.c                   |   3 +
 lib/util/secure_path.c                                    |   3 +
 lib/util/setgroups.c                                      |   3 +
 lib/util/sha2.c                                           |   3 +
 lib/util/sig2str.c                                        |   3 +
 lib/util/strlcat.c                                        |   3 +
 lib/util/strlcpy.c                                        |   3 +
 lib/util/strndup.c                                        |   3 +
 lib/util/strnlen.c                                        |   3 +
 lib/util/strsignal.c                                      |   3 +
 lib/util/strsplit.c                                       |   3 +
 lib/util/strtobool.c                                      |   3 +
 lib/util/strtoid.c                                        |   3 +
 lib/util/strtomode.c                                      |   3 +
 lib/util/strtonum.c                                       |   3 +
 lib/util/sudo_conf.c                                      |   3 +
 lib/util/sudo_debug.c                                     |   3 +
 lib/util/sudo_dso.c                                       |   3 +
 lib/util/term.c                                           |   3 +
 lib/util/ttyname_dev.c                                    |   3 +
 lib/util/ttysize.c                                        |   3 +
 lib/util/utimens.c                                        |   3 +
 lib/util/vsyslog.c                                        |   3 +
 plugins/group_file/getgrent.c                             |   3 +
 plugins/group_file/group_file.c                           |   3 +
 plugins/group_file/plugin_test.c                          |   3 +
 plugins/sample/sample_plugin.c                            |   3 +
 plugins/sudoers/alias.c                                   |   6 +
 plugins/sudoers/audit.c                                   |   3 +
 plugins/sudoers/auth/afs.c                                |   3 +
 plugins/sudoers/auth/aix_auth.c                           |   3 +
 plugins/sudoers/auth/bsdauth.c                            |   3 +
 plugins/sudoers/auth/dce.c                                |   3 +
 plugins/sudoers/auth/fwtk.c                               |   3 +
 plugins/sudoers/auth/kerb5.c                              |   3 +
 plugins/sudoers/auth/pam.c                                |   3 +
 plugins/sudoers/auth/passwd.c                             |   3 +
 plugins/sudoers/auth/rfc1938.c                            |   3 +
 plugins/sudoers/auth/secureware.c                         |   3 +
 plugins/sudoers/auth/securid5.c                           |   3 +
 plugins/sudoers/auth/sia.c                                |   3 +
 plugins/sudoers/auth/sudo_auth.c                          |   3 +
 plugins/sudoers/base64.c                                  |   3 +
 plugins/sudoers/boottime.c                                |   3 +
 plugins/sudoers/bsm_audit.c                               |   3 +
 plugins/sudoers/check.c                                   |   3 +
 plugins/sudoers/cvtsudoers.c                              |   3 +
 plugins/sudoers/cvtsudoers_json.c                         |   3 +
 plugins/sudoers/cvtsudoers_ldif.c                         |   3 +
 plugins/sudoers/cvtsudoers_pwutil.c                       |   3 +
 plugins/sudoers/defaults.c                                |   3 +
 plugins/sudoers/digestname.c                              |   3 +
 plugins/sudoers/editor.c                                  |   3 +
 plugins/sudoers/env.c                                     |   3 +
 plugins/sudoers/env_pattern.c                             |   3 +
 plugins/sudoers/file.c                                    |   3 +
 plugins/sudoers/filedigest.c                              |   3 +
 plugins/sudoers/find_path.c                               |   3 +
 plugins/sudoers/fmtsudoers.c                              |   3 +
 plugins/sudoers/gc.c                                      |   3 +
 plugins/sudoers/gentime.c                                 |   3 +
 plugins/sudoers/getdate.c                                 |   3 +
 plugins/sudoers/getspwuid.c                               |   3 +
 plugins/sudoers/gmtoff.c                                  |   3 +
 plugins/sudoers/goodpath.c                                |   3 +
 plugins/sudoers/gram.c                                    |   3 +
 plugins/sudoers/group_plugin.c                            |   3 +
 plugins/sudoers/hexchar.c                                 |   3 +
 plugins/sudoers/interfaces.c                              |   3 +
 plugins/sudoers/iolog.c                                   |   3 +
 plugins/sudoers/iolog_path.c                              |   3 +
 plugins/sudoers/iolog_util.c                              |   3 +
 plugins/sudoers/ldap.c                                    |   3 +
 plugins/sudoers/ldap_conf.c                               |   3 +
 plugins/sudoers/ldap_util.c                               |   3 +
 plugins/sudoers/linux_audit.c                             |   3 +
 plugins/sudoers/locale.c                                  |   3 +
 plugins/sudoers/logging.c                                 |   3 +
 plugins/sudoers/logwrap.c                                 |   3 +
 plugins/sudoers/match.c                                   |   3 +
 plugins/sudoers/match_addr.c                              |   3 +
 plugins/sudoers/mkdir_parents.c                           |   3 +
 plugins/sudoers/parse.c                                   |   3 +
 plugins/sudoers/parse_ldif.c                              |   3 +
 plugins/sudoers/policy.c                                  |   3 +
 plugins/sudoers/prompt.c                                  |   3 +
 plugins/sudoers/pwutil.c                                  |   3 +
 plugins/sudoers/pwutil_impl.c                             |   3 +
 plugins/sudoers/rcstr.c                                   |   3 +
 plugins/sudoers/redblack.c                                |   3 +
 plugins/sudoers/regress/check_symbols/check_symbols.c     |   3 +
 plugins/sudoers/regress/env_match/check_env_pattern.c     |   3 +
 plugins/sudoers/regress/iolog_path/check_iolog_path.c     |   3 +
 plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c |   3 +
 plugins/sudoers/regress/iolog_util/check_iolog_util.c     |   3 +
 plugins/sudoers/regress/logging/check_wrap.c              |   3 +
 plugins/sudoers/regress/parser/check_addr.c               |   3 +
 plugins/sudoers/regress/parser/check_base64.c             |   3 +
 plugins/sudoers/regress/parser/check_digest.c             |   3 +
 plugins/sudoers/regress/parser/check_fill.c               |   3 +
 plugins/sudoers/regress/parser/check_gentime.c            |   3 +
 plugins/sudoers/regress/parser/check_hexchar.c            |   3 +
 plugins/sudoers/regress/starttime/check_starttime.c       |   3 +
 plugins/sudoers/set_perms.c                               |   3 +
 plugins/sudoers/solaris_audit.c                           |   3 +
 plugins/sudoers/sssd.c                                    |   3 +
 plugins/sudoers/starttime.c                               |   3 +
 plugins/sudoers/strlist.c                                 |   3 +
 plugins/sudoers/stubs.c                                   |   3 +
 plugins/sudoers/sudo_nss.c                                |   3 +
 plugins/sudoers/sudo_printf.c                             |   3 +
 plugins/sudoers/sudoers.c                                 |   3 +
 plugins/sudoers/sudoers_debug.c                           |   3 +
 plugins/sudoers/sudoreplay.c                              |   3 +
 plugins/sudoers/testsudoers.c                             |   3 +
 plugins/sudoers/timeout.c                                 |   3 +
 plugins/sudoers/timestamp.c                               |   3 +
 plugins/sudoers/timestr.c                                 |   3 +
 plugins/sudoers/toke.c                                    |   3 +
 plugins/sudoers/toke_util.c                               |   3 +
 plugins/sudoers/tsdump.c                                  |   3 +
 plugins/sudoers/tsgetgrpw.c                               |   3 +
 plugins/sudoers/visudo.c                                  |   3 +
 plugins/system_group/system_group.c                       |   3 +
 src/conversation.c                                        |   3 +
 src/env_hooks.c                                           |   3 +
 src/exec.c                                                |   3 +
 src/exec_common.c                                         |   3 +
 src/exec_monitor.c                                        |   3 +
 src/exec_nopty.c                                          |   3 +
 src/exec_pty.c                                            |   3 +
 src/get_pty.c                                             |   3 +
 src/hooks.c                                               |   3 +
 src/load_plugins.c                                        |  49 +++++++-------
 src/net_ifs.c                                             |   3 +
 src/openbsd.c                                             |   3 +
 src/parse_args.c                                          |   3 +
 src/preload.c                                             |   3 +
 src/preserve_fds.c                                        |   3 +
 src/regress/noexec/check_noexec.c                         |   3 +
 src/regress/ttyname/check_ttyname.c                       |   3 +
 src/selinux.c                                             |   3 +
 src/sesh.c                                                |   3 +
 src/signal.c                                              |   3 +
 src/solaris.c                                             |   3 +
 src/sudo.c                                                |   3 +
 src/sudo_edit.c                                           |   3 +
 src/sudo_noexec.c                                         |   3 +
 src/tcsetpgrp_nobg.c                                      |   3 +
 src/tgetpass.c                                            |   3 +
 src/ttyname.c                                             |   3 +
 src/utmp.c                                                |   3 +
 193 files changed, 603 insertions(+), 25 deletions(-)


More information about the sudo-commits mailing list