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, When the plugin loads,
\fBsudo\fR \fBsudo\fR
will create an instance of this class and call the methods. 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 but most return an
\fIint\fR \fIint\fR
result code, as documented in 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, When the plugin loads,
.Nm sudo .Nm sudo
will create an instance of this class and call the methods. 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 but most return an
.Vt int .Vt int
result code, as documented in 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; * If path doesn't end in /, return true iff cmnd & path name the same inode;
* Tim Fraser * Tim Fraser
echo ".Nd sudo" >> conftest echo ".Nd sudo" >> conftest
* as per FIPS 180-4: Secure Hash Standard (SHS)

View File

@@ -1,16 +1,19 @@
SOM SOM
VAS VAS
alloced alloced
anull
clen
edn edn
fIDN fIDN
fpt
ist ist
nome
numer numer
pleas pleas
sav sav
siz
statics statics
thur thur
toke toke
vas vas
wit wit
siz
clen

View File

@@ -1976,7 +1976,7 @@ static TABLE const TimezoneTable[] = {
#endif #endif
{ "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */
#if 0 #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. */ * also Swedish Summer. */
{ "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */
{ "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */

View File

@@ -442,7 +442,7 @@ static TABLE const TimezoneTable[] = {
#endif #endif
{ "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */
#if 0 #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. */ * also Swedish Summer. */
{ "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */
{ "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */

View File

@@ -68,7 +68,7 @@ unpivot_root(int fds[2])
bool ret = true; bool ret = true;
debug_decl(unpivot_root, SUDOERS_DEBUG_UTIL); 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 (fds[OLD_ROOT] != -1) {
if (fchdir(fds[OLD_ROOT]) == -1 || chroot(".") == -1) { if (fchdir(fds[OLD_ROOT]) == -1 || chroot(".") == -1) {
sudo_warn("%s", U_("unable to restore root directory")); 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 * process. There is a race between the parent's call to
* tcsetpgrp() and the child's execve(). If the parent loses * tcsetpgrp() and the child's execve(). If the parent loses
* the race, the child will be stopped with SIGTTOU or SIGTTIN * the race, the child will be stopped with SIGTTOU or SIGTTIN
* and be restarted immeditately. * and be restarted immediately.
*/ */
if (setpgid(0, 0) == -1) { if (setpgid(0, 0) == -1) {
sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO,