diff options
author | Adrien Leravat <Pixep@users.noreply.github.com> | 2019-07-17 20:25:18 -0700 |
---|---|---|
committer | Adrien Leravat <Pixep@users.noreply.github.com> | 2019-07-17 20:25:18 -0700 |
commit | 2d11fa05f7b705f74c737f5a59fe40414bb6f8d8 (patch) | |
tree | 9e6e7ca0e112f6b5142026c6f4db6b7f957b697e /pkg/sentry | |
parent | 02d1bd67f073dd8e99ce591d1285d1bbc152b424 (diff) |
sys_time: Wrap comments to 80 columns
Diffstat (limited to 'pkg/sentry')
-rw-r--r-- | pkg/sentry/syscalls/linux/sys_time.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_time.go b/pkg/sentry/syscalls/linux/sys_time.go index 0f36e4cd0..4b3f043a2 100644 --- a/pkg/sentry/syscalls/linux/sys_time.go +++ b/pkg/sentry/syscalls/linux/sys_time.go @@ -125,9 +125,11 @@ func getClock(t *kernel.Task, clockID int32) (ktime.Clock, error) { linux.CLOCK_MONOTONIC_RAW, linux.CLOCK_BOOTTIME: // CLOCK_MONOTONIC approximates CLOCK_MONOTONIC_RAW. // CLOCK_BOOTTIME is internally mapped to CLOCK_MONOTONIC, as: - // - CLOCK_BOOTTIME should behave as CLOCK_MONOTONIC while also including suspend time. + // - CLOCK_BOOTTIME should behave as CLOCK_MONOTONIC while also + // including suspend time. // - gVisor has no concept of suspend/resume. - // - CLOCK_MONOTONIC already includes save/restore time, which is the closest to suspend time. + // - CLOCK_MONOTONIC already includes save/restore time, which is + // the closest to suspend time. return t.Kernel().MonotonicClock(), nil case linux.CLOCK_PROCESS_CPUTIME_ID: return t.ThreadGroup().CPUClock(), nil |