summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-11-13 14:46:03 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-13 14:47:47 -0800
commita1cb52447f3e9414211b9e0558f1231ae3e59329 (patch)
treeb1618b3e2507f0ec6d2461c1a0ba92d140d4e0a4 /pkg/safecopy/BUILD
parent89517eca414a311598aa6e64a229c7acc5e3a22f (diff)
Check for misuse of kernel.Task as context.Context.
Checks in Task.block() and Task.Value() are conditional on race detection being enabled, since these functions are relatively hot. Checks in Task.SleepStart() and Task.UninterruptibleSleepStart() are enabled unconditionally, since these functions are not thought to lie on any critical paths, and misuse of these functions is required for b/168241471 to manifest. PiperOrigin-RevId: 342342175
Diffstat (limited to 'pkg/safecopy/BUILD')
0 files changed, 0 insertions, 0 deletions