2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Apply Google inclusive language guidelines.

Also replace backwards with backward.
This commit is contained in:
Todd C. Miller
2020-10-30 10:15:30 -06:00
parent 973da9a591
commit e0c2635fb3
52 changed files with 158 additions and 160 deletions

View File

@@ -182,7 +182,7 @@ sudo_getentropy(void *buf, size_t len)
*/
/*
* Basic sanity checking; wish we could do better.
* Basic validity checking; wish we could do better.
*/
static int
gotdata(char *buf, size_t len)
@@ -222,7 +222,7 @@ start:
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
#endif
/* Lightly verify that the device node looks sane */
/* Lightly verify that the device node looks OK */
if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
close(fd);
goto nodevrandom;