mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Reflow comment to 80 columns
PiperOrigin-RevId: 217573168 Change-Id: Ic1914d0ef71bab020e3ee11cf9c4a50a702bd8dd
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user