diff --git a/docs/sudo_plugin_python.man.in b/docs/sudo_plugin_python.man.in index 9410271ee..e77e96cb2 100644 --- a/docs/sudo_plugin_python.man.in +++ b/docs/sudo_plugin_python.man.in @@ -94,7 +94,7 @@ The customized Plugin class should define a few plugin-specific methods. When the plugin loads, \fBsudo\fR will create an instance of this class and call the methods. -The actual methods required depent on the type of the plugin, +The actual methods required depend on the type of the plugin, but most return an \fIint\fR result code, as documented in diff --git a/docs/sudo_plugin_python.mdoc.in b/docs/sudo_plugin_python.mdoc.in index 49299eabc..f6edd470e 100644 --- a/docs/sudo_plugin_python.mdoc.in +++ b/docs/sudo_plugin_python.mdoc.in @@ -83,7 +83,7 @@ The customized Plugin class should define a few plugin-specific methods. When the plugin loads, .Nm sudo will create an instance of this class and call the methods. -The actual methods required depent on the type of the plugin, +The actual methods required depend on the type of the plugin, but most return an .Vt int result code, as documented in diff --git a/etc/codespell.exclude b/etc/codespell.exclude index 2c1f54ff8..b89f656b3 100644 --- a/etc/codespell.exclude +++ b/etc/codespell.exclude @@ -32,3 +32,4 @@ * If path doesn't end in /, return true iff cmnd & path name the same inode; * Tim Fraser echo ".Nd sudo" >> conftest + * as per FIPS 180-4: Secure Hash Standard (SHS) diff --git a/etc/codespell.ignore b/etc/codespell.ignore index d242e622e..acf70b0d9 100644 --- a/etc/codespell.ignore +++ b/etc/codespell.ignore @@ -1,16 +1,19 @@ SOM VAS alloced +anull +clen edn fIDN +fpt ist +nome numer pleas sav +siz statics thur toke vas wit -siz -clen diff --git a/plugins/sudoers/getdate.c b/plugins/sudoers/getdate.c index 0f06b466c..bb01d1026 100644 --- a/plugins/sudoers/getdate.c +++ b/plugins/sudoers/getdate.c @@ -1976,7 +1976,7 @@ static TABLE const TimezoneTable[] = { #endif { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ #if 0 - /* For completeness. NST is also Newfoundland Stanard, and SST is + /* For completeness. NST is also Newfoundland Standard, and SST is * also Swedish Summer. */ { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ diff --git a/plugins/sudoers/getdate.y b/plugins/sudoers/getdate.y index 1e3893c99..f1406112f 100644 --- a/plugins/sudoers/getdate.y +++ b/plugins/sudoers/getdate.y @@ -442,7 +442,7 @@ static TABLE const TimezoneTable[] = { #endif { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ #if 0 - /* For completeness. NST is also Newfoundland Stanard, and SST is + /* For completeness. NST is also Newfoundland Standard, and SST is * also Swedish Summer. */ { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ diff --git a/plugins/sudoers/pivot.c b/plugins/sudoers/pivot.c index b7a01356e..b314779a9 100644 --- a/plugins/sudoers/pivot.c +++ b/plugins/sudoers/pivot.c @@ -68,7 +68,7 @@ unpivot_root(int fds[2]) bool ret = true; debug_decl(unpivot_root, SUDOERS_DEBUG_UTIL); - /* Order is imporant: restore old root, *then* change cwd. */ + /* Order is important: restore old root, *then* change cwd. */ if (fds[OLD_ROOT] != -1) { if (fchdir(fds[OLD_ROOT]) == -1 || chroot(".") == -1) { sudo_warn("%s", U_("unable to restore root directory")); diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index 085c08477..d1eca6cbf 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -922,7 +922,7 @@ run_command(const char *path, char *const *argv) * process. There is a race between the parent's call to * tcsetpgrp() and the child's execve(). If the parent loses * the race, the child will be stopped with SIGTTOU or SIGTTIN - * and be restarted immeditately. + * and be restarted immediately. */ if (setpgid(0, 0) == -1) { sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO,