Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.1 backport] fix typos #4055

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading