Fix typos and update excluded/ignored codespell lists.

This commit is contained in:
Todd C. Miller
2023-05-25 12:53:27 -06:00
parent 0986a8846e
commit d633d82f22
8 changed files with 12 additions and 8 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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"));

View File

@@ -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,