summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-03-30 00:02:19 -0400
committerAdin Scannell <ascannell@google.com>2019-04-02 16:11:35 -0700
commit0fa497a567ba0b387f4b42035a3894dca37018f5 (patch)
treece991472e193ed3a661f9efe5536256202142297
parent009f45da3bc2d6c66e597e56f02aa32f4ffb8d2b (diff)
Update syscall ref doc generator
-rw-r--r--cmd/parse-syscall-annotations/main.go10
-rw-r--r--content/docs/user_guide/compatibility/amd64.md13
2 files changed, 13 insertions, 10 deletions
diff --git a/cmd/parse-syscall-annotations/main.go b/cmd/parse-syscall-annotations/main.go
index 0b7954a6c..3f8a85ae5 100644
--- a/cmd/parse-syscall-annotations/main.go
+++ b/cmd/parse-syscall-annotations/main.go
@@ -59,14 +59,14 @@ var (
r2 *regexp.Regexp
mdTemplate = template.Must(template.New("name").Parse(`+++
-title = "Syscall Reference"
-description = "Syscall Compatibility Reference Documentation"
+title = "AMD64"
+description = "Syscall Compatibility Reference Documentation for AMD64"
weight = 10
+++
-This table is a reference of Linux syscalls and their compatibility status in
-gVisor. gVisor does not support all syscalls and some syscalls may have a
-partial implementation.
+This table is a reference of Linux syscalls for the AMD64 architecture and
+their compatibility status in gVisor. gVisor does not support all syscalls and
+some syscalls may have a partial implementation.
Of {{ .Total }} syscalls, {{ .Implemented }} syscalls have a full or partial
implementation. There are currently {{ .Unimplemented }} unimplemented
diff --git a/content/docs/user_guide/compatibility/amd64.md b/content/docs/user_guide/compatibility/amd64.md
index 8a0bf2385..00bb9095c 100644
--- a/content/docs/user_guide/compatibility/amd64.md
+++ b/content/docs/user_guide/compatibility/amd64.md
@@ -1,13 +1,16 @@
+++
title = "AMD64"
+description = "Syscall Compatibility Reference Documentation for AMD64"
weight = 10
+++
-This table is a reference of Linux syscalls for AMD64 and their compatibility
-status in gVisor. gVisor does not support all syscalls and some syscalls may
-have a partial implementation.
-Of 329 syscalls, 47 syscalls have a full or partial implementation. There are
-currently 51 unimplemented syscalls. 231 syscalls are not yet documented.
+This table is a reference of Linux syscalls for the AMD64 architecture and
+their compatibility status in gVisor. gVisor does not support all syscalls and
+some syscalls may have a partial implementation.
+
+Of 329 syscalls, 47 syscalls have a full or partial
+implementation. There are currently 51 unimplemented
+syscalls. 231 syscalls are not yet documented.
<table>
<thead>