Re: [PATCH] mlock.2, pivot_root.2, poll.2, select.2, fopen.3, capabilities.7: tfix

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

 



Hi Štěpán,

On 9/21/22 17:46, Štěpán Němec wrote:
Signed-off-by: Štěpán Němec <stepnem@xxxxxxxxx>
---
  man2/mlock.2        | 2 +-
  man2/pivot_root.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/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/pivot_root.2 b/man2/pivot_root.2
index f2df25d127b0..ecb92c103a2c 100644
--- a/man2/pivot_root.2
+++ b/man2/pivot_root.2
@@ -60,7 +60,7 @@ must not be on the same mount as the current root.
  .IP \-
  \fIput_old\fP must be at or underneath \fInew_root\fP;
  that is, adding some nonnegative
-number of "\fI/..\fP" prefixes to the pathname pointed to by
+number of "\fI/..\fP" suffixes to the pathname pointed to by

I'd like this change to be separate from the rest, as it's not an obvious writing typo, but rather one that needs understanding the context.

Would you mind splitting into a separate patch?

Thanks,

Alex

  .I put_old
  must yield the same directory as \fInew_root\fP.
  .IP \-
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

base-commit: bf8f5415a1dd3296d3741008936458aeaf8769fc

--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[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