Re: [PATCH] seccomp.2, ptrace.2, move_pages.2: tfix

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

 



On 10/26/18 1:20 AM, Kees Cook wrote:
This fixes three typos of EACCES (one "S" is the correct errno name).

Thanks, Kees. Patch applied.

Cheers,

Michael

Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
---
  man2/move_pages.2 | 2 +-
  man2/ptrace.2     | 2 +-
  man2/seccomp.2    | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man2/move_pages.2 b/man2/move_pages.2
index f2c4f7f7a269..dcdedf28a161 100644
--- a/man2/move_pages.2
+++ b/man2/move_pages.2
@@ -171,7 +171,7 @@ to indicate the error.
  Too many pages to move.
  .TP
  .B EACCES
-.\" FIXME Clarify "current cpuset" in the description of the EACCESS error.
+.\" FIXME Clarify "current cpuset" in the description of the EACCES error.
  .\" Is that the cpuset of the caller or the target?
  One of the target nodes is not allowed by the current cpuset.
  .TP
diff --git a/man2/ptrace.2 b/man2/ptrace.2
index aea63d2d603e..536607f122bf 100644
--- a/man2/ptrace.2
+++ b/man2/ptrace.2
@@ -948,7 +948,7 @@ was NULL, then this return value can be used to correctly size the
  array passed in a subsequent call.
  .IP
  This operation fails with the error
-.B EACCESS
+.B EACCES
  if the caller does not have the
  .B CAP_SYS_ADMIN
  capability or if the caller is in strict or filter seccomp mode.
diff --git a/man2/seccomp.2 b/man2/seccomp.2
index 4d0411cbfe7c..191ad3582d86 100644
--- a/man2/seccomp.2
+++ b/man2/seccomp.2
@@ -690,7 +690,7 @@ is set to indicate the cause of the error.
  .BR seccomp ()
  can fail for the following reasons:
  .TP
-.BR EACCESS
+.BR EACCES
  The caller did not have the
  .BR CAP_SYS_ADMIN
  capability in its user namespace, or had not set




[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