From 7b10f505cfae99d31cd6671ffcd1a325767d2d61 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Thu, 25 Oct 2018 16:20:33 -0700 Subject: [PATCH] seccomp.2, ptrace.2, move_pages.2: tfix This fixes three typos of EACCES (one "S" is the correct errno name). Signed-off-by: Kees Cook Signed-off-by: Michael Kerrisk --- 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 f2c4f7f7a..dcdedf28a 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 aea63d2d6..536607f12 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 4d0411cbf..191ad3582 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