Skip to contentSkip to conversation

bpf-helpers.7, open_how.2type, string_copying.7: tfix

PATCH In review Samanta Navarro 3 participants 3 messages Dec 30, 2022 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bpf-helpers.7, open_how.2type, string_copying.7: tfix

Typos found with codespell.

---
 man2type/open_how.2type | 2 +-
 man7/bpf-helpers.7      | 6 +++---
 man7/string_copying.7   | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
man2type/open_how.2type +1 -1
index 702cfe50b..f42d190a1 100644
@@ -20,7 +20,7 @@ Linux kernel headers
 .B };
 .EE
 .SH DESCRIPTION
-Specifies how a pathname should be open.
+Specifies how a pathname should be opened.
 .PP
 The fields are as follows:
 .TP
man7/bpf-helpers.7 +3 -3
index bb491bf3b..f61792c7e 100644
@@ -3728,7 +3728,7 @@ Nothing has been written
 .sp
 \fB\-EEXIST\fP if the option already exists.
 .sp
-\fB\-EFAULT\fP on failrue to parse the existing header options.
+\fB\-EFAULT\fP on failure to parse the existing header options.
 .sp
 \fB\-EPERM\fP if the helper cannot be used under the current
 \fIskops\fP\fB\->op\fP\&.
@@ -4068,7 +4068,7 @@ Current \fIktime\fP\&.
 .INDENT 7.0
 .TP
 .B Description
-Returns the stored IMA hash of the \fIinode\fP (if it\(aqs avaialable).
+Returns the stored IMA hash of the \fIinode\fP (if it\(aqs available).
 If the hash is larger than \fIsize\fP, then only \fIsize\fP
 bytes will be copied to \fIdst\fP
 .TP
@@ -4104,7 +4104,7 @@ ctx. Providing an \fIlen_diff\fP adjustment that is larger than the
 actual packet size (resulting in negative packet size) will in
 principle not exceed the MTU, why it is not considered a
 failure.  Other BPF\-helpers are needed for performing the
-planned size change, why the responsability for catch a negative
+planned size change, why the responsibility for catch a negative
 packet size belong in those helpers.
 .sp
 Specifying \fIifindex\fP zero means the MTU check is performed
man7/string_copying.7 +1 -1
index 7b386cf67..cb5246e1b 100644
@@ -253,7 +253,7 @@ or
 .PP
 To copy from an unterminated string within a fixed-width buffer
 into a character sequence,
-ingoring any trailing null bytes in the source fixed-width buffer,
+ignoring any trailing null bytes in the source fixed-width buffer,
 you should use
 .BR zustr2ustp (3).
 .\" ----- DESCRIPTION :: Measured character sequences -----------------/
Signature · 1 line
2.39.0
#1 lore raw

* Samanta Navarro <[email protected]>, 2022-12-30 12:03:

Quoted 1 line

man7/bpf-helpers.7 | 6 +++---

This page should not be edited manually, because it was generated from the kernel sources.

AFAICS the misspellings in question have been already fixed there, so it should be a matter of regenerating the page.

Signature · 1 line
Jakub Wilk
#2 lore raw

Hi Jakub,

Quoted 6 lines · Jakub Wilk

* Samanta Navarro <[email protected]>, 2022-12-30 12:03:

Quoted 1 line

man7/bpf-helpers.7      | 6 +++---

This page should not be edited manually, because it was generated from the kernel sources.

AFAICS the misspellings in question have been already fixed there, so it should be a matter of regenerating the page.

Ahh thanks, I forgot!

Cheers,

Alex

Quoted 1 line
Signature · 1 line
<http://www.alejandro-colomar.es/>