From 9d4976ce7df09c4aa9dcc9c7967e18fa9a768ee0 Mon Sep 17 00:00:00 2001 From: Samanta Navarro Date: Sun, 4 Oct 2020 11:44:34 +0000 Subject: [PATCH] mmap.2, proc.5, bpf-helpers.7, cpuset.7: tfix Signed-off-by: Michael Kerrisk --- man2/mmap.2 | 2 +- man5/proc.5 | 2 +- man7/bpf-helpers.7 | 2 +- man7/cpuset.7 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man2/mmap.2 b/man2/mmap.2 index 545597eb8..9393294c6 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -437,7 +437,7 @@ For other files, creating a mapping with this flag results in an error. .IP Shared file mappings with this flag provide the guarantee that while -some memory is writably mapped in the address space of the process, +some memory is mapped writable in the address space of the process, it will be visible in the same file at the same offset even after the system crashes or is rebooted. In conjunction with the use of appropriate CPU instructions, diff --git a/man5/proc.5 b/man5/proc.5 index 67b9e7a91..ed309380b 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -114,7 +114,7 @@ specific program (so long as the program doesn't otherwise reveal itself by its behavior). .\" As an additional bonus, since .\" .IR /proc/[pid]/cmdline -.\" is unaccessible for other users, +.\" is inaccessible for other users, .\" poorly written programs passing sensitive information via .\" program arguments are now protected against local eavesdroppers. .TP diff --git a/man7/bpf-helpers.7 b/man7/bpf-helpers.7 index a18be23d1..57d218535 100644 --- a/man7/bpf-helpers.7 +++ b/man7/bpf-helpers.7 @@ -2075,7 +2075,7 @@ egress path otherwise). This is the only flag supported for now. .B Description This helper is used in programs implementing policies at the skb socket level. If the sk_buff \fIskb\fP is allowed to pass (i.e. -if the verdeict eBPF program returns \fBSK_PASS\fP), redirect it +if the verdict eBPF program returns \fBSK_PASS\fP), redirect it to the socket referenced by \fImap\fP (of type \fBBPF_MAP_TYPE_SOCKHASH\fP) using hash \fIkey\fP\&. Both ingress and egress interfaces can be used for redirection. The diff --git a/man7/cpuset.7 b/man7/cpuset.7 index cbc6cf76d..1d6c5ea89 100644 --- a/man7/cpuset.7 +++ b/man7/cpuset.7 @@ -317,7 +317,7 @@ Flag (0 or 1). If set (1), the kernel slab caches for file I/O (directory and inode structures) are uniformly spread across the cpuset. -By defaultBy default, is off (0) in the top cpuset, +By default, is off (0) in the top cpuset, and inherited from the parent cpuset in newly created cpusets. See the \fBMemory Spread\fR section, below.