summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2019-07-03 20:12:16 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-03 20:13:19 -0700
commitda57fb9d25d947195147868253a928f83980c1fd (patch)
tree2ce7d5d324769e0d52fed919b665e020f5906313
parent9f2f9f0cab7ad9bbdcde23e8c98ea42c38c1e4e8 (diff)
Fix syscall doc for getresgid
PiperOrigin-RevId: 256481284
-rw-r--r--pkg/sentry/syscalls/linux/linux64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/linux64.go b/pkg/sentry/syscalls/linux/linux64.go
index 99af33cfd..7bbbb5008 100644
--- a/pkg/sentry/syscalls/linux/linux64.go
+++ b/pkg/sentry/syscalls/linux/linux64.go
@@ -168,7 +168,7 @@ var AMD64 = &kernel.SyscallTable{
117: syscalls.Supported("setresuid", Setresuid),
118: syscalls.Supported("getresuid", Getresuid),
119: syscalls.Supported("setresgid", Setresgid),
- 120: syscalls.Supported("setresgid", Getresgid),
+ 120: syscalls.Supported("getresgid", Getresgid),
121: syscalls.Supported("getpgid", Getpgid),
122: syscalls.ErrorWithEvent("setfsuid", syscall.ENOSYS, "", []string{"gvisor.dev/issue/260"}), // TODO(b/112851702)
123: syscalls.ErrorWithEvent("setfsgid", syscall.ENOSYS, "", []string{"gvisor.dev/issue/260"}), // TODO(b/112851702)