aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2024-01-05 22:54:54 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-05 23:36:44 +0000
commit94c798c2d82a3df4d1e98e0a6855d92a5a4b1450 (patch)
treeb9a4f79eadb7376d6d9980e75cb01c4f3647c669 /modules
parent387940a856bac59fb77d13572b504bf51cb1ed3b (diff)
downloadpam-94c798c2d82a3df4d1e98e0a6855d92a5a4b1450.tar.gz
pam-94c798c2d82a3df4d1e98e0a6855d92a5a4b1450.tar.bz2
pam-94c798c2d82a3df4d1e98e0a6855d92a5a4b1450.zip
treewide: fix typos in comments
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_env/pam_env.c2
-rw-r--r--modules/pam_filter/pam_filter.c4
-rw-r--r--modules/pam_namespace/pam_namespace.c2
-rw-r--r--modules/pam_namespace/pam_namespace.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/pam_env/pam_env.c b/modules/pam_env/pam_env.c
index 9604207a..a214593c 100644
--- a/modules/pam_env/pam_env.c
+++ b/modules/pam_env/pam_env.c
@@ -749,7 +749,7 @@ _check_var(pam_handle_t *pamh, VAR *var)
return retval;
}
- /* Now its easy */
+ /* Now it's easy */
if (var->override && *(var->override)) {
/* if there is a non-empty string in var->override, we use it */
diff --git a/modules/pam_filter/pam_filter.c b/modules/pam_filter/pam_filter.c
index 62b118bb..ed315b13 100644
--- a/modules/pam_filter/pam_filter.c
+++ b/modules/pam_filter/pam_filter.c
@@ -318,7 +318,7 @@ set_filter (pam_handle_t *pamh, int flags UNUSED, int ctrl,
close(t);
}
- /* make this process it's own process leader */
+ /* make this process its own process leader */
if (setsid() == -1) {
pam_syslog(pamh, LOG_ERR,
"child cannot become new session: %m");
@@ -468,7 +468,7 @@ set_filter (pam_handle_t *pamh, int flags UNUSED, int ctrl,
} else if (chid == child2) {
/*
- * if the filter has exited. Let the child die
+ * if the filter has exited, let the child die
* naturally below
*/
if (WIFEXITED(lstatus) || WIFSIGNALED(lstatus))
diff --git a/modules/pam_namespace/pam_namespace.c b/modules/pam_namespace/pam_namespace.c
index 09d19ca0..2528cff8 100644
--- a/modules/pam_namespace/pam_namespace.c
+++ b/modules/pam_namespace/pam_namespace.c
@@ -473,7 +473,7 @@ static int parse_method(char *method, struct polydir_s *poly,
* of the namespace configuration file. It skips over comments and incomplete
* or malformed lines. It processes a valid line with information on
* polyinstantiating a directory by populating appropriate fields of a
- * polyinstatiated directory structure and then calling add_polydir_entry to
+ * polyinstantiated directory structure and then calling add_polydir_entry to
* add that entry to the linked list of polyinstantiated directories.
*/
static int process_line(char *line, const char *home, const char *rhome,
diff --git a/modules/pam_namespace/pam_namespace.h b/modules/pam_namespace/pam_namespace.h
index a991b4c4..fd393d17 100644
--- a/modules/pam_namespace/pam_namespace.h
+++ b/modules/pam_namespace/pam_namespace.h
@@ -114,7 +114,7 @@
#define PAMNS_MOUNT_PRIVATE 0x00080000 /* Make the polydir mounts private */
/* polydir flags */
-#define POLYDIR_EXCLUSIVE 0x00000001 /* polyinstatiate exclusively for override uids */
+#define POLYDIR_EXCLUSIVE 0x00000001 /* polyinstantiate exclusively for override uids */
#define POLYDIR_CREATE 0x00000002 /* create the polydir */
#define POLYDIR_NOINIT 0x00000004 /* no init script */
#define POLYDIR_SHARED 0x00000008 /* share context/level instances among users */