Skip to content

Commit

Permalink
Merge pull request #4055 from lifubang/fix-Typos
Browse files Browse the repository at this point in the history
[1.1 backport] fix typos
  • Loading branch information
AkihiroSuda authored Oct 4, 2023
2 parents 3854703 + b365458 commit ad9c301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libcontainer/nsenter/cloned_binary.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static int is_self_cloned(void)
* Is the binary a fully-sealed memfd? We don't need CLONED_BINARY_ENV for
* this, because you cannot write to a sealed memfd no matter what (so
* sharing it isn't a bad thing -- and an admin could bind-mount a sealed
* memfd to /usr/bin/runc to allow re-use).
* memfd to /usr/bin/runc to allow reuse).
*/
ret = fcntl(fd, F_GET_SEALS);
if (ret >= 0) {
Expand Down
2 changes: 1 addition & 1 deletion libcontainer/seccomp/patchbpf/enosys_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ import "C"
var retErrnoEnosys = uint32(C.C_ACT_ERRNO_ENOSYS)

// This syscall is used for multiplexing "large" syscalls on s390(x). Unknown
// syscalls will end up with this syscall number, so we need to explcitly
// syscalls will end up with this syscall number, so we need to explicitly
// return -ENOSYS for this syscall on those architectures.
const s390xMultiplexSyscall libseccomp.ScmpSyscall = 0

Expand Down
2 changes: 1 addition & 1 deletion man/runc-update.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ In case **-r** is used, the JSON format is like this:

# OPTIONS
**--resources**|**-r** _resources.json_
: Read the new resource limtis from _resources.json_. Use **-** to read from
: Read the new resource limits from _resources.json_. Use **-** to read from
stdin. If this option is used, all other options are ignored.

**--blkio-weight** _weight_
Expand Down

0 comments on commit ad9c301

Please sign in to comment.