summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/task_acct.go
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2021-08-05 18:44:10 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-05 18:47:30 -0700
commit15853bdc88523021f89261860eaebab06bb19dbf (patch)
tree46452d61cbd79c96cc10ae3244f84bfc960206dd /pkg/sentry/kernel/task_acct.go
parenta72efae969e6affc406efa9bccaa23b09e99b43c (diff)
Replace unsafe use of fork() in msgqueue tests.
Msgqueue tests were using fork() to run create a separate thread of execution for passing messages back and forth over a queue. However, the child process after a fork() may only use async-signal-safe functions, which at a minimum exclude gtest asserts. Instead, use threads. PiperOrigin-RevId: 389073744
Diffstat (limited to 'pkg/sentry/kernel/task_acct.go')
0 files changed, 0 insertions, 0 deletions