diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-12 20:10:24 +0000 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-10-14 14:40:10 +0200 |
commit | 366564eaa0448326f0eaa343ccbb278f2f45979e (patch) | |
tree | 7821968dfe8d0b29ae78e1ebfb2d1b12d24c1ad2 | |
parent | d69d21b03634b8bfa3d4eb1ec0264205cc8072bf (diff) | |
download | bubblewrap-366564eaa0448326f0eaa343ccbb278f2f45979e.tar.gz |
Fix spelling
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
-rw-r--r-- | bubblewrap.c | 2 | ||||
-rwxr-xr-x | tests/test-run.sh | 2 | ||||
-rw-r--r-- | utils.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bubblewrap.c b/bubblewrap.c index dca9475..dbec07f 100644 --- a/bubblewrap.c +++ b/bubblewrap.c @@ -2539,7 +2539,7 @@ main (int argc, * because (as described in acquire_privs()) setuid bwrap causes * root to own the namespaces that it creates, so you will not be * able to access these namespaces anyway. So, best just not support - * it anway. + * it anyway. */ if (opt_userns_fd != -1 && is_privileged) die ("--userns doesn't work in setuid mode"); diff --git a/tests/test-run.sh b/tests/test-run.sh index c41e632..f25a9bc 100755 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -108,7 +108,7 @@ if test -n "${bwrap_is_suid:-}"; then else BWRAP_RECURSE="$BWRAP --unshare-user --uid 0 --gid 0 --cap-add ALL --bind / / --bind /proc /proc" - # $BWRAP May be inaccessable due to the user namespace so use /proc/self/exe + # $BWRAP May be inaccessible due to the user namespace so use /proc/self/exe $BWRAP_RECURSE -- /proc/self/exe --unshare-all --bind / / --bind /proc /proc echo hello > recursive_proc.txt assert_file_has_content recursive_proc.txt "hello" echo "ok - can mount /proc recursively" @@ -779,7 +779,7 @@ read_pid_from_socket (int socket) msg.msg_controllen = control_len_rcv; if (recvmsg (socket, &msg, 0) < 0) - die_with_error ("Cant read pid from socket"); + die_with_error ("Can't read pid from socket"); if (msg.msg_controllen <= 0) die ("Unexpected short read from pid socket"); |