All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] seccomp.2: fix path to syscall_64.tbl
@ 2021-09-02 16:00 Trevor Woerner
  0 siblings, 0 replies; only message in thread
From: Trevor Woerner @ 2021-09-02 16:00 UTC (permalink / raw)
  To: linux-man

The path to the syscall_64.tbl file was missing a directory.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 man2/seccomp.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/seccomp.2 b/man2/seccomp.2
index 4b96b6d8a..3af693916 100644
--- a/man2/seccomp.2
+++ b/man2/seccomp.2
@@ -1059,7 +1059,7 @@ numbers on this architecture:
 $ \fBuname \-m\fP
 x86_64
 $ \fBsyscall_nr() {
-    cat /usr/src/linux/arch/x86/syscalls/syscall_64.tbl | \e
+    cat /usr/src/linux/arch/x86/entry/syscalls/syscall_64.tbl | \e
     awk \(aq$2 != "x32" && $3 == "\(aq$1\(aq" { print $1 }\(aq
 }\fP
 .EE
-- 
2.30.0.rc0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-02 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 16:00 [PATCH] seccomp.2: fix path to syscall_64.tbl Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.