summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-10-17 13:05:14 -0700
committerShentubot <shentubot@google.com>2018-10-17 13:06:16 -0700
commit8fa6f6fe769ede042b651e5b82bd93721e3aa339 (patch)
treeb8063b864787f0cb95ad8196f845839cb75f5ccd
parent4e6f0892c96c374b1abcf5c39b75ba52d98c97f8 (diff)
Reflow comment to 80 columns
PiperOrigin-RevId: 217573168 Change-Id: Ic1914d0ef71bab020e3ee11cf9c4a50a702bd8dd
-rw-r--r--pkg/sentry/strace/strace.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/sentry/strace/strace.go b/pkg/sentry/strace/strace.go
index a16f5490e..f7bfa3a1f 100644
--- a/pkg/sentry/strace/strace.go
+++ b/pkg/sentry/strace/strace.go
@@ -568,8 +568,10 @@ func (s SyscallMap) SyscallExit(context interface{}, t *kernel.Task, sysno, rval
}
}
-// ConvertToSysnoMap converts the names to a map keyed on the syscall number and value set to true.
-// The map is in a convenient format to call SyscallFlagsTable.Enable().
+// ConvertToSysnoMap converts the names to a map keyed on the syscall number
+// and value set to true.
+//
+// The map is in a convenient format to pass to SyscallFlagsTable.Enable().
func (s SyscallMap) ConvertToSysnoMap(syscalls []string) (map[uintptr]bool, error) {
if syscalls == nil {
// Sentinel: no list.