[PATCH v1 1/2] memfd_create.2, mlock.2, poll.2, select.2, fopen.3, capabilities.7: tfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Štěpán Němec <stepnem@xxxxxxxx>
---
v1: squashed in a missing article in memfd_create(2)

 man2/memfd_create.2 | 2 +-
 man2/mlock.2        | 2 +-
 man2/poll.2         | 2 +-
 man2/select.2       | 2 +-
 man3/fopen.3        | 2 +-
 man7/capabilities.7 | 4 ++--
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/man2/memfd_create.2 b/man2/memfd_create.2
index 2668a79d8acd..d672a20515ae 100644
--- a/man2/memfd_create.2
+++ b/man2/memfd_create.2
@@ -360,7 +360,7 @@ of which the first two are required.
 The first argument is the name to associate with the file,
 the second argument is the size to be set for the file,
 and the optional third argument is a string of characters that specify
-seals to be set on file.
+seals to be set on the file.
 .PP
 The second program,
 .IR t_get_seals.c ,
diff --git a/man2/mlock.2 b/man2/mlock.2
index fc138f6fdf44..da1ff69769d3 100644
--- a/man2/mlock.2
+++ b/man2/mlock.2
@@ -36,7 +36,7 @@ and
 perform the converse operation,
 unlocking part or all of the calling process's virtual
 address space, so that pages in the specified virtual address range may
-once more to be swapped out if required by the kernel memory manager.
+once more be swapped out if required by the kernel memory manager.
 .PP
 Memory locking and unlocking are performed in units of whole pages.
 .SS mlock(), mlock2(), and munlock()
diff --git a/man2/poll.2 b/man2/poll.2
index 8d2b08d63c6c..459cb383a702 100644
--- a/man2/poll.2
+++ b/man2/poll.2
@@ -577,7 +577,7 @@ main(int argc, char *argv[])
     if (pfds == NULL)
         errExit("malloc");
 
-    /* Open each file on command line, and add it \(aqpfds\(aq array. */
+    /* Open each file on command line, and add it to \(aqpfds\(aq array. */
 
     for (nfds_t j = 0; j < nfds; j++) {
         pfds[j].fd = open(argv[j + 1], O_RDONLY);
diff --git a/man2/select.2 b/man2/select.2
index 0fc075d48897..413baf3d6fef 100644
--- a/man2/select.2
+++ b/man2/select.2
@@ -547,7 +547,7 @@ On some UNIX systems,
 .BR select ()
 unblocks and returns, with an indication that the file descriptor is ready
 (a subsequent I/O operation will likely fail with an error,
-unless another process reopens file descriptor between the time
+unless another process reopens the file descriptor between the time
 .BR select ()
 returned and the I/O operation is performed).
 On Linux (and some other systems),
diff --git a/man3/fopen.3 b/man3/fopen.3
index d2fb6abeacf4..a2d3b5ab4ecc 100644
--- a/man3/fopen.3
+++ b/man3/fopen.3
@@ -123,7 +123,7 @@ called for its synchronizing side effect).
 Opening a file in append mode (\fBa\fP as the first character of
 .IR mode )
 causes all subsequent write operations to this stream to occur
-at end-of-file, as if preceded the call:
+at end-of-file, as if preceded by the call:
 .PP
 .in +4n
 .EX
diff --git a/man7/capabilities.7 b/man7/capabilities.7
index ef56c63f9a34..c991b17b5666 100644
--- a/man7/capabilities.7
+++ b/man7/capabilities.7
@@ -1040,7 +1040,7 @@ Therefore, when assigning capabilities to a file
 if we specify the effective flag as being enabled for any capability,
 then the effective flag must also be specified as enabled
 for all other capabilities for which the corresponding permitted or
-inheritable flags is enabled.
+inheritable flag is enabled.
 .\"
 .SS File capability extended attribute versioning
 To allow extensibility,
@@ -1271,7 +1271,7 @@ file permitted capabilities, then
 fails with the error
 .BR EPERM .
 This prevents possible security risks that could arise when
-a capability-dumb application is executed with less privilege that it needs.
+a capability-dumb application is executed with less privilege than it needs.
 Note that, by definition,
 the application could not itself recognize this problem,
 since it does not employ the
-- 
2.38.0




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux