4 Commits

Author SHA1 Message Date
gVisor bot ae7f28bd9f Merge pull request #3134 from btw616:fix/assignCPU
PiperOrigin-RevId: 586091363
2023-11-28 13:46:51 -08:00
Tiwei Bie 7ae47fe37d Make sure we will always pick a valid CPU
When tid % allowed.NumCPUs() equals 0, e.g. when there is only one
CPU allowed for this thread, we will always pick CPU 0 even if it's
not in the allowed list. This patch fixes this issue.

Fixes #3133

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
2023-11-14 11:42:38 +08:00
Michael Pratt 4d52a55201 Change copyright notice to "The gVisor Authors"
Based on the guidelines at
https://opensource.google.com/docs/releasing/authors/.

1. $ rg -l "Google LLC" | xargs sed -i 's/Google LLC.*/The gVisor Authors./'
2. Manual fixup of "Google Inc" references.
3. Add AUTHORS file. Authors may request to be added to this file.
4. Point netstack AUTHORS to gVisor AUTHORS. Drop CONTRIBUTORS.

Fixes #209

PiperOrigin-RevId: 245823212
Change-Id: I64530b24ad021a7d683137459cafc510f5ee1de9
2019-04-29 14:26:23 -07:00
Brian Geffon d3bc79bc84 Open source system call tests.
PiperOrigin-RevId: 224886231
Change-Id: I0fccb4d994601739d8b16b1d4e6b31f40297fb22
2018-12-10 14:42:34 -08:00