From e44aa440d9c955ded46f242fd42e2ee959771e13 Mon Sep 17 00:00:00 2001 From: Patrick Stoeckle Date: Wed, 27 May 2026 09:24:23 +0200 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: Patrick Stoeckle --- libcontainer/configs/config.go | 2 +- libcontainer/internal/userns/userns_maps_linux.c | 2 +- man/runc-checkpoint.8.md | 2 +- man/runc-ps.8.md | 2 +- man/runc-restore.8.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libcontainer/configs/config.go b/libcontainer/configs/config.go index b8f2321c2..7caa4e824 100644 --- a/libcontainer/configs/config.go +++ b/libcontainer/configs/config.go @@ -109,7 +109,7 @@ type Config struct { Umask *uint32 `json:"umask,omitempty"` // Readonlyfs will remount the container's rootfs as readonly where only externally mounted - // bind mounts are writtable. + // bind mounts are writable. Readonlyfs bool `json:"readonlyfs,omitempty"` // Specifies the mount propagation flags to be applied to /. diff --git a/libcontainer/internal/userns/userns_maps_linux.c b/libcontainer/internal/userns/userns_maps_linux.c index fdb20aeca..cb951cb65 100644 --- a/libcontainer/internal/userns/userns_maps_linux.c +++ b/libcontainer/internal/userns/userns_maps_linux.c @@ -9,7 +9,7 @@ #include /* - * All of the code here is run inside an aync-signal-safe context, so we need + * All of the code here is run inside an async-signal-safe context, so we need * to be careful to not call any functions that could cause issues. In theory, * since we are a Go program, there are fewer restrictions in practice, it's * better to be safe than sorry. diff --git a/man/runc-checkpoint.8.md b/man/runc-checkpoint.8.md index 78da7578f..4d3322eb1 100644 --- a/man/runc-checkpoint.8.md +++ b/man/runc-checkpoint.8.md @@ -26,7 +26,7 @@ image files directory. **--tcp-established** : Allow checkpoint/restore of established TCP connections. See -[criu --tcp-establised option](https://criu.org/CLI/opt/--tcp-established). +[criu --tcp-established option](https://criu.org/CLI/opt/--tcp-established). **--tcp-skip-in-flight** : Skip in-flight TCP connections. See diff --git a/man/runc-ps.8.md b/man/runc-ps.8.md index 9f6cf9632..d30f1f724 100644 --- a/man/runc-ps.8.md +++ b/man/runc-ps.8.md @@ -19,7 +19,7 @@ column, the result is undefined. # OPTIONS **--format**|**-f** **table**|**json** : Output format. Default is **table**. The **json** format shows a mere array -of PIDs belonging to a container; if used, all **ps** options are gnored. +of PIDs belonging to a container; if used, all **ps** options are ignored. # SEE ALSO **runc-list**(8), diff --git a/man/runc-restore.8.md b/man/runc-restore.8.md index eab50db97..4526fc6f3 100644 --- a/man/runc-restore.8.md +++ b/man/runc-restore.8.md @@ -24,7 +24,7 @@ image files directory. **--tcp-established** : Allow checkpoint/restore of established TCP connections. See -[criu --tcp-establised option](https://criu.org/CLI/opt/--tcp-established). +[criu --tcp-established option](https://criu.org/CLI/opt/--tcp-established). **--ext-unix-sk** : Allow checkpoint/restore of external unix sockets. See