diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-12-05 23:20:46 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-12-18 09:10:08 +0000 |
commit | 04134cc04a6c36acd52aa92c955ae0eba72fd038 (patch) | |
tree | 68a6afe72ba3127b06aa97ce605fad5289bb7278 | |
parent | f186c320aaca53b9c9e724fbe1bc0c8b7b4f7ff8 (diff) | |
download | pam-04134cc04a6c36acd52aa92c955ae0eba72fd038.tar.gz pam-04134cc04a6c36acd52aa92c955ae0eba72fd038.tar.bz2 pam-04134cc04a6c36acd52aa92c955ae0eba72fd038.zip |
treewide: fix typos
Typos found with codespell
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
-rw-r--r-- | libpamc/pamc_load.c | 2 | ||||
-rwxr-xr-x | libpamc/test/agents/secret@here | 2 | ||||
-rw-r--r-- | libpamc/test/modules/pam_secret.c | 2 | ||||
-rw-r--r-- | modules/pam_access/pam_access.c | 2 | ||||
-rw-r--r-- | modules/pam_limits/pam_limits.c | 2 | ||||
-rw-r--r-- | modules/pam_namespace/pam_namespace.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/libpamc/pamc_load.c b/libpamc/pamc_load.c index c1a39f5b..cbf4b994 100644 --- a/libpamc/pamc_load.c +++ b/libpamc/pamc_load.c @@ -247,7 +247,7 @@ int pamc_load(pamc_handle_t pch, const char *agent_id) pamc_agent_t *agent; size_t length; - /* santity checking */ + /* sanity checking */ if (pch == NULL) { D(("pch is NULL")); diff --git a/libpamc/test/agents/secret@here b/libpamc/test/agents/secret@here index 8d82c013..2bef6474 100755 --- a/libpamc/test/agents/secret@here +++ b/libpamc/test/agents/secret@here @@ -83,7 +83,7 @@ sub HandleAgentSelection ($) { return (0x04, ""); } - # the selection request is acompanied with a hexadecimal cookie + # the selection request is accompanied with a hexadecimal cookie my @tokens = split '\|', $payload; unless ((scalar @tokens) == 2) { diff --git a/libpamc/test/modules/pam_secret.c b/libpamc/test/modules/pam_secret.c index c4b32ae9..2fe7066c 100644 --- a/libpamc/test/modules/pam_secret.c +++ b/libpamc/test/modules/pam_secret.c @@ -378,7 +378,7 @@ static int auth_sequence(pam_handle_t *pamh, /* expect to receive the following {<seqid>|<a_cookie>} */ if (new->current_reply == NULL) { - D(("converstation returned [%s] but gave no reply", + D(("conversation returned [%s] but gave no reply", pam_strerror(pamh, retval))); new->state = PS_STATE_DEAD; return PAM_CONV_ERR; diff --git a/modules/pam_access/pam_access.c b/modules/pam_access/pam_access.c index a8efdf30..85775114 100644 --- a/modules/pam_access/pam_access.c +++ b/modules/pam_access/pam_access.c @@ -158,7 +158,7 @@ parse_args(pam_handle_t *pamh, struct login_info *loginfo, return 1; /* OK */ } -/* --- evaluting all files in VENDORDIR/security/access.d and /etc/security/access.d --- */ +/* --- evaluating all files in VENDORDIR/security/access.d and /etc/security/access.d --- */ static const char *base_name(const char *path) { const char *base = strrchr(path, '/'); diff --git a/modules/pam_limits/pam_limits.c b/modules/pam_limits/pam_limits.c index d9ce6cbe..fc541330 100644 --- a/modules/pam_limits/pam_limits.c +++ b/modules/pam_limits/pam_limits.c @@ -1122,7 +1122,7 @@ static int setup_limits(pam_handle_t *pamh, return retval; } -/* --- evaluting all files in VENDORDIR/security/limits.d and /etc/security/limits.d --- */ +/* --- evaluating all files in VENDORDIR/security/limits.d and /etc/security/limits.d --- */ static const char * base_name(const char *path) { diff --git a/modules/pam_namespace/pam_namespace.c b/modules/pam_namespace/pam_namespace.c index 36c8261b..6937b6ac 100644 --- a/modules/pam_namespace/pam_namespace.c +++ b/modules/pam_namespace/pam_namespace.c @@ -39,7 +39,7 @@ #include "pam_namespace.h" #include "argv_parse.h" -/* --- evaluting all files in VENDORDIR/security/namespace.d and /etc/security/namespace.d --- */ +/* --- evaluating all files in VENDORDIR/security/namespace.d and /etc/security/namespace.d --- */ static const char *base_name(const char *path) { const char *base = strrchr(path, '/'); |